#B42E15#B42E15
#B42E15 is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.9% C 0.174 H 32.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #B42E15 |
|---|---|
| RGB | rgb(180, 46, 21) |
| HSL | hsl(9, 79%, 39%) |
| HSV | hsv(9, 88%, 71%) |
| CMYK | cmyk(0%, 74.4%, 88.3%, 29.4%) |
| CIE-LAB | lab(40.76, 52.43, 45.80) |
| CIE-LCH | lch(40.76, 69.62, 41.14°) |
| OKLab | oklab(50.94% 0.147 0.0939) |
| OKLCH | oklch(50.94% 0.174 32.6) |
| XYZ | xyz(19.9372, 11.7146, 1.9207) |
| Luminance | 0.1171 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rusty Red
#AF2F0D
ΔE00 1.89
Rust Red
#AA2704
ΔE00 3.16
Brick
#A03623
ΔE00 4.47
Brownish Red
#9E3623
ΔE00 4.82
Burnt Red
#9F2305
ΔE00 5.01
Firebrick
#B22222
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42E15 #159BB4
analogous
#B4154C #B42E15 #B47E15
triadic
#B42E15 #15B42E #2E15B4
tetradic
#B42E15 #4CB415 #159BB4 #7E15B4
square
#B42E15 #4CB415 #159BB4 #7E15B4
split-complementary
#B42E15 #15B47E #154CB4
monochromatic
#461208 #7D200F #B42E15 #E54021 #EC6F58
Accessibility & contrast
On white
6.28
#B42E15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#B42E15 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42E15
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42E15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42E15 | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#584D0F
Deuteranopia (green-blind)
#786B0A
Tritanopia (blue-blind)
#C7002A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b42e15; /* rgb */ color: rgb(180, 46, 21); /* oklch */ color: oklch(50.9% 0.174 32.6);
Tailwind
colors: {
custom: {
50: '#d47157',
500: '#b42e15',
950: '#000000',
},
}SCSS
$custom: #b42e15; $custom-light: #d47157; $custom-dark: #000000;
JSON
{
"hex": "#b42e15",
"rgb": {
"r": 180,
"g": 46,
"b": 21
},
"hsl": {
"h": 9.434,
"s": 79.104,
"l": 39.412
},
"oklch": {
"l": 0.50937,
"c": 0.1744,
"h": 32.6
},
"luminance": 0.11711
}Semantic roles & 50–950 ramp
primary
#B42E15
secondary
#56BCCF
accent
#D7F632
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160803
muted
#847B78