#B42F24#B42F24
#B42F24 is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.2% C 0.171 H 29.2°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #B42F24 |
|---|---|
| RGB | rgb(180, 47, 36) |
| HSL | hsl(5, 67%, 42%) |
| HSV | hsv(5, 80%, 71%) |
| CMYK | cmyk(0%, 73.9%, 80%, 29.4%) |
| CIE-LAB | lab(41.00, 52.48, 38.57) |
| CIE-LCH | lch(41.00, 65.13, 36.31°) |
| OKLab | oklab(51.16% 0.1497 0.0836) |
| OKLCH | oklch(51.16% 0.171 29.2) |
| XYZ | xyz(20.1597, 11.8669, 2.8978) |
| Luminance | 0.1186 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.35
Scarlet
#BE0119
ΔE00 3.56
Brick
#A03623
ΔE00 4.02
Brownish Red
#9E3623
ΔE00 4.39
Brown
#A52A2A
ΔE00 4.62
Rusty Red
#AF2F0D
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42F24 #24A9B4
analogous
#B42461 #B42F24 #B47724
triadic
#B42F24 #24B42F #2F24B4
tetradic
#B42F24 #61B424 #24A9B4 #7724B4
square
#B42F24 #61B424 #24A9B4 #7724B4
split-complementary
#B42F24 #24B477 #2461B4
monochromatic
#4E1410 #81221A #B42F24 #D8493D #E27970
Accessibility & contrast
On white
6.23
#B42F24 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#B42F24 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42F24
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42F24 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42F24 | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574E21
Deuteranopia (green-blind)
#786B1E
Tritanopia (blue-blind)
#C6002E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b42f24; /* rgb */ color: rgb(180, 47, 36); /* oklch */ color: oklch(51.2% 0.171 29.2);
Tailwind
colors: {
custom: {
50: '#d47260',
500: '#b42f24',
950: '#000000',
},
}SCSS
$custom: #b42f24; $custom-light: #d47260; $custom-dark: #000000;
JSON
{
"hex": "#b42f24",
"rgb": {
"r": 180,
"g": 47,
"b": 36
},
"hsl": {
"h": 4.583,
"s": 66.667,
"l": 42.353
},
"oklch": {
"l": 0.51157,
"c": 0.17149,
"h": 29.2
},
"luminance": 0.11864
}Semantic roles & 50–950 ramp
primary
#B42F24
secondary
#6BC2C9
accent
#DCEA3E
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160805
muted
#847B79