#EC6A7D#EC6A7D
#EC6A7D is a light, vivid red. Relative luminance 0.296; OKLCH L 68.7% C 0.161 H 13.3°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #EC6A7D |
|---|---|
| RGB | rgb(236, 106, 125) |
| HSL | hsl(351, 77%, 67%) |
| HSV | hsv(351, 55%, 93%) |
| CMYK | cmyk(0%, 55.1%, 47%, 7.5%) |
| CIE-LAB | lab(61.33, 51.85, 14.51) |
| CIE-LCH | lch(61.33, 53.85, 15.64°) |
| OKLab | oklab(68.68% 0.1567 0.0372) |
| OKLCH | oklch(68.68% 0.161 13.3) |
| XYZ | xyz(43.4509, 29.6265, 22.8283) |
| Luminance | 0.2962 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Watermelon
#FC6C85
ΔE00 2.95
Rosy Pink
#F6688E
ΔE00 4.69
Pinkish
#D46A7E
ΔE00 4.76
Warm Pink
#FB5581
ΔE00 4.78
Carnation
#FD798F
ΔE00 4.80
Rose (survey)
#CF6275
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC6A7D #6AECD9
analogous
#EC6ABE #EC6A7D #EC986A
triadic
#EC6A7D #7DEC6A #6A7DEC
tetradic
#EC6A7D #BEEC6A #6AECD9 #986AEC
square
#EC6A7D #BEEC6A #6AECD9 #986AEC
split-complementary
#EC6A7D #6AEC98 #6ABEEC
monochromatic
#C31932 #E5344E #EC6A7D #F3A0AC #FAD7DC
Accessibility & contrast
On white
3.03
#EC6A7D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.92
#EC6A7D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #EC6A7D
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC6A7D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC6A7D | 1.00 | 3.03 | 6.92 | 6.92 |
| #FFFFFF | 3.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86847D
Deuteranopia (green-blind)
#A79E7A
Tritanopia (blue-blind)
#FF5871
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #ec6a7d; /* rgb */ color: rgb(236, 106, 125); /* oklch */ color: oklch(68.7% 0.161 13.3);
Tailwind
colors: {
custom: {
50: '#f799a2',
500: '#ec6a7d',
950: '#000000',
},
}SCSS
$custom: #ec6a7d; $custom-light: #f799a2; $custom-dark: #000000;
JSON
{
"hex": "#ec6a7d",
"rgb": {
"r": 236,
"g": 106,
"b": 125
},
"hsl": {
"h": 351.231,
"s": 77.381,
"l": 67.059
},
"oklch": {
"l": 0.68677,
"c": 0.16106,
"h": 13.3
},
"luminance": 0.29622
}Semantic roles & 50–950 ramp
primary
#EC6A7D
secondary
#C4EEE8
accent
#DABC0C
background
#FFF9F9
surface
#FFF2F2
border
#D7CCCC
text
#180E0F
muted
#867E7E