#B42D1A#B42D1A
#B42D1A is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.9% C 0.175 H 31.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #B42D1A |
|---|---|
| RGB | rgb(180, 45, 26) |
| HSL | hsl(7, 75%, 40%) |
| HSV | hsv(7, 86%, 71%) |
| CMYK | cmyk(0%, 75%, 85.6%, 29.4%) |
| CIE-LAB | lab(40.67, 52.89, 43.42) |
| CIE-LCH | lch(40.67, 68.43, 39.38°) |
| OKLab | oklab(50.88% 0.1492 0.0906) |
| OKLCH | oklch(50.88% 0.175 31.3) |
| XYZ | xyz(19.9497, 11.6578, 2.1768) |
| Luminance | 0.1166 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rusty Red
#AF2F0D
ΔE00 3.02
Firebrick
#B22222
ΔE00 3.93
Rust Red
#AA2704
ΔE00 3.98
Brick
#A03623
ΔE00 4.03
Scarlet
#BE0119
ΔE00 4.33
Brownish Red
#9E3623
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42D1A #1AA1B4
analogous
#B41A54 #B42D1A #B47A1A
triadic
#B42D1A #1AB42D #2D1AB4
tetradic
#B42D1A #54B41A #1AA1B4 #7A1AB4
square
#B42D1A #54B41A #1AA1B4 #7A1AB4
split-complementary
#B42D1A #1AB47A #1A54B4
monochromatic
#49120B #7F2012 #B42D1A #E0412B #E87160
Accessibility & contrast
On white
6.30
#B42D1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#B42D1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42D1A
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42D1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42D1A | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574D16
Deuteranopia (green-blind)
#786B11
Tritanopia (blue-blind)
#C7002A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b42d1a; /* rgb */ color: rgb(180, 45, 26); /* oklch */ color: oklch(50.9% 0.175 31.3);
Tailwind
colors: {
custom: {
50: '#d47059',
500: '#b42d1a',
950: '#000000',
},
}SCSS
$custom: #b42d1a; $custom-light: #d47059; $custom-dark: #000000;
JSON
{
"hex": "#b42d1a",
"rgb": {
"r": 180,
"g": 45,
"b": 26
},
"hsl": {
"h": 7.403,
"s": 74.757,
"l": 40.392
},
"oklch": {
"l": 0.50879,
"c": 0.17453,
"h": 31.3
},
"luminance": 0.11655
}Semantic roles & 50–950 ramp
primary
#B42D1A
secondary
#5DBFCC
accent
#DAF136
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160804
muted
#847B79