#B42B1A#B42B1A
#B42B1A is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.7% C 0.176 H 30.8°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #B42B1A |
|---|---|
| RGB | rgb(180, 43, 26) |
| HSL | hsl(7, 75%, 40%) |
| HSV | hsv(7, 86%, 71%) |
| CMYK | cmyk(0%, 76.1%, 85.6%, 29.4%) |
| CIE-LAB | lab(40.42, 53.57, 43.21) |
| CIE-LCH | lch(40.42, 68.82, 38.89°) |
| OKLab | oklab(50.7% 0.1513 0.0901) |
| OKLCH | oklch(50.7% 0.176 30.8) |
| XYZ | xyz(19.8752, 11.5088, 2.1520) |
| Luminance | 0.1151 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rusty Red
#AF2F0D
ΔE00 3.31
Firebrick
#B22222
ΔE00 3.55
Scarlet
#BE0119
ΔE00 3.95
Brick
#A03623
ΔE00 4.01
Rust Red
#AA2704
ΔE00 4.12
Brownish Red
#9E3623
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42B1A #1AA3B4
analogous
#B41A56 #B42B1A #B4781A
triadic
#B42B1A #1AB42B #2B1AB4
tetradic
#B42B1A #56B41A #1AA3B4 #781AB4
square
#B42B1A #56B41A #1AA3B4 #781AB4
split-complementary
#B42B1A #1AB478 #1A56B4
monochromatic
#49110B #7F1E12 #B42B1A #E03F2B #E86F60
Accessibility & contrast
On white
6.36
#B42B1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#B42B1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42B1A
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42B1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42B1A | 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)
#564C16
Deuteranopia (green-blind)
#776A11
Tritanopia (blue-blind)
#C70029
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b42b1a; /* rgb */ color: rgb(180, 43, 26); /* oklch */ color: oklch(50.7% 0.176 30.8);
Tailwind
colors: {
custom: {
50: '#d47059',
500: '#b42b1a',
950: '#000000',
},
}SCSS
$custom: #b42b1a; $custom-light: #d47059; $custom-dark: #000000;
JSON
{
"hex": "#b42b1a",
"rgb": {
"r": 180,
"g": 43,
"b": 26
},
"hsl": {
"h": 6.623,
"s": 74.757,
"l": 40.392
},
"oklch": {
"l": 0.50698,
"c": 0.17608,
"h": 30.8
},
"luminance": 0.11506
}Semantic roles & 50–950 ramp
primary
#B42B1A
secondary
#5DC0CC
accent
#DDF136
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160804
muted
#847B79