#EF5170#EF5170
#EF5170 is a light, vivid red. Relative luminance 0.254; OKLCH L 65.8% C 0.194 H 12.6°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #EF5170 |
|---|---|
| RGB | rgb(239, 81, 112) |
| HSL | hsl(348, 83%, 63%) |
| HSV | hsv(348, 66%, 94%) |
| CMYK | cmyk(0%, 66.1%, 53.1%, 6.3%) |
| CIE-LAB | lab(57.47, 62.52, 16.82) |
| CIE-LCH | lch(57.47, 64.75, 15.05°) |
| OKLab | oklab(65.79% 0.1889 0.0424) |
| OKLCH | oklch(65.79% 0.194 12.6) |
| XYZ | xyz(41.4673, 25.4109, 18.0473) |
| Luminance | 0.2540 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Warm Pink
#FB5581
ΔE00 4.00
Rose (survey)
#CF6275
ΔE00 5.81
Blush
#DE5D83
ΔE00 5.93
Red Pink
#FA2A55
ΔE00 5.97
Watermelon
#FC6C85
ΔE00 6.12
Pinkish
#D46A7E
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EF5170 #51EFD0
analogous
#EF51BF #EF5170 #EF8151
triadic
#EF5170 #70EF51 #5170EF
tetradic
#EF5170 #BFEF51 #51EFD0 #8151EF
square
#EF5170 #BFEF51 #51EFD0 #8151EF
split-complementary
#EF5170 #51EF81 #51BFEF
monochromatic
#B51131 #EA1942 #EF5170 #F4899E #F9C1CC
Accessibility & contrast
On white
3.45
#EF5170 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.08
#EF5170 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #EF5170
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EF5170 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EF5170 | 1.00 | 3.45 | 6.08 | 6.08 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#777670
Deuteranopia (green-blind)
#A0966C
Tritanopia (blue-blind)
#FF335D
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #ef5170; /* rgb */ color: rgb(239, 81, 112); /* oklch */ color: oklch(65.8% 0.194 12.6);
Tailwind
colors: {
custom: {
50: '#fb8b98',
500: '#ef5170',
950: '#000000',
},
}SCSS
$custom: #ef5170; $custom-light: #fb8b98; $custom-dark: #000000;
JSON
{
"hex": "#ef5170",
"rgb": {
"r": 239,
"g": 81,
"b": 112
},
"hsl": {
"h": 348.228,
"s": 83.158,
"l": 62.745
},
"oklch": {
"l": 0.65786,
"c": 0.19355,
"h": 12.6
},
"luminance": 0.25405
}Semantic roles & 50–950 ramp
primary
#EF5170
secondary
#B1EADF
accent
#E0B506
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#190D0D
muted
#877D7E