#EE0066 color
#EE0066 is a vivid pink colour. It is rgb(238, 0, 102) in RGB and hsl(334, 100%, 47%) in HSL. Text in black reads better on it: the contrast is 4.83:1 against black and 4.35: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{#EE0066}:\quad R=\mathrm{EE}_{16}=238,\ G=\mathrm{00}_{16}=0,\ B=\mathrm{66}_{16}=102 - 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.
334^\circ + 180^\circ = 154^\circ ;\Rightarrow; \mathrm{#00EE88} - 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{#EE0066} = \mathrm{rgb}(238, 0, 102) \]
\[ \mathrm{#EE0066}:\quad R=\mathrm{EE}_{16}=238,\ G=\mathrm{00}_{16}=0,\ B=\mathrm{66}_{16}=102 \]
\[ H=334^\circ,\quad S=100\%,\quad L=47\% \]
\[ 334^\circ + 180^\circ = 154^\circ ;\Rightarrow; \mathrm{#00EE88} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 4.35:1\ \text{(on white)} \]#EE0066 in every colour format
| Format | Value |
|---|---|
| HEX | #EE0066 |
| RGB | rgb(238, 0, 102) |
| RGB (percent) | rgb(93.3%, 0.0%, 40.0%) |
| HSL | hsl(334, 100%, 47%) |
| HSV / HSB | hsv(334, 100%, 93%) |
| CMYK | cmyk(0%, 100%, 57%, 7%) |
| Decimal | 15597670 |
| Description | vivid 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 | 4.35:1 | fail | pass | fail | fail |
| Black text | 4.83:1 | pass | pass | fail | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #280011 #4F0022 #770033 #9F0044 #C60055 |
| This colour | #EE0066 |
| Tints (mixed with white) | #F12B80 #F45599 #F780B3 #F9AACC #FCD5E6 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #5A5E67 | 81 |
| Deuteranopia | #918861 | 83 |
| Tritanopia | #FF003B | 30 |
| Grayscale | #797979 | - |
Nearest named colours
| Name | Hex |
|---|---|
| Deep pink | #FF1493 |
| Crimson | #DC143C |
| Medium violet red | #C71585 |
| Hot pink | #FF69B4 |
Questions
What is the RGB value of #EE0066?
rgb(238, 0, 102): red 238, green 0, blue 102.
What is the HSL value of #EE0066?
hsl(334, 100%, 47%): a hue of 334°, 100% saturation and 47% lightness.
What is the complementary colour of #EE0066?
#00EE88, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #11FF99.
Should I use white or black text on #EE0066?
Black. White gives 4.35:1 and black 4.83:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #EE0066?
cmyk(0%, 100%, 57%, 7%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #EE0066?
Deep pink (#FF1493).