#B42F1A#B42F1A
#B42F1A is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.1% C 0.173 H 31.8°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #B42F1A |
|---|---|
| RGB | rgb(180, 47, 26) |
| HSL | hsl(8, 75%, 40%) |
| HSV | hsv(8, 86%, 71%) |
| CMYK | cmyk(0%, 73.9%, 85.6%, 29.4%) |
| CIE-LAB | lab(40.92, 52.19, 43.64) |
| CIE-LCH | lch(40.92, 68.03, 39.90°) |
| OKLab | oklab(51.07% 0.147 0.0911) |
| OKLCH | oklch(51.07% 0.173 31.8) |
| XYZ | xyz(20.0278, 11.8141, 2.2029) |
| Luminance | 0.1181 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rusty Red
#AF2F0D
ΔE00 2.75
Rust Red
#AA2704
ΔE00 3.87
Brick
#A03623
ΔE00 4.08
Firebrick
#B22222
ΔE00 4.33
Brownish Red
#9E3623
ΔE00 4.46
Scarlet
#BE0119
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42F1A #1A9FB4
analogous
#B41A52 #B42F1A #B47C1A
triadic
#B42F1A #1AB42F #2F1AB4
tetradic
#B42F1A #52B41A #1A9FB4 #7C1AB4
square
#B42F1A #52B41A #1A9FB4 #7C1AB4
split-complementary
#B42F1A #1AB47C #1A52B4
monochromatic
#49130B #7F2112 #B42F1A #E0442B #E87360
Accessibility & contrast
On white
6.25
#B42F1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#B42F1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42F1A
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42F1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42F1A | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#584E15
Deuteranopia (green-blind)
#796B12
Tritanopia (blue-blind)
#C7002C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b42f1a; /* rgb */ color: rgb(180, 47, 26); /* oklch */ color: oklch(51.1% 0.173 31.8);
Tailwind
colors: {
custom: {
50: '#d4715a',
500: '#b42f1a',
950: '#000000',
},
}SCSS
$custom: #b42f1a; $custom-light: #d4715a; $custom-dark: #000000;
JSON
{
"hex": "#b42f1a",
"rgb": {
"r": 180,
"g": 47,
"b": 26
},
"hsl": {
"h": 8.182,
"s": 74.757,
"l": 40.392
},
"oklch": {
"l": 0.51068,
"c": 0.17294,
"h": 31.8
},
"luminance": 0.11811
}Semantic roles & 50–950 ramp
primary
#B42F1A
secondary
#5DBDCC
accent
#D8F136
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160804
muted
#847B79