#B42E40#B42E40
#B42E40 is a mid, vivid red. Relative luminance 0.120; OKLCH L 51.5% C 0.170 H 18.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #B42E40 |
|---|---|
| RGB | rgb(180, 46, 64) |
| HSL | hsl(352, 59%, 44%) |
| HSV | hsv(352, 74%, 71%) |
| CMYK | cmyk(0%, 74.4%, 64.4%, 29.4%) |
| CIE-LAB | lab(41.26, 54.13, 22.29) |
| CIE-LCH | lch(41.26, 58.53, 22.38°) |
| OKLab | oklab(51.48% 0.1609 0.0534) |
| OKLCH | oklch(51.48% 0.17 18.4) |
| XYZ | xyz(20.7270, 12.0305, 6.0802) |
| Luminance | 0.1203 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 3.24
Rose Red
#BE013C
ΔE00 3.40
Lipstick Red
#C0022F
ΔE00 4.39
Rouge
#AB1239
ΔE00 4.41
Ruby
#CA0147
ΔE00 4.95
Dull Red
#BB3F3F
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42E40 #2EB4A2
analogous
#B42E83 #B42E40 #B45F2E
triadic
#B42E40 #40B42E #2E40B4
tetradic
#B42E40 #83B42E #2EB4A2 #5F2EB4
square
#B42E40 #83B42E #2EB4A2 #5F2EB4
split-complementary
#B42E40 #2EB45F #2E83B4
monochromatic
#53151D #83222F #B42E40 #D24E5F #DE7E8B
Accessibility & contrast
On white
6.17
#B42E40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#B42E40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42E40
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42E40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42E40 | 1.00 | 6.17 | 3.41 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544F40
Deuteranopia (green-blind)
#756C3C
Tritanopia (blue-blind)
#C60036
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b42e40; /* rgb */ color: rgb(180, 46, 64); /* oklch */ color: oklch(51.5% 0.170 18.4);
Tailwind
colors: {
custom: {
50: '#d27274',
500: '#b42e40',
950: '#000000',
},
}SCSS
$custom: #b42e40; $custom-light: #d27274; $custom-dark: #000000;
JSON
{
"hex": "#b42e40",
"rgb": {
"r": 180,
"g": 46,
"b": 64
},
"hsl": {
"h": 351.94,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.51476,
"c": 0.16953,
"h": 18.4
},
"luminance": 0.12027
}Semantic roles & 50–950 ramp
primary
#B42E40
secondary
#77C7BC
accent
#E2CD45
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B