#DF4940#DF4940
#DF4940 is a mid, vivid red. Relative luminance 0.208; OKLCH L 61.5% C 0.188 H 27.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #DF4940 |
|---|---|
| RGB | rgb(223, 73, 64) |
| HSL | hsl(3, 71%, 56%) |
| HSV | hsv(3, 71%, 87%) |
| CMYK | cmyk(0%, 67.3%, 71.3%, 12.5%) |
| CIE-LAB | lab(52.76, 57.66, 38.08) |
| CIE-LCH | lch(52.76, 69.10, 33.44°) |
| OKLab | oklab(61.49% 0.1668 0.0867) |
| OKLCH | oklch(61.49% 0.188 27.5) |
| XYZ | xyz(33.7431, 20.8282, 7.0930) |
| Luminance | 0.2082 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Pale Red
#D9544D
ΔE00 2.70
Dark Coral
#CF524E
ΔE00 4.13
Pastel Red
#DB5856
ΔE00 4.60
Faded Red
#D3494E
ΔE00 5.17
Cherry Red
#F7022A
ΔE00 5.32
Dark Salmon
#C85A53
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DF4940 #40D6DF
analogous
#DF4087 #DF4940 #DF9940
triadic
#DF4940 #40DF49 #4940DF
tetradic
#DF4940 #87DF40 #40D6DF #9940DF
square
#DF4940 #87DF40 #40D6DF #9940DF
split-complementary
#DF4940 #40DF99 #4087DF
monochromatic
#8D1E18 #C12A20 #DF4940 #E87B74 #F1ADA9
Accessibility & contrast
On white
4.07
#DF4940 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#DF4940 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #DF4940
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DF4940 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DF4940 | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#73693E
Deuteranopia (green-blind)
#998A3B
Tritanopia (blue-blind)
#F51C48
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #df4940; /* rgb */ color: rgb(223, 73, 64); /* oklch */ color: oklch(61.5% 0.188 27.5);
Tailwind
colors: {
custom: {
50: '#f18475',
500: '#df4940',
950: '#000000',
},
}SCSS
$custom: #df4940; $custom-light: #f18475; $custom-dark: #000000;
JSON
{
"hex": "#df4940",
"rgb": {
"r": 223,
"g": 73,
"b": 64
},
"hsl": {
"h": 3.396,
"s": 71.3,
"l": 56.275
},
"oklch": {
"l": 0.6149,
"c": 0.18794,
"h": 27.5
},
"luminance": 0.20823
}Semantic roles & 50–950 ramp
primary
#DF4940
secondary
#9DDADE
accent
#E4EE3A
background
#FFF8F7
surface
#FFF0ED
border
#D7CBC8
text
#180B08
muted
#867C7B