#B42A18#B42A18
#B42A18 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.6% C 0.177 H 31.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #B42A18 |
|---|---|
| RGB | rgb(180, 42, 24) |
| HSL | hsl(7, 76%, 40%) |
| HSV | hsv(7, 87%, 71%) |
| CMYK | cmyk(0%, 76.7%, 86.7%, 29.4%) |
| CIE-LAB | lab(40.29, 53.85, 44.06) |
| CIE-LCH | lch(40.29, 69.57, 39.29°) |
| OKLab | oklab(50.6% 0.1518 0.0912) |
| OKLCH | oklch(50.6% 0.177 31) |
| XYZ | xyz(19.8177, 11.4284, 2.0264) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rusty Red
#AF2F0D
ΔE00 3.03
Firebrick
#B22222
ΔE00 3.81
Rust Red
#AA2704
ΔE00 3.81
Scarlet
#BE0119
ΔE00 4.09
Brick
#A03623
ΔE00 4.11
Brownish Red
#9E3623
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42A18 #18A2B4
analogous
#B41854 #B42A18 #B47818
triadic
#B42A18 #18B42A #2A18B4
tetradic
#B42A18 #54B418 #18A2B4 #7818B4
square
#B42A18 #54B418 #18A2B4 #7818B4
split-complementary
#B42A18 #18B478 #1854B4
monochromatic
#48110A #7E1D11 #B42A18 #E23D27 #E96D5D
Accessibility & contrast
On white
6.39
#B42A18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#B42A18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42A18
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42A18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42A18 | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564C13
Deuteranopia (green-blind)
#776A0E
Tritanopia (blue-blind)
#C70028
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b42a18; /* rgb */ color: rgb(180, 42, 24); /* oklch */ color: oklch(50.6% 0.177 31.0);
Tailwind
colors: {
custom: {
50: '#d46f58',
500: '#b42a18',
950: '#000000',
},
}SCSS
$custom: #b42a18; $custom-light: #d46f58; $custom-dark: #000000;
JSON
{
"hex": "#b42a18",
"rgb": {
"r": 180,
"g": 42,
"b": 24
},
"hsl": {
"h": 6.923,
"s": 76.471,
"l": 40
},
"oklch": {
"l": 0.50596,
"c": 0.1771,
"h": 31
},
"luminance": 0.11425
}Semantic roles & 50–950 ramp
primary
#B42A18
secondary
#5BC0CD
accent
#DDF335
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160803
muted
#847B78