#B42E34#B42E34
#B42E34 is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.3% C 0.170 H 23.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #B42E34 |
|---|---|
| RGB | rgb(180, 46, 52) |
| HSL | hsl(357, 59%, 44%) |
| HSV | hsv(357, 74%, 71%) |
| CMYK | cmyk(0%, 74.4%, 71.1%, 29.4%) |
| CIE-LAB | lab(41.07, 53.48, 29.40) |
| CIE-LCH | lch(41.07, 61.02, 28.80°) |
| OKLab | oklab(51.27% 0.1563 0.0676) |
| OKLCH | oklch(51.27% 0.17 23.4) |
| XYZ | xyz(20.4215, 11.9083, 4.4714) |
| Luminance | 0.1191 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick Red
#C0022F
ΔE00 3.44
Brown
#A52A2A
ΔE00 3.59
Dull Red
#BB3F3F
ΔE00 3.71
Cardinal
#C41E3A
ΔE00 3.73
Firebrick
#B22222
ΔE00 4.05
Cherry (survey)
#CF0234
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42E34 #2EB4AE
analogous
#B42E77 #B42E34 #B46B2E
triadic
#B42E34 #34B42E #2E34B4
tetradic
#B42E34 #77B42E #2EB4AE #6B2EB4
square
#B42E34 #77B42E #2EB4AE #6B2EB4
split-complementary
#B42E34 #2EB46B #2E77B4
monochromatic
#531518 #832226 #B42E34 #D24E53 #DE7E83
Accessibility & contrast
On white
6.21
#B42E34 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#B42E34 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42E34
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42E34 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42E34 | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554E33
Deuteranopia (green-blind)
#776B30
Tritanopia (blue-blind)
#C60032
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b42e34; /* rgb */ color: rgb(180, 46, 52); /* oklch */ color: oklch(51.3% 0.170 23.4);
Tailwind
colors: {
custom: {
50: '#d3716b',
500: '#b42e34',
950: '#000000',
},
}SCSS
$custom: #b42e34; $custom-light: #d3716b; $custom-dark: #000000;
JSON
{
"hex": "#b42e34",
"rgb": {
"r": 180,
"g": 46,
"b": 52
},
"hsl": {
"h": 357.313,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.51268,
"c": 0.17029,
"h": 23.4
},
"luminance": 0.11905
}Semantic roles & 50–950 ramp
primary
#B42E34
secondary
#77C7C3
accent
#E2DB45
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A