#D4261F#D4261F
#D4261F is a mid, highly saturated red. Relative luminance 0.155; OKLCH L 56.2% C 0.209 H 28.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #D4261F |
|---|---|
| RGB | rgb(212, 38, 31) |
| HSL | hsl(2, 74%, 48%) |
| HSV | hsv(2, 85%, 83%) |
| CMYK | cmyk(0%, 82.1%, 85.4%, 16.9%) |
| CIE-LAB | lab(46.29, 64.56, 48.33) |
| CIE-LCH | lch(46.29, 80.65, 36.82°) |
| OKLab | oklab(56.19% 0.1833 0.1) |
| OKLCH | oklch(56.19% 0.209 28.6) |
| XYZ | xyz(28.0954, 15.4869, 2.8060) |
| Luminance | 0.1548 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red (survey)
#E50000
ΔE00 4.30
Scarlet
#BE0119
ΔE00 6.41
Reddish
#C44240
ΔE00 6.72
Cherry Red
#F7022A
ΔE00 6.86
Tomato Red
#EC2D01
ΔE00 7.51
Firebrick
#B22222
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D4261F #1FCDD4
analogous
#D41F73 #D4261F #D4801F
triadic
#D4261F #1FD426 #261FD4
tetradic
#D4261F #73D41F #1FCDD4 #801FD4
square
#D4261F #73D41F #1FCDD4 #801FD4
split-complementary
#D4261F #1FD480 #1F73D4
monochromatic
#69130F #9F1C17 #D4261F #E5514B #ED8581
Accessibility & contrast
On white
5.13
#D4261F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#D4261F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #D4261F
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D4261F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##D4261F | 1.00 | 5.13 | 4.10 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#60561B
Deuteranopia (green-blind)
#8A7B13
Tritanopia (blue-blind)
#EA0027
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #d4261f; /* rgb */ color: rgb(212, 38, 31); /* oklch */ color: oklch(56.2% 0.209 28.6);
Tailwind
colors: {
custom: {
50: '#ec735d',
500: '#d4261f',
950: '#000000',
},
}SCSS
$custom: #d4261f; $custom-light: #ec735d; $custom-dark: #000000;
JSON
{
"hex": "#d4261f",
"rgb": {
"r": 212,
"g": 38,
"b": 31
},
"hsl": {
"h": 2.32,
"s": 74.486,
"l": 47.647
},
"oklch": {
"l": 0.56194,
"c": 0.20875,
"h": 28.6
},
"luminance": 0.15482
}Semantic roles & 50–950 ramp
primary
#D4261F
secondary
#7AD2D5
accent
#EAF137
background
#FFF7F5
surface
#FFEDE9
border
#D7C8C5
text
#190904
muted
#867B79