#B42F18#B42F18
#B42F18 is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.1% C 0.173 H 32.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #B42F18 |
|---|---|
| RGB | rgb(180, 47, 24) |
| HSL | hsl(9, 76%, 40%) |
| HSV | hsv(9, 87%, 71%) |
| CMYK | cmyk(0%, 73.9%, 86.7%, 29.4%) |
| CIE-LAB | lab(40.91, 52.15, 44.57) |
| CIE-LCH | lch(40.91, 68.60, 40.52°) |
| OKLab | oklab(51.05% 0.1465 0.0924) |
| OKLCH | oklch(51.05% 0.173 32.2) |
| XYZ | xyz(20.0062, 11.8054, 2.0892) |
| Luminance | 0.1180 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rusty Red
#AF2F0D
ΔE00 2.33
Rust Red
#AA2704
ΔE00 3.55
Brick
#A03623
ΔE00 4.25
Brownish Red
#9E3623
ΔE00 4.61
Firebrick
#B22222
ΔE00 4.74
Scarlet
#BE0119
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42F18 #189DB4
analogous
#B4184F #B42F18 #B47D18
triadic
#B42F18 #18B42F #2F18B4
tetradic
#B42F18 #4FB418 #189DB4 #7D18B4
square
#B42F18 #4FB418 #189DB4 #7D18B4
split-complementary
#B42F18 #18B47D #184FB4
monochromatic
#48130A #7E2111 #B42F18 #E24327 #E9725D
Accessibility & contrast
On white
6.25
#B42F18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#B42F18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42F18
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42F18 | 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)
#584E13
Deuteranopia (green-blind)
#796B0F
Tritanopia (blue-blind)
#C7002B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b42f18; /* rgb */ color: rgb(180, 47, 24); /* oklch */ color: oklch(51.1% 0.173 32.2);
Tailwind
colors: {
custom: {
50: '#d47158',
500: '#b42f18',
950: '#000000',
},
}SCSS
$custom: #b42f18; $custom-light: #d47158; $custom-dark: #000000;
JSON
{
"hex": "#b42f18",
"rgb": {
"r": 180,
"g": 47,
"b": 24
},
"hsl": {
"h": 8.846,
"s": 76.471,
"l": 40
},
"oklch": {
"l": 0.51053,
"c": 0.17322,
"h": 32.2
},
"luminance": 0.11802
}Semantic roles & 50–950 ramp
primary
#B42F18
secondary
#5BBCCD
accent
#D7F335
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160803
muted
#847B78