#DF7871#DF7871
#DF7871 is a light, vivid red. Relative luminance 0.303; OKLCH L 68.7% C 0.129 H 25.0°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #DF7871 |
|---|---|
| RGB | rgb(223, 120, 113) |
| HSL | hsl(4, 63%, 66%) |
| HSV | hsv(4, 49%, 87%) |
| CMYK | cmyk(0%, 46.2%, 49.3%, 12.5%) |
| CIE-LAB | lab(61.93, 39.21, 21.90) |
| CIE-LCH | lch(61.93, 44.91, 29.18°) |
| OKLab | oklab(68.67% 0.1171 0.0547) |
| OKLCH | oklch(68.67% 0.129 25) |
| XYZ | xyz(40.1312, 30.3172, 19.3579) |
| Luminance | 0.3031 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lightcoral
#F08080
ΔE00 4.29
Salmon
#FA8072
ΔE00 5.55
Salmon Pink
#FE7B7C
ΔE00 5.71
Salmon (survey)
#FF796C
ΔE00 5.98
Brownish Pink
#C27E79
ΔE00 6.26
Coral Pink
#FF6163
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DF7871 #71D8DF
analogous
#DF71A1 #DF7871 #DFAF71
triadic
#DF7871 #71DF78 #7871DF
tetradic
#DF7871 #A1DF71 #71D8DF #AF71DF
square
#DF7871 #A1DF71 #71D8DF #AF71DF
split-complementary
#DF7871 #71DFAF #71A1DF
monochromatic
#AE3027 #D4493F #DF7871 #EAA7A3 #F6D7D5
Accessibility & contrast
On white
2.97
#DF7871 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.06
#DF7871 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DF7871
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DF7871 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DF7871 | 1.00 | 2.97 | 7.06 | 7.06 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F8970
Deuteranopia (green-blind)
#A99E6F
Tritanopia (blue-blind)
#F16977
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #df7871; /* rgb */ color: rgb(223, 120, 113); /* oklch */ color: oklch(68.7% 0.129 25.0);
Tailwind
colors: {
custom: {
50: '#eda199',
500: '#df7871',
950: '#000000',
},
}SCSS
$custom: #df7871; $custom-light: #eda199; $custom-dark: #000000;
JSON
{
"hex": "#df7871",
"rgb": {
"r": 223,
"g": 120,
"b": 113
},
"hsl": {
"h": 3.818,
"s": 63.218,
"l": 65.882
},
"oklch": {
"l": 0.68673,
"c": 0.12925,
"h": 25
},
"luminance": 0.30313
}Semantic roles & 50–950 ramp
primary
#DF7871
secondary
#C4E6E8
accent
#C0CB1B
background
#FFFAF9
surface
#FEF3F2
border
#D6CDCC
text
#170F0E
muted
#857F7E