#EF5271#EF5271
#EF5271 is a light, vivid red. Relative luminance 0.256; OKLCH L 65.9% C 0.193 H 12.5°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #EF5271 |
|---|---|
| RGB | rgb(239, 82, 113) |
| HSL | hsl(348, 83%, 63%) |
| HSV | hsv(348, 66%, 94%) |
| CMYK | cmyk(0%, 65.7%, 52.7%, 6.3%) |
| CIE-LAB | lab(57.64, 62.21, 16.46) |
| CIE-LCH | lch(57.64, 64.35, 14.82°) |
| OKLab | oklab(65.92% 0.188 0.0415) |
| OKLCH | oklch(65.92% 0.193 12.5) |
| XYZ | xyz(41.5982, 25.5830, 18.3671) |
| Luminance | 0.2558 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Warm Pink
#FB5581
ΔE00 3.81
Rose (survey)
#CF6275
ΔE00 5.75
Blush
#DE5D83
ΔE00 5.77
Watermelon
#FC6C85
ΔE00 5.94
Pinkish
#D46A7E
ΔE00 6.06
Red Pink
#FA2A55
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EF5271 #52EFD0
analogous
#EF52BF #EF5271 #EF8152
triadic
#EF5271 #71EF52 #5271EF
tetradic
#EF5271 #BFEF52 #52EFD0 #8152EF
square
#EF5271 #BFEF52 #52EFD0 #8152EF
split-complementary
#EF5271 #52EF81 #52BFEF
monochromatic
#B61131 #EA1A43 #EF5271 #F48A9F #F9C2CD
Accessibility & contrast
On white
3.43
#EF5271 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.12
#EF5271 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #EF5271
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EF5271 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EF5271 | 1.00 | 3.43 | 6.12 | 6.12 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#787671
Deuteranopia (green-blind)
#A0966D
Tritanopia (blue-blind)
#FF355E
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #ef5271; /* rgb */ color: rgb(239, 82, 113); /* oklch */ color: oklch(65.9% 0.193 12.5);
Tailwind
colors: {
custom: {
50: '#fb8b99',
500: '#ef5271',
950: '#000000',
},
}SCSS
$custom: #ef5271; $custom-light: #fb8b99; $custom-dark: #000000;
JSON
{
"hex": "#ef5271",
"rgb": {
"r": 239,
"g": 82,
"b": 113
},
"hsl": {
"h": 348.153,
"s": 83.069,
"l": 62.941
},
"oklch": {
"l": 0.65917,
"c": 0.19251,
"h": 12.5
},
"luminance": 0.25578
}Semantic roles & 50–950 ramp
primary
#EF5271
secondary
#B2EBDF
accent
#DFB506
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#190D0D
muted
#877D7E