#B42A1A#B42A1A
#B42A1A is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.6% C 0.177 H 30.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #B42A1A |
|---|---|
| RGB | rgb(180, 42, 26) |
| HSL | hsl(6, 75%, 40%) |
| HSV | hsv(6, 86%, 71%) |
| CMYK | cmyk(0%, 76.7%, 85.6%, 29.4%) |
| CIE-LAB | lab(40.31, 53.89, 43.11) |
| CIE-LCH | lch(40.31, 69.01, 38.65°) |
| OKLab | oklab(50.61% 0.1523 0.0899) |
| OKLCH | oklch(50.61% 0.177 30.5) |
| XYZ | xyz(19.8393, 11.4370, 2.1400) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.37
Rusty Red
#AF2F0D
ΔE00 3.46
Scarlet
#BE0119
ΔE00 3.77
Brick
#A03623
ΔE00 4.02
Rust Red
#AA2704
ΔE00 4.20
Brownish Red
#9E3623
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42A1A #1AA4B4
analogous
#B41A57 #B42A1A #B4771A
triadic
#B42A1A #1AB42A #2A1AB4
tetradic
#B42A1A #57B41A #1AA4B4 #771AB4
square
#B42A1A #57B41A #1AA4B4 #771AB4
split-complementary
#B42A1A #1AB477 #1A57B4
monochromatic
#49110B #7F1E12 #B42A1A #E03E2B #E86E60
Accessibility & contrast
On white
6.39
#B42A1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#B42A1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42A1A
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42A1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42A1A | 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)
#554C16
Deuteranopia (green-blind)
#776A11
Tritanopia (blue-blind)
#C70028
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b42a1a; /* rgb */ color: rgb(180, 42, 26); /* oklch */ color: oklch(50.6% 0.177 30.5);
Tailwind
colors: {
custom: {
50: '#d46f59',
500: '#b42a1a',
950: '#000000',
},
}SCSS
$custom: #b42a1a; $custom-light: #d46f59; $custom-dark: #000000;
JSON
{
"hex": "#b42a1a",
"rgb": {
"r": 180,
"g": 42,
"b": 26
},
"hsl": {
"h": 6.234,
"s": 74.757,
"l": 40.392
},
"oklch": {
"l": 0.50611,
"c": 0.17684,
"h": 30.5
},
"luminance": 0.11434
}Semantic roles & 50–950 ramp
primary
#B42A1A
secondary
#5DC1CC
accent
#DEF136
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160804
muted
#847B79