#B42F17#B42F17
#B42F17 is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.0% C 0.173 H 32.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #B42F17 |
|---|---|
| RGB | rgb(180, 47, 23) |
| HSL | hsl(9, 77%, 40%) |
| HSV | hsv(9, 87%, 71%) |
| CMYK | cmyk(0%, 73.9%, 87.2%, 29.4%) |
| CIE-LAB | lab(40.90, 52.12, 45.02) |
| CIE-LCH | lch(40.90, 68.87, 40.82°) |
| OKLab | oklab(51.05% 0.1463 0.093) |
| OKLCH | oklch(51.05% 0.173 32.4) |
| XYZ | xyz(19.9960, 11.8014, 2.0355) |
| Luminance | 0.1180 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rusty Red
#AF2F0D
ΔE00 2.14
Rust Red
#AA2704
ΔE00 3.41
Brick
#A03623
ΔE00 4.34
Brownish Red
#9E3623
ΔE00 4.70
Firebrick
#B22222
ΔE00 4.94
Burnt Red
#9F2305
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42F17 #179CB4
analogous
#B4174E #B42F17 #B47E17
triadic
#B42F17 #17B42F #2F17B4
tetradic
#B42F17 #4EB417 #179CB4 #7E17B4
square
#B42F17 #4EB417 #179CB4 #7E17B4
split-complementary
#B42F17 #17B47E #174EB4
monochromatic
#471309 #7E2110 #B42F17 #E34225 #EA715B
Accessibility & contrast
On white
6.25
#B42F17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#B42F17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42F17
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42F17 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#584E12
Deuteranopia (green-blind)
#796B0D
Tritanopia (blue-blind)
#C7002B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b42f17; /* rgb */ color: rgb(180, 47, 23); /* oklch */ color: oklch(51.0% 0.173 32.4);
Tailwind
colors: {
custom: {
50: '#d47158',
500: '#b42f17',
950: '#000000',
},
}SCSS
$custom: #b42f17; $custom-light: #d47158; $custom-dark: #000000;
JSON
{
"hex": "#b42f17",
"rgb": {
"r": 180,
"g": 47,
"b": 23
},
"hsl": {
"h": 9.172,
"s": 77.34,
"l": 39.804
},
"oklch": {
"l": 0.51046,
"c": 0.17336,
"h": 32.4
},
"luminance": 0.11798
}Semantic roles & 50–950 ramp
primary
#B42F17
secondary
#59BCCE
accent
#D7F434
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160803
muted
#847B78