#E166CA#E166CA
#E166CA is a light, vivid pink. Relative luminance 0.298; OKLCH L 69.3% C 0.192 H 335.2°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #E166CA |
|---|---|
| RGB | rgb(225, 102, 202) |
| HSL | hsl(311, 67%, 64%) |
| HSV | hsv(311, 55%, 88%) |
| CMYK | cmyk(0%, 54.7%, 10.2%, 11.8%) |
| CIE-LAB | lab(61.46, 59.99, -29.65) |
| CIE-LCH | lch(61.46, 66.92, 333.70°) |
| OKLab | oklab(69.25% 0.174 -0.0804) |
| OKLCH | oklch(69.25% 0.192 335.2) |
| XYZ | xyz(46.4636, 29.7779, 59.1662) |
| Luminance | 0.2978 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Orchid
#DA70D6
ΔE00 3.09
Purpleish Pink
#DF4EC8
ΔE00 4.41
Orchid (survey)
#C875C4
ΔE00 4.87
Purply Pink
#F075E6
ΔE00 5.36
Pale Magenta
#D767AD
ΔE00 5.48
Purplish Pink
#CE5DAE
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E166CA #66E17D
analogous
#BB66E1 #E166CA #E1668D
triadic
#E166CA #CAE166 #66CAE1
tetradic
#E166CA #E1BB66 #66E17D #668DE1
square
#E166CA #E1BB66 #66E17D #668DE1
split-complementary
#E166CA #8DE166 #66E1BB
monochromatic
#AB2291 #D733B8 #E166CA #EB99DC #F5CCED
Accessibility & contrast
On white
3.02
#E166CA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.96
#E166CA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #E166CA
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E166CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E166CA | 1.00 | 3.02 | 6.96 | 6.96 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6689CD
Deuteranopia (green-blind)
#8B9BC7
Tritanopia (blue-blind)
#EB6D8F
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #e166ca; /* rgb */ color: rgb(225, 102, 202); /* oklch */ color: oklch(69.3% 0.192 335.2);
Tailwind
colors: {
custom: {
50: '#ed97da',
500: '#e166ca',
950: '#000000',
},
}SCSS
$custom: #e166ca; $custom-light: #ed97da; $custom-dark: #000000;
JSON
{
"hex": "#e166ca",
"rgb": {
"r": 225,
"g": 102,
"b": 202
},
"hsl": {
"h": 311.22,
"s": 67.213,
"l": 64.118
},
"oklch": {
"l": 0.69251,
"c": 0.19168,
"h": 335.2
},
"luminance": 0.29775
}Semantic roles & 50–950 ramp
primary
#E166CA
secondary
#BCE7C4
accent
#CF3916
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#170E15
muted
#857E83