#B42E1A#B42E1A
#B42E1A is a mid, vivid red. Relative luminance 0.117; OKLCH L 51.0% C 0.174 H 31.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #B42E1A |
|---|---|
| RGB | rgb(180, 46, 26) |
| HSL | hsl(8, 75%, 40%) |
| HSV | hsv(8, 86%, 71%) |
| CMYK | cmyk(0%, 74.4%, 85.6%, 29.4%) |
| CIE-LAB | lab(40.79, 52.54, 43.53) |
| CIE-LCH | lch(40.79, 68.23, 39.64°) |
| OKLab | oklab(50.97% 0.1481 0.0908) |
| OKLCH | oklch(50.97% 0.174 31.5) |
| XYZ | xyz(19.9883, 11.7350, 2.1897) |
| Luminance | 0.1173 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rusty Red
#AF2F0D
ΔE00 2.88
Rust Red
#AA2704
ΔE00 3.92
Brick
#A03623
ΔE00 4.05
Firebrick
#B22222
ΔE00 4.12
Brownish Red
#9E3623
ΔE00 4.43
Scarlet
#BE0119
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42E1A #1AA0B4
analogous
#B41A53 #B42E1A #B47B1A
triadic
#B42E1A #1AB42E #2E1AB4
tetradic
#B42E1A #53B41A #1AA0B4 #7B1AB4
square
#B42E1A #53B41A #1AA0B4 #7B1AB4
split-complementary
#B42E1A #1AB47B #1A53B4
monochromatic
#49130B #7F2012 #B42E1A #E0422B #E87260
Accessibility & contrast
On white
6.28
#B42E1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#B42E1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42E1A
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42E1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42E1A | 1.00 | 6.28 | 3.35 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574D16
Deuteranopia (green-blind)
#786B11
Tritanopia (blue-blind)
#C7002B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b42e1a; /* rgb */ color: rgb(180, 46, 26); /* oklch */ color: oklch(51.0% 0.174 31.5);
Tailwind
colors: {
custom: {
50: '#d47159',
500: '#b42e1a',
950: '#000000',
},
}SCSS
$custom: #b42e1a; $custom-light: #d47159; $custom-dark: #000000;
JSON
{
"hex": "#b42e1a",
"rgb": {
"r": 180,
"g": 46,
"b": 26
},
"hsl": {
"h": 7.792,
"s": 74.757,
"l": 40.392
},
"oklch": {
"l": 0.50973,
"c": 0.17375,
"h": 31.5
},
"luminance": 0.11732
}Semantic roles & 50–950 ramp
primary
#B42E1A
secondary
#5DBECC
accent
#D9F136
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160804
muted
#847B79