#DF5171#DF5171
#DF5171 is a light, vivid red. Relative luminance 0.228; OKLCH L 63.3% C 0.178 H 10.1°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #DF5171 |
|---|---|
| RGB | rgb(223, 81, 113) |
| HSL | hsl(346, 69%, 60%) |
| HSV | hsv(346, 64%, 87%) |
| CMYK | cmyk(0%, 63.7%, 49.3%, 12.5%) |
| CIE-LAB | lab(54.83, 57.64, 12.16) |
| CIE-LCH | lch(54.83, 58.90, 11.91°) |
| OKLab | oklab(63.32% 0.1748 0.0312) |
| OKLCH | oklch(63.32% 0.178 10.1) |
| XYZ | xyz(36.3574, 22.7697, 18.1000) |
| Luminance | 0.2276 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose (survey)
#CF6275
ΔE00 3.88
Blush
#DE5D83
ΔE00 4.24
Pinkish
#D46A7E
ΔE00 5.19
Cherry
#DE3163
ΔE00 5.20
Darkish Pink
#DA467D
ΔE00 5.58
Warm Pink
#FB5581
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DF5171 #51DFBF
analogous
#DF51B8 #DF5171 #DF7851
triadic
#DF5171 #71DF51 #5171DF
tetradic
#DF5171 #B8DF51 #51DFBF #7851DF
square
#DF5171 #B8DF51 #51DFBF #7851DF
split-complementary
#DF5171 #51DF78 #51B8DF
monochromatic
#991C38 #CD264B #DF5171 #E9859B #F2B8C5
Accessibility & contrast
On white
3.78
#DF5171 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#DF5171 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #DF5171
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DF5171 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DF5171 | 1.00 | 3.78 | 5.55 | 5.55 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#717172
Deuteranopia (green-blind)
#968E6E
Tritanopia (blue-blind)
#F23B5D
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #df5171; /* rgb */ color: rgb(223, 81, 113); /* oklch */ color: oklch(63.3% 0.178 10.1);
Tailwind
colors: {
custom: {
50: '#ef8999',
500: '#df5171',
950: '#000000',
},
}SCSS
$custom: #df5171; $custom-light: #ef8999; $custom-dark: #000000;
JSON
{
"hex": "#df5171",
"rgb": {
"r": 223,
"g": 81,
"b": 113
},
"hsl": {
"h": 346.479,
"s": 68.932,
"l": 59.608
},
"oklch": {
"l": 0.63324,
"c": 0.1776,
"h": 10.1
},
"luminance": 0.22765
}Semantic roles & 50–950 ramp
primary
#DF5171
secondary
#AAE1D5
accent
#ECC43C
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#170C0D
muted
#857D7E