#D45240#D45240
#D45240 is a mid, vivid red. Relative luminance 0.204; OKLCH L 60.8% C 0.168 H 30.5°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #D45240 |
|---|---|
| RGB | rgb(212, 82, 64) |
| HSL | hsl(7, 63%, 54%) |
| HSV | hsv(7, 70%, 83%) |
| CMYK | cmyk(0%, 61.3%, 69.8%, 16.9%) |
| CIE-LAB | lab(52.29, 50.17, 37.06) |
| CIE-LCH | lch(52.29, 62.37, 36.45°) |
| OKLab | oklab(60.79% 0.1445 0.085) |
| OKLCH | oklch(60.79% 0.168 30.5) |
| XYZ | xyz(31.0973, 20.4061, 7.1507) |
| Luminance | 0.2040 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Pale Red
#D9544D
ΔE00 3.50
Dark Coral
#CF524E
ΔE00 4.44
Dark Salmon
#C85A53
ΔE00 4.92
Pastel Red
#DB5856
ΔE00 5.55
Tomato (survey)
#EF4026
ΔE00 5.90
Faded Red
#D3494E
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D45240 #40C2D4
analogous
#D44078 #D45240 #D49C40
triadic
#D45240 #40D452 #5240D4
tetradic
#D45240 #78D440 #40C2D4 #9C40D4
square
#D45240 #78D440 #40C2D4 #9C40D4
split-complementary
#D45240 #40D49C #4078D4
monochromatic
#7D281C #AF3827 #D45240 #DF7F72 #EAACA4
Accessibility & contrast
On white
4.13
#D45240 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#D45240 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D45240
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D45240 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D45240 | 1.00 | 4.13 | 5.08 | 5.08 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756B3D
Deuteranopia (green-blind)
#96873C
Tritanopia (blue-blind)
#E9344E
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #d45240; /* rgb */ color: rgb(212, 82, 64); /* oklch */ color: oklch(60.8% 0.168 30.5);
Tailwind
colors: {
custom: {
50: '#e98875',
500: '#d45240',
950: '#000000',
},
}SCSS
$custom: #d45240; $custom-light: #e98875; $custom-dark: #000000;
JSON
{
"hex": "#d45240",
"rgb": {
"r": 212,
"g": 82,
"b": 64
},
"hsl": {
"h": 7.297,
"s": 63.248,
"l": 54.118
},
"oklch": {
"l": 0.60787,
"c": 0.16765,
"h": 30.5
},
"luminance": 0.20402
}Semantic roles & 50–950 ramp
primary
#D45240
secondary
#98D0D7
accent
#D2E642
background
#FFF8F7
surface
#FFF0ED
border
#D7CBC8
text
#170C08
muted
#857D7B