#B42B15#B42B15
#B42B15 is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.7% C 0.177 H 31.8°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #B42B15 |
|---|---|
| RGB | rgb(180, 43, 21) |
| HSL | hsl(8, 79%, 39%) |
| HSV | hsv(8, 88%, 71%) |
| CMYK | cmyk(0%, 76.1%, 88.3%, 29.4%) |
| CIE-LAB | lab(40.39, 53.46, 45.51) |
| CIE-LCH | lch(40.39, 70.20, 40.41°) |
| OKLab | oklab(50.66% 0.1501 0.0932) |
| OKLCH | oklch(50.66% 0.177 31.8) |
| XYZ | xyz(19.8241, 11.4884, 1.8830) |
| Luminance | 0.1148 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rusty Red
#AF2F0D
ΔE00 2.29
Rust Red
#AA2704
ΔE00 3.25
Brick
#A03623
ΔE00 4.34
Firebrick
#B22222
ΔE00 4.60
Brownish Red
#9E3623
ΔE00 4.69
Scarlet
#BE0119
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42B15 #159EB4
analogous
#B4154F #B42B15 #B47B15
triadic
#B42B15 #15B42B #2B15B4
tetradic
#B42B15 #4FB415 #159EB4 #7B15B4
square
#B42B15 #4FB415 #159EB4 #7B15B4
split-complementary
#B42B15 #15B47B #154FB4
monochromatic
#461108 #7D1E0F #B42B15 #E53C21 #EC6C58
Accessibility & contrast
On white
6.37
#B42B15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#B42B15 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42B15
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42B15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42B15 | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564C0F
Deuteranopia (green-blind)
#786A0A
Tritanopia (blue-blind)
#C70028
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b42b15; /* rgb */ color: rgb(180, 43, 21); /* oklch */ color: oklch(50.7% 0.177 31.8);
Tailwind
colors: {
custom: {
50: '#d57056',
500: '#b42b15',
950: '#000000',
},
}SCSS
$custom: #b42b15; $custom-light: #d57056; $custom-dark: #000000;
JSON
{
"hex": "#b42b15",
"rgb": {
"r": 180,
"g": 43,
"b": 21
},
"hsl": {
"h": 8.302,
"s": 79.104,
"l": 39.412
},
"oklch": {
"l": 0.50663,
"c": 0.1767,
"h": 31.8
},
"luminance": 0.11485
}Semantic roles & 50–950 ramp
primary
#B42B15
secondary
#56BECF
accent
#DBF632
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160803
muted
#847B78