#B42B18#B42B18
#B42B18 is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.7% C 0.176 H 31.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #B42B18 |
|---|---|
| RGB | rgb(180, 43, 24) |
| HSL | hsl(7, 76%, 40%) |
| HSV | hsv(7, 87%, 71%) |
| CMYK | cmyk(0%, 76.1%, 86.7%, 29.4%) |
| CIE-LAB | lab(40.41, 53.52, 44.15) |
| CIE-LCH | lch(40.41, 69.38, 39.52°) |
| OKLab | oklab(50.68% 0.1508 0.0914) |
| OKLCH | oklch(50.68% 0.176 31.2) |
| XYZ | xyz(19.8536, 11.5002, 2.0384) |
| Luminance | 0.1150 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rusty Red
#AF2F0D
ΔE00 2.88
Rust Red
#AA2704
ΔE00 3.74
Firebrick
#B22222
ΔE00 3.98
Brick
#A03623
ΔE00 4.12
Scarlet
#BE0119
ΔE00 4.27
Brownish Red
#9E3623
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42B18 #18A1B4
analogous
#B41853 #B42B18 #B47918
triadic
#B42B18 #18B42B #2B18B4
tetradic
#B42B18 #53B418 #18A1B4 #7918B4
square
#B42B18 #53B418 #18A1B4 #7918B4
split-complementary
#B42B18 #18B479 #1853B4
monochromatic
#48110A #7E1E11 #B42B18 #E23E27 #E96E5D
Accessibility & contrast
On white
6.36
#B42B18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#B42B18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42B18
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42B18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42B18 | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564C13
Deuteranopia (green-blind)
#786A0E
Tritanopia (blue-blind)
#C70028
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b42b18; /* rgb */ color: rgb(180, 43, 24); /* oklch */ color: oklch(50.7% 0.176 31.2);
Tailwind
colors: {
custom: {
50: '#d47058',
500: '#b42b18',
950: '#000000',
},
}SCSS
$custom: #b42b18; $custom-light: #d47058; $custom-dark: #000000;
JSON
{
"hex": "#b42b18",
"rgb": {
"r": 180,
"g": 43,
"b": 24
},
"hsl": {
"h": 7.308,
"s": 76.471,
"l": 40
},
"oklch": {
"l": 0.50683,
"c": 0.17635,
"h": 31.2
},
"luminance": 0.11497
}Semantic roles & 50–950 ramp
primary
#B42B18
secondary
#5BBFCD
accent
#DCF335
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160803
muted
#847B78