#DF5040#DF5040
#DF5040 is a light, vivid red. Relative luminance 0.218; OKLCH L 62.3% C 0.181 H 29.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #DF5040 |
|---|---|
| RGB | rgb(223, 80, 64) |
| HSL | hsl(6, 71%, 56%) |
| HSV | hsv(6, 71%, 87%) |
| CMYK | cmyk(0%, 64.1%, 71.3%, 12.5%) |
| CIE-LAB | lab(53.81, 54.81, 39.29) |
| CIE-LCH | lch(53.81, 67.43, 35.63°) |
| OKLab | oklab(62.28% 0.1578 0.0893) |
| OKLCH | oklch(62.28% 0.181 29.5) |
| XYZ | xyz(34.2291, 21.8003, 7.2550) |
| Luminance | 0.2180 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Pale Red
#D9544D
ΔE00 3.28
Tomato (survey)
#EF4026
ΔE00 4.82
Dark Coral
#CF524E
ΔE00 5.10
Pastel Red
#DB5856
ΔE00 5.15
Dark Salmon
#C85A53
ΔE00 5.88
Cherry Red
#F7022A
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DF5040 #40CFDF
analogous
#DF4080 #DF5040 #DFA040
triadic
#DF5040 #40DF50 #5040DF
tetradic
#DF5040 #80DF40 #40CFDF #A040DF
square
#DF5040 #80DF40 #40CFDF #A040DF
split-complementary
#DF5040 #40DFA0 #4080DF
monochromatic
#8D2318 #C13120 #DF5040 #E88074 #F1B0A9
Accessibility & contrast
On white
3.92
#DF5040 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#DF5040 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #DF5040
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DF5040 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DF5040 | 1.00 | 3.92 | 5.36 | 5.36 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786D3D
Deuteranopia (green-blind)
#9B8C3B
Tritanopia (blue-blind)
#F52B4D
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #df5040; /* rgb */ color: rgb(223, 80, 64); /* oklch */ color: oklch(62.3% 0.181 29.5);
Tailwind
colors: {
custom: {
50: '#f18875',
500: '#df5040',
950: '#000000',
},
}SCSS
$custom: #df5040; $custom-light: #f18875; $custom-dark: #000000;
JSON
{
"hex": "#df5040",
"rgb": {
"r": 223,
"g": 80,
"b": 64
},
"hsl": {
"h": 6.038,
"s": 71.3,
"l": 56.275
},
"oklch": {
"l": 0.6228,
"c": 0.18133,
"h": 29.5
},
"luminance": 0.21795
}Semantic roles & 50–950 ramp
primary
#DF5040
secondary
#9DD8DE
accent
#DCEE3A
background
#FFF8F7
surface
#FFF0ED
border
#D7CBC8
text
#180C08
muted
#867D7B