#B42142#B42142
#B42142 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.5% C 0.181 H 15.0°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #B42142 |
|---|---|
| RGB | rgb(180, 33, 66) |
| HSL | hsl(347, 69%, 42%) |
| HSV | hsv(347, 82%, 71%) |
| CMYK | cmyk(0%, 81.7%, 63.3%, 29.4%) |
| CIE-LAB | lab(39.89, 58.20, 19.26) |
| CIE-LCH | lch(39.89, 61.31, 18.31°) |
| OKLab | oklab(50.47% 0.1744 0.0466) |
| OKLCH | oklch(50.47% 0.181 15) |
| XYZ | xyz(20.3518, 11.1875, 6.2410) |
| Luminance | 0.1118 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 2.32
Rouge
#AB1239
ΔE00 2.79
Ruby
#CA0147
ΔE00 3.86
Cardinal
#C41E3A
ΔE00 4.82
Raspberry (survey)
#B00149
ΔE00 5.03
Purplish Red
#B0054B
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42142 #21B493
analogous
#B4218B #B42142 #B44A21
triadic
#B42142 #42B421 #2142B4
tetradic
#B42142 #8BB421 #21B493 #4A21B4
square
#B42142 #8BB421 #21B493 #4A21B4
split-complementary
#B42142 #21B44A #218BB4
monochromatic
#4D0E1C #80182F #B42142 #DA385C #E46B87
Accessibility & contrast
On white
6.49
#B42142 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#B42142 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42142
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42142 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42142 | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4B42
Deuteranopia (green-blind)
#72693E
Tritanopia (blue-blind)
#C60030
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b42142; /* rgb */ color: rgb(180, 33, 66); /* oklch */ color: oklch(50.5% 0.181 15.0);
Tailwind
colors: {
custom: {
50: '#d26d76',
500: '#b42142',
950: '#000000',
},
}SCSS
$custom: #b42142; $custom-light: #d26d76; $custom-dark: #000000;
JSON
{
"hex": "#b42142",
"rgb": {
"r": 180,
"g": 33,
"b": 66
},
"hsl": {
"h": 346.531,
"s": 69.014,
"l": 41.765
},
"oklch": {
"l": 0.50473,
"c": 0.18055,
"h": 15
},
"luminance": 0.11184
}Semantic roles & 50–950 ramp
primary
#B42142
secondary
#67CAB4
accent
#ECC43C
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B