#DB5040#DB5040
#DB5040 is a mid, vivid red. Relative luminance 0.212; OKLCH L 61.6% C 0.177 H 29.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #DB5040 |
|---|---|
| RGB | rgb(219, 80, 64) |
| HSL | hsl(6, 68%, 55%) |
| HSV | hsv(6, 71%, 86%) |
| CMYK | cmyk(0%, 63.5%, 70.8%, 14.1%) |
| CIE-LAB | lab(53.14, 53.45, 38.33) |
| CIE-LCH | lch(53.14, 65.78, 35.65°) |
| OKLab | oklab(61.64% 0.154 0.0875) |
| OKLCH | oklch(61.64% 0.177 29.6) |
| XYZ | xyz(33.0110, 21.1722, 7.1979) |
| Luminance | 0.2117 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Pale Red
#D9544D
ΔE00 3.10
Dark Coral
#CF524E
ΔE00 4.63
Pastel Red
#DB5856
ΔE00 5.11
Tomato (survey)
#EF4026
ΔE00 5.23
Dark Salmon
#C85A53
ΔE00 5.39
Faded Red
#D3494E
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DB5040 #40CBDB
analogous
#DB407D #DB5040 #DB9E40
triadic
#DB5040 #40DB50 #5040DB
tetradic
#DB5040 #7DDB40 #40CBDB #9E40DB
square
#DB5040 #7DDB40 #40CBDB #9E40DB
split-complementary
#DB5040 #40DB9E #407DDB
monochromatic
#872519 #BB3323 #DB5040 #E57F73 #EEAEA7
Accessibility & contrast
On white
4.01
#DB5040 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#DB5040 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #DB5040
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DB5040 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DB5040 | 1.00 | 4.01 | 5.23 | 5.23 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766C3D
Deuteranopia (green-blind)
#998A3C
Tritanopia (blue-blind)
#F02D4D
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #db5040; /* rgb */ color: rgb(219, 80, 64); /* oklch */ color: oklch(61.6% 0.177 29.6);
Tailwind
colors: {
custom: {
50: '#ee8775',
500: '#db5040',
950: '#000000',
},
}SCSS
$custom: #db5040; $custom-light: #ee8775; $custom-dark: #000000;
JSON
{
"hex": "#db5040",
"rgb": {
"r": 219,
"g": 80,
"b": 64
},
"hsl": {
"h": 6.194,
"s": 68.282,
"l": 55.49
},
"oklch": {
"l": 0.61644,
"c": 0.17711,
"h": 29.6
},
"luminance": 0.21168
}Semantic roles & 50–950 ramp
primary
#DB5040
secondary
#9BD5DC
accent
#D9EB3D
background
#FFF8F7
surface
#FFF0ED
border
#D7CBC8
text
#180C08
muted
#867D7B