Pink color (#FFC0CB)
#FFC0CB (Pink) is a very light red colour. It is rgb(255, 192, 203) in RGB and hsl(350, 100%, 88%) in HSL. Text in black reads better on it: the contrast is 13.65:1 against black and 1.54:1 against white.
How to work it out
- 1
A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).
\mathrm{#FFC0CB}:\quad R=\mathrm{FF}_{16}=255,\ G=\mathrm{C0}_{16}=192,\ B=\mathrm{CB}_{16}=203 - 2
HSL describes the same colour as a hue angle on the colour wheel (0° red, 120° green, 240° blue), a saturation and a lightness.
- 3
The complementary colour sits opposite on the wheel: add 180° to the hue.
350^\circ + 180^\circ = 170^\circ ;\Rightarrow; \mathrm{#C0FFF4} - 4
Contrast is the ratio of the lighter to the darker relative luminance, each plus 0.05. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text (AA).
LaTeX source of the formulas on this page
\[ \mathrm{#FFC0CB} = \mathrm{rgb}(255, 192, 203) \]
\[ \mathrm{#FFC0CB}:\quad R=\mathrm{FF}_{16}=255,\ G=\mathrm{C0}_{16}=192,\ B=\mathrm{CB}_{16}=203 \]
\[ H=350^\circ,\quad S=100\%,\quad L=88\% \]
\[ 350^\circ + 180^\circ = 170^\circ ;\Rightarrow; \mathrm{#C0FFF4} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 1.54:1\ \text{(on white)} \]Pink in every colour format
| Format | Value |
|---|---|
| HEX | #FFC0CB |
| RGB | rgb(255, 192, 203) |
| RGB (percent) | rgb(100.0%, 75.3%, 79.6%) |
| HSL | hsl(350, 100%, 88%) |
| HSV / HSB | hsv(350, 25%, 100%) |
| CMYK | cmyk(0%, 25%, 20%, 0%) |
| Decimal | 16761035 |
| Description | very light red |
| CSS name | pink |
Text contrast (WCAG)
| Background of this colour with… | Contrast | AA normal (4.5) | AA large (3) | AAA normal (7) | AAA large (4.5) |
|---|---|---|---|---|---|
| White text | 1.54:1 | fail | fail | fail | fail |
| Black text | 13.65:1 | pass | pass | pass | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #2A2022 #554044 #806066 #AA8087 #D5A0A9 |
| This colour | #FFC0CB |
| Tints (mixed with white) | #FFCBD4 #FFD5DC #FFE0E5 #FFEAEE #FFF5F6 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #C9CACB | 25 |
| Deuteranopia | #D8D5CA | 25 |
| Tritanopia | #FFBCC4 | 3 |
| Grayscale | #D0D0D0 | - |
Nearest named colours
| Name | Hex |
|---|---|
| Light pink | #FFB6C1 |
| Thistle | #D8BFD8 |
| Misty rose | #FFE4E1 |
| Rosy brown | #BC8F8F |
Questions
What is the RGB value of #FFC0CB?
rgb(255, 192, 203): red 255, green 192, blue 203.
What is the HSL value of #FFC0CB?
hsl(350, 100%, 88%): a hue of 350°, 100% saturation and 88% lightness.
What is the complementary colour of #FFC0CB?
#C0FFF4, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #003F34.
Should I use white or black text on #FFC0CB?
Black. White gives 1.54:1 and black 13.65:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #FFC0CB?
cmyk(0%, 25%, 20%, 0%). This is a simple formula conversion; printed colours depend on the printer profile.
Is #FFC0CB a named colour?
Yes: it is the CSS colour name "pink".