#EC5CD6#EC5CD6
#EC5CD6 is a light, highly saturated purple. Relative luminance 0.303; OKLCH L 70.1% C 0.222 H 334.2°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #EC5CD6 |
|---|---|
| RGB | rgb(236, 92, 214) |
| HSL | hsl(309, 79%, 64%) |
| HSV | hsv(309, 61%, 93%) |
| CMYK | cmyk(0%, 61%, 9.3%, 7.5%) |
| CIE-LAB | lab(61.95, 69.12, -35.54) |
| CIE-LCH | lch(61.95, 77.72, 332.79°) |
| OKLab | oklab(70.09% 0.2001 -0.0969) |
| OKLCH | oklch(70.09% 0.222 334.2) |
| XYZ | xyz(50.5571, 30.3461, 66.7999) |
| Luminance | 0.3034 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.92
Candy Pink
#FF63E9
ΔE00 4.04
Purpleish Pink
#DF4EC8
ΔE00 4.05
Purply Pink
#F075E6
ΔE00 4.89
Light Magenta
#FA5FF7
ΔE00 4.96
Violet Pink
#FB5FFC
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC5CD6 #5CEC72
analogous
#BA5CEC #EC5CD6 #EC5C8E
triadic
#EC5CD6 #D6EC5C #5CD6EC
tetradic
#EC5CD6 #ECBA5C #5CEC72 #5C8EEC
square
#EC5CD6 #ECBA5C #5CEC72 #5C8EEC
split-complementary
#EC5CD6 #8EEC5C #5CECBA
monochromatic
#B8159F #E625C8 #EC5CD6 #F293E4 #F9CAF2
Accessibility & contrast
On white
2.97
#EC5CD6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.07
#EC5CD6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC5CD6
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC5CD6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC5CD6 | 1.00 | 2.97 | 7.07 | 7.07 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A88DA
Deuteranopia (green-blind)
#889DD2
Tritanopia (blue-blind)
#F66691
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #ec5cd6; /* rgb */ color: rgb(236, 92, 214); /* oklch */ color: oklch(70.1% 0.222 334.2);
Tailwind
colors: {
custom: {
50: '#f592e3',
500: '#ec5cd6',
950: '#000000',
},
}SCSS
$custom: #ec5cd6; $custom-light: #f592e3; $custom-dark: #000000;
JSON
{
"hex": "#ec5cd6",
"rgb": {
"r": 236,
"g": 92,
"b": 214
},
"hsl": {
"h": 309.167,
"s": 79.121,
"l": 64.314
},
"oklch": {
"l": 0.70092,
"c": 0.22229,
"h": 334.2
},
"luminance": 0.30342
}Semantic roles & 50–950 ramp
primary
#EC5CD6
secondary
#B9EBC1
accent
#DB2A0A
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180E15
muted
#867E83