#B42D1F#B42D1F
#B42D1F is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.9% C 0.174 H 30.0°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #B42D1F |
|---|---|
| RGB | rgb(180, 45, 31) |
| HSL | hsl(6, 71%, 41%) |
| HSV | hsv(6, 83%, 71%) |
| CMYK | cmyk(0%, 75%, 82.8%, 29.4%) |
| CIE-LAB | lab(40.71, 53.02, 40.95) |
| CIE-LCH | lch(40.71, 66.99, 37.68°) |
| OKLab | oklab(50.92% 0.1505 0.087) |
| OKLCH | oklch(50.92% 0.174 30) |
| XYZ | xyz(20.0105, 11.6822, 2.4973) |
| Luminance | 0.1168 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.86
Scarlet
#BE0119
ΔE00 3.62
Brick
#A03623
ΔE00 3.89
Rusty Red
#AF2F0D
ΔE00 4.19
Brownish Red
#9E3623
ΔE00 4.27
Rust Red
#AA2704
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42D1F #1FA6B4
analogous
#B41F5B #B42D1F #B4781F
triadic
#B42D1F #1FB42D #2D1FB4
tetradic
#B42D1F #5BB41F #1FA6B4 #781FB4
square
#B42D1F #5BB41F #1FA6B4 #781FB4
split-complementary
#B42D1F #1FB478 #1F5BB4
monochromatic
#4C130D #802016 #B42D1F #DC4434 #E57468
Accessibility & contrast
On white
6.30
#B42D1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#B42D1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42D1F
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42D1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42D1F | 1.00 | 6.30 | 3.34 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574D1C
Deuteranopia (green-blind)
#786B18
Tritanopia (blue-blind)
#C7002B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b42d1f; /* rgb */ color: rgb(180, 45, 31); /* oklch */ color: oklch(50.9% 0.174 30.0);
Tailwind
colors: {
custom: {
50: '#d4715d',
500: '#b42d1f',
950: '#000000',
},
}SCSS
$custom: #b42d1f; $custom-light: #d4715d; $custom-dark: #000000;
JSON
{
"hex": "#b42d1f",
"rgb": {
"r": 180,
"g": 45,
"b": 31
},
"hsl": {
"h": 5.638,
"s": 70.616,
"l": 41.373
},
"oklch": {
"l": 0.50921,
"c": 0.17384,
"h": 30
},
"luminance": 0.11679
}Semantic roles & 50–950 ramp
primary
#B42D1F
secondary
#64C1CB
accent
#DDED3A
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79