#EC98AB#EC98AB
#EC98AB is a light, moderate red. Relative luminance 0.432; OKLCH L 76.9% C 0.103 H 5.1°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #EC98AB |
|---|---|
| RGB | rgb(236, 152, 171) |
| HSL | hsl(346, 69%, 76%) |
| HSV | hsv(346, 36%, 93%) |
| CMYK | cmyk(0%, 35.6%, 27.5%, 7.5%) |
| CIE-LAB | lab(71.71, 33.92, 3.29) |
| CIE-LCH | lch(71.71, 34.08, 5.55°) |
| OKLab | oklab(76.92% 0.1026 0.0091) |
| OKLCH | oklch(76.92% 0.103 5.1) |
| XYZ | xyz(53.1724, 43.2332, 44.0644) |
| Luminance | 0.4323 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Pig Pink
#E78EA5
ΔE00 2.57
Faded Pink
#DE9DAC
ΔE00 3.36
Rose Pink
#F7879A
ΔE00 5.18
Rosa
#FE86A4
ΔE00 5.32
Pinky
#FC86AA
ΔE00 5.48
Dusty Pink (survey)
#D58A94
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC98AB #98ECD9
analogous
#EC98D5 #EC98AB #ECAF98
triadic
#EC98AB #ABEC98 #98ABEC
tetradic
#EC98AB #D5EC98 #98ECD9 #AF98EC
square
#EC98AB #D5EC98 #98ECD9 #AF98EC
split-complementary
#EC98AB #98ECAF #98D5EC
monochromatic
#D93157 #E26481 #EC98AB #F6CCD5 #FAE5EA
Accessibility & contrast
On white
2.18
#EC98AB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.65
#EC98AB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC98AB
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC98AB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC98AB | 1.00 | 2.18 | 9.65 | 9.65 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A5A6AC
Deuteranopia (green-blind)
#B9B6A9
Tritanopia (blue-blind)
#FA929F
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #ec98ab; /* rgb */ color: rgb(236, 152, 171); /* oklch */ color: oklch(76.9% 0.103 5.1);
Tailwind
colors: {
custom: {
50: '#f4b7c3',
500: '#ec98ab',
950: '#000000',
},
}SCSS
$custom: #ec98ab; $custom-light: #f4b7c3; $custom-dark: #000000;
JSON
{
"hex": "#ec98ab",
"rgb": {
"r": 236,
"g": 152,
"b": 171
},
"hsl": {
"h": 346.429,
"s": 68.852,
"l": 76.078
},
"oklch": {
"l": 0.76923,
"c": 0.10303,
"h": 5.1
},
"luminance": 0.4323
}Semantic roles & 50–950 ramp
primary
#EC98AB
secondary
#D9F2EC
accent
#D1A615
background
#FFFBFC
surface
#FEF6F8
border
#D6D0D1
text
#171112
muted
#858081