Pink
Pink is a very light, vivid color from the pink family. Hex code #FFC0CB.
Color codes
- CSS name
pink - HEX
#FFC0CB - RGB
rgb(255 192 203) - HSL
hsl(350 100% 88%) - HSB / HSV
hsb(350, 25%, 100%) - OKLCH
oklch(86.8% 0.074 7.1) - CMYK
cmyk(0%, 25%, 20%, 0%)
White text
1.53:1 · fails WCAG
Black text
13.65:1 · passes WCAG AAA
Shades
Complementary
Analogous
Triadic
About this color
Pink in CSS and design
Pink is a very light, vivid color from the pink family. Pink is one of the extended color keywords, which CSS adopted from the X11 color names used on Unix workstations.
Use it in CSS by name or by any of its codes; these all give the same color:
color: pink;
color: #FFC0CB;
color: rgb(255 192 203);
color: hsl(350 100% 88%);For text on pink, black reads best. Check other combinations with the contrast checker, or browse all CSS color names.
More tools
Work with this color
- Color picker and converterPick a color and get HEX, RGB, HSL, HSB, CMYK and OKLCH, plus shades and harmonies.
- Contrast checkerCheck text and background colors against WCAG AA and AAA, and fix failing ones.
- CSS color namesAll 148 named colors with hex codes, shades, contrast and matching palettes.
- Palette generatorBuild a color palette from harmony rules, with shades and CSS variables.
Frequently asked questions
What is the hex code for pink?
#FFC0CB. In CSS you can also use the keyword pink, which works in every browser.
What is pink in RGB and HSL?
In RGB it is rgb(255 192 203), in HSL hsl(350 100% 88%). For print, cmyk(0%, 25%, 20%, 0%) is a starting point, but CMYK depends on paper and ink, so check with your printer.
Should I use black or white text on pink?
Black text works better: it has a contrast ratio of 13.65:1 and passes WCAG AAA. White text reaches 1.53:1.
Which colors go with pink?
Its complementary color is #9BE4DC, on the opposite side of the color wheel. For a calmer look, combine it with its analogous neighbors #F4C2E5 and #FBC5B5. The palette generator builds more combinations.