#D5231E#D5231E
#D5231E is a mid, highly saturated red. Relative luminance 0.154; OKLCH L 56.2% C 0.211 H 28.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #D5231E |
|---|---|
| RGB | rgb(213, 35, 30) |
| HSL | hsl(2, 75%, 48%) |
| HSV | hsv(2, 86%, 84%) |
| CMYK | cmyk(0%, 83.6%, 85.9%, 16.5%) |
| CIE-LAB | lab(46.24, 65.52, 48.84) |
| CIE-LCH | lch(46.24, 81.72, 36.70°) |
| OKLab | oklab(56.19% 0.186 0.1005) |
| OKLCH | oklch(56.19% 0.211 28.4) |
| XYZ | xyz(28.2796, 15.4467, 2.7206) |
| Luminance | 0.1544 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red (survey)
#E50000
ΔE00 4.21
Scarlet
#BE0119
ΔE00 6.36
Cherry Red
#F7022A
ΔE00 6.78
Reddish
#C44240
ΔE00 6.86
Tomato Red
#EC2D01
ΔE00 7.53
Firebrick
#B22222
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D5231E #1ED0D5
analogous
#D51E75 #D5231E #D57E1E
triadic
#D5231E #1ED523 #231ED5
tetradic
#D5231E #75D51E #1ED0D5 #7E1ED5
square
#D5231E #75D51E #1ED0D5 #7E1ED5
split-complementary
#D5231E #1ED57E #1E75D5
monochromatic
#6A110F #9F1A16 #D5231E #E64F4B #ED8380
Accessibility & contrast
On white
5.14
#D5231E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#D5231E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #D5231E
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D5231E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##D5231E | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#60551A
Deuteranopia (green-blind)
#8A7B11
Tritanopia (blue-blind)
#EB0025
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #d5231e; /* rgb */ color: rgb(213, 35, 30); /* oklch */ color: oklch(56.2% 0.211 28.4);
Tailwind
colors: {
custom: {
50: '#ed725d',
500: '#d5231e',
950: '#000000',
},
}SCSS
$custom: #d5231e; $custom-light: #ed725d; $custom-dark: #000000;
JSON
{
"hex": "#d5231e",
"rgb": {
"r": 213,
"g": 35,
"b": 30
},
"hsl": {
"h": 1.639,
"s": 75.309,
"l": 47.647
},
"oklch": {
"l": 0.56187,
"c": 0.21143,
"h": 28.4
},
"luminance": 0.15442
}Semantic roles & 50–950 ramp
primary
#D5231E
secondary
#79D3D6
accent
#EDF236
background
#FFF7F5
surface
#FFEDE9
border
#D7C8C5
text
#190904
muted
#867B79