#EC7CA5#EC7CA5
#EC7CA5 is a light, vivid pink. Relative luminance 0.350; OKLCH L 72.3% C 0.144 H 358.1°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #EC7CA5 |
|---|---|
| RGB | rgb(236, 124, 165) |
| HSL | hsl(338, 75%, 71%) |
| HSV | hsv(338, 47%, 93%) |
| CMYK | cmyk(0%, 47.5%, 30.1%, 7.5%) |
| CIE-LAB | lab(65.72, 47.54, -2.07) |
| CIE-LCH | lch(65.72, 47.59, 357.50°) |
| OKLab | oklab(72.32% 0.1441 -0.0048) |
| OKLCH | oklch(72.32% 0.144 358.1) |
| XYZ | xyz(48.5932, 34.9690, 39.7805) |
| Luminance | 0.3497 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Carnation Pink
#FF7FA7
ΔE00 3.57
Pinky
#FC86AA
ΔE00 3.82
Palevioletred
#DB7093
ΔE00 4.57
Rosa
#FE86A4
ΔE00 5.03
Pig Pink
#E78EA5
ΔE00 5.13
Bubble Gum Pink
#FF69AF
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC7CA5 #7CECC3
analogous
#EC7CDD #EC7CA5 #EC8B7C
triadic
#EC7CA5 #A5EC7C #7CA5EC
tetradic
#EC7CA5 #DDEC7C #7CECC3 #8B7CEC
square
#EC7CA5 #DDEC7C #7CECC3 #8B7CEC
split-complementary
#EC7CA5 #7CEC8B #7CDDEC
monochromatic
#D01E5F #E44780 #EC7CA5 #F4B1CA #FBE4ED
Accessibility & contrast
On white
2.63
#EC7CA5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.99
#EC7CA5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC7CA5
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC7CA5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC7CA5 | 1.00 | 2.63 | 7.99 | 7.99 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C93A6
Deuteranopia (green-blind)
#A9A7A2
Tritanopia (blue-blind)
#FC758B
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #ec7ca5; /* rgb */ color: rgb(236, 124, 165); /* oklch */ color: oklch(72.3% 0.144 358.1);
Tailwind
colors: {
custom: {
50: '#f5a5bf',
500: '#ec7ca5',
950: '#000000',
},
}SCSS
$custom: #ec7ca5; $custom-light: #f5a5bf; $custom-dark: #000000;
JSON
{
"hex": "#ec7ca5",
"rgb": {
"r": 236,
"g": 124,
"b": 165
},
"hsl": {
"h": 338.036,
"s": 74.667,
"l": 70.588
},
"oklch": {
"l": 0.72321,
"c": 0.14417,
"h": 358.1
},
"luminance": 0.34965
}Semantic roles & 50–950 ramp
primary
#EC7CA5
secondary
#D3F1E6
accent
#D78E0F
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#170F12
muted
#857F81