#B42E31#B42E31
#B42E31 is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.2% C 0.171 H 24.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #B42E31 |
|---|---|
| RGB | rgb(180, 46, 49) |
| HSL | hsl(359, 59%, 44%) |
| HSV | hsv(359, 74%, 71%) |
| CMYK | cmyk(0%, 74.4%, 72.8%, 29.4%) |
| CIE-LAB | lab(41.03, 53.34, 31.14) |
| CIE-LCH | lch(41.03, 61.76, 30.28°) |
| OKLab | oklab(51.22% 0.1552 0.0708) |
| OKLCH | oklch(51.22% 0.171 24.5) |
| XYZ | xyz(20.3561, 11.8822, 4.1268) |
| Luminance | 0.1188 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.23
Brown
#A52A2A
ΔE00 3.28
Lipstick Red
#C0022F
ΔE00 3.84
Dull Red
#BB3F3F
ΔE00 3.86
Cardinal
#C41E3A
ΔE00 4.40
Scarlet
#BE0119
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42E31 #2EB4B1
analogous
#B42E74 #B42E31 #B46E2E
triadic
#B42E31 #31B42E #2E31B4
tetradic
#B42E31 #74B42E #2EB4B1 #6E2EB4
square
#B42E31 #74B42E #2EB4B1 #6E2EB4
split-complementary
#B42E31 #2EB46E #2E74B4
monochromatic
#531516 #832224 #B42E31 #D24E51 #DE7E80
Accessibility & contrast
On white
6.22
#B42E31 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#B42E31 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42E31
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42E31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42E31 | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564E30
Deuteranopia (green-blind)
#776B2C
Tritanopia (blue-blind)
#C60031
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b42e31; /* rgb */ color: rgb(180, 46, 49); /* oklch */ color: oklch(51.2% 0.171 24.5);
Tailwind
colors: {
custom: {
50: '#d37169',
500: '#b42e31',
950: '#000000',
},
}SCSS
$custom: #b42e31; $custom-light: #d37169; $custom-dark: #000000;
JSON
{
"hex": "#b42e31",
"rgb": {
"r": 180,
"g": 46,
"b": 49
},
"hsl": {
"h": 358.657,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.51224,
"c": 0.1706,
"h": 24.5
},
"luminance": 0.11879
}Semantic roles & 50–950 ramp
primary
#B42E31
secondary
#77C7C5
accent
#E2DF45
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A