#B42E17#B42E17
#B42E17 is a mid, vivid red. Relative luminance 0.117; OKLCH L 51.0% C 0.174 H 32.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #B42E17 |
|---|---|
| RGB | rgb(180, 46, 23) |
| HSL | hsl(9, 77%, 40%) |
| HSV | hsv(9, 87%, 71%) |
| CMYK | cmyk(0%, 74.4%, 87.2%, 29.4%) |
| CIE-LAB | lab(40.77, 52.48, 44.92) |
| CIE-LCH | lch(40.77, 69.07, 40.56°) |
| OKLab | oklab(50.95% 0.1474 0.0927) |
| OKLCH | oklch(50.95% 0.174 32.2) |
| XYZ | xyz(19.9565, 11.7223, 2.0223) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rusty Red
#AF2F0D
ΔE00 2.26
Rust Red
#AA2704
ΔE00 3.43
Brick
#A03623
ΔE00 4.28
Brownish Red
#9E3623
ΔE00 4.65
Firebrick
#B22222
ΔE00 4.74
Scarlet
#BE0119
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42E17 #179DB4
analogous
#B4174E #B42E17 #B47D17
triadic
#B42E17 #17B42E #2E17B4
tetradic
#B42E17 #4EB417 #179DB4 #7D17B4
square
#B42E17 #4EB417 #179DB4 #7D17B4
split-complementary
#B42E17 #17B47D #174EB4
monochromatic
#471209 #7E2010 #B42E17 #E34125 #EA705B
Accessibility & contrast
On white
6.28
#B42E17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#B42E17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42E17
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42E17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42E17 | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#584D12
Deuteranopia (green-blind)
#786B0D
Tritanopia (blue-blind)
#C7002B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b42e17; /* rgb */ color: rgb(180, 46, 23); /* oklch */ color: oklch(51.0% 0.174 32.2);
Tailwind
colors: {
custom: {
50: '#d47158',
500: '#b42e17',
950: '#000000',
},
}SCSS
$custom: #b42e17; $custom-light: #d47158; $custom-dark: #000000;
JSON
{
"hex": "#b42e17",
"rgb": {
"r": 180,
"g": 46,
"b": 23
},
"hsl": {
"h": 8.79,
"s": 77.34,
"l": 39.804
},
"oklch": {
"l": 0.50951,
"c": 0.17415,
"h": 32.2
},
"luminance": 0.11719
}Semantic roles & 50–950 ramp
primary
#B42E17
secondary
#59BDCE
accent
#D8F434
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160803
muted
#847B78