#EC5CAF#EC5CAF
#EC5CAF is a light, vivid pink. Relative luminance 0.286; OKLCH L 68.5% C 0.197 H 347.9°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #EC5CAF |
|---|---|
| RGB | rgb(236, 92, 175) |
| HSL | hsl(325, 79%, 64%) |
| HSV | hsv(325, 61%, 93%) |
| CMYK | cmyk(0%, 61%, 25.8%, 7.5%) |
| CIE-LAB | lab(60.42, 63.64, -15.70) |
| CIE-LCH | lch(60.42, 65.55, 346.14°) |
| OKLab | oklab(68.46% 0.1925 -0.0413) |
| OKLCH | oklch(68.46% 0.197 347.9) |
| XYZ | xyz(46.1589, 28.5868, 43.6360) |
| Luminance | 0.2858 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 3.60
Barbie Pink
#FE46A5
ΔE00 3.94
Hot Pink
#FF69B4
ΔE00 4.77
Bubblegum (survey)
#FF6CB5
ΔE00 5.17
Bubble Gum Pink
#FF69AF
ΔE00 5.22
Purplish Pink
#CE5DAE
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC5CAF #5CEC99
analogous
#E15CEC #EC5CAF #EC5C67
triadic
#EC5CAF #AFEC5C #5CAFEC
tetradic
#EC5CAF #ECE15C #5CEC99 #5C67EC
square
#EC5CAF #ECE15C #5CEC99 #5C67EC
split-complementary
#EC5CAF #67EC5C #5CECE1
monochromatic
#B81573 #E62594 #EC5CAF #F293CA #F9CAE5
Accessibility & contrast
On white
3.13
#EC5CAF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.72
#EC5CAF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #EC5CAF
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC5CAF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC5CAF | 1.00 | 3.13 | 6.72 | 6.72 |
| #FFFFFF | 3.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D82B2
Deuteranopia (green-blind)
#959BAC
Tritanopia (blue-blind)
#FB587E
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #ec5caf; /* rgb */ color: rgb(236, 92, 175); /* oklch */ color: oklch(68.5% 0.197 347.9);
Tailwind
colors: {
custom: {
50: '#f692c7',
500: '#ec5caf',
950: '#000000',
},
}SCSS
$custom: #ec5caf; $custom-light: #f692c7; $custom-dark: #000000;
JSON
{
"hex": "#ec5caf",
"rgb": {
"r": 236,
"g": 92,
"b": 175
},
"hsl": {
"h": 325.417,
"s": 79.121,
"l": 64.314
},
"oklch": {
"l": 0.6846,
"c": 0.19683,
"h": 347.9
},
"luminance": 0.28582
}Semantic roles & 50–950 ramp
primary
#EC5CAF
secondary
#B9EBCE
accent
#DB630A
background
#FFF9FC
surface
#FFF2F8
border
#D7CCD1
text
#180D13
muted
#867E82