#B42815#B42815
#B42815 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.4% C 0.179 H 31.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #B42815 |
|---|---|
| RGB | rgb(180, 40, 21) |
| HSL | hsl(7, 79%, 39%) |
| HSV | hsv(7, 88%, 71%) |
| CMYK | cmyk(0%, 77.8%, 88.3%, 29.4%) |
| CIE-LAB | lab(40.05, 54.42, 45.23) |
| CIE-LCH | lch(40.05, 70.76, 39.73°) |
| OKLab | oklab(50.41% 0.1531 0.0925) |
| OKLCH | oklch(50.41% 0.179 31.1) |
| XYZ | xyz(19.7190, 11.2782, 1.8480) |
| Luminance | 0.1128 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rusty Red
#AF2F0D
ΔE00 2.74
Rust Red
#AA2704
ΔE00 3.43
Firebrick
#B22222
ΔE00 4.11
Scarlet
#BE0119
ΔE00 4.25
Brick
#A03623
ΔE00 4.29
Darkish Red
#A90308
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42815 #15A1B4
analogous
#B41552 #B42815 #B47815
triadic
#B42815 #15B428 #2815B4
tetradic
#B42815 #52B415 #15A1B4 #7815B4
square
#B42815 #52B415 #15A1B4 #7815B4
split-complementary
#B42815 #15B478 #1552B4
monochromatic
#461008 #7D1C0F #B42815 #E53921 #EC6A58
Accessibility & contrast
On white
6.45
#B42815 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#B42815 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42815
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42815 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42815 | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554B10
Deuteranopia (green-blind)
#776909
Tritanopia (blue-blind)
#C70026
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b42815; /* rgb */ color: rgb(180, 40, 21); /* oklch */ color: oklch(50.4% 0.179 31.1);
Tailwind
colors: {
custom: {
50: '#d56e56',
500: '#b42815',
950: '#000000',
},
}SCSS
$custom: #b42815; $custom-light: #d56e56; $custom-dark: #000000;
JSON
{
"hex": "#b42815",
"rgb": {
"r": 180,
"g": 40,
"b": 21
},
"hsl": {
"h": 7.17,
"s": 79.104,
"l": 39.412
},
"oklch": {
"l": 0.50405,
"c": 0.17892,
"h": 31.1
},
"luminance": 0.11275
}Semantic roles & 50–950 ramp
primary
#B42815
secondary
#56C0CF
accent
#DEF632
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160803
muted
#847B78