#B42E30#B42E30
#B42E30 is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.2% C 0.171 H 24.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #B42E30 |
|---|---|
| RGB | rgb(180, 46, 48) |
| HSL | hsl(359, 59%, 44%) |
| HSV | hsv(359, 74%, 71%) |
| CMYK | cmyk(0%, 74.4%, 73.3%, 29.4%) |
| CIE-LAB | lab(41.01, 53.29, 31.72) |
| CIE-LCH | lch(41.01, 62.02, 30.76°) |
| OKLab | oklab(51.21% 0.1548 0.0719) |
| OKLCH | oklch(51.21% 0.171 24.9) |
| XYZ | xyz(20.3352, 11.8738, 4.0169) |
| Luminance | 0.1187 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.98
Brown
#A52A2A
ΔE00 3.23
Dull Red
#BB3F3F
ΔE00 3.95
Lipstick Red
#C0022F
ΔE00 4.01
Cardinal
#C41E3A
ΔE00 4.64
Scarlet
#BE0119
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42E30 #2EB4B2
analogous
#B42E73 #B42E30 #B46F2E
triadic
#B42E30 #30B42E #2E30B4
tetradic
#B42E30 #73B42E #2EB4B2 #6F2EB4
square
#B42E30 #73B42E #2EB4B2 #6F2EB4
split-complementary
#B42E30 #2EB46F #2E73B4
monochromatic
#531516 #832223 #B42E30 #D24E50 #DE7E80
Accessibility & contrast
On white
6.22
#B42E30 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#B42E30 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42E30
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42E30 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42E30 | 1.00 | 6.22 | 3.37 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564E2F
Deuteranopia (green-blind)
#776B2B
Tritanopia (blue-blind)
#C60030
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b42e30; /* rgb */ color: rgb(180, 46, 48); /* oklch */ color: oklch(51.2% 0.171 24.9);
Tailwind
colors: {
custom: {
50: '#d37168',
500: '#b42e30',
950: '#000000',
},
}SCSS
$custom: #b42e30; $custom-light: #d37168; $custom-dark: #000000;
JSON
{
"hex": "#b42e30",
"rgb": {
"r": 180,
"g": 46,
"b": 48
},
"hsl": {
"h": 359.104,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.5121,
"c": 0.17072,
"h": 24.9
},
"luminance": 0.11871
}Semantic roles & 50–950 ramp
primary
#B42E30
secondary
#77C7C6
accent
#E2E045
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A