#B42242#B42242
#B42242 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.5% C 0.180 H 15.1°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #B42242 |
|---|---|
| RGB | rgb(180, 34, 66) |
| HSL | hsl(347, 68%, 42%) |
| HSV | hsv(347, 81%, 71%) |
| CMYK | cmyk(0%, 81.1%, 63.3%, 29.4%) |
| CIE-LAB | lab(39.99, 57.94, 19.38) |
| CIE-LCH | lch(39.99, 61.09, 18.49°) |
| OKLab | oklab(50.54% 0.1736 0.0469) |
| OKLCH | oklch(50.54% 0.18 15.1) |
| XYZ | xyz(20.3800, 11.2438, 6.2504) |
| Luminance | 0.1124 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 2.33
Rouge
#AB1239
ΔE00 2.86
Ruby
#CA0147
ΔE00 3.87
Cardinal
#C41E3A
ΔE00 4.72
Raspberry (survey)
#B00149
ΔE00 5.17
Purplish Red
#B0054B
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42242 #22B494
analogous
#B4228B #B42242 #B44B22
triadic
#B42242 #42B422 #2242B4
tetradic
#B42242 #8BB422 #22B494 #4B22B4
square
#B42242 #8BB422 #22B494 #4B22B4
split-complementary
#B42242 #22B44B #228BB4
monochromatic
#4D0F1C #81182F #B42242 #DA3A5D #E36D87
Accessibility & contrast
On white
6.47
#B42242 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#B42242 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42242
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42242 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42242 | 1.00 | 6.47 | 3.25 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 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: #b42242; /* rgb */ color: rgb(180, 34, 66); /* oklch */ color: oklch(50.5% 0.180 15.1);
Tailwind
colors: {
custom: {
50: '#d26d76',
500: '#b42242',
950: '#000000',
},
}SCSS
$custom: #b42242; $custom-light: #d26d76; $custom-dark: #000000;
JSON
{
"hex": "#b42242",
"rgb": {
"r": 180,
"g": 34,
"b": 66
},
"hsl": {
"h": 346.849,
"s": 68.224,
"l": 41.961
},
"oklch": {
"l": 0.50542,
"c": 0.17979,
"h": 15.1
},
"luminance": 0.11241
}Semantic roles & 50–950 ramp
primary
#B42242
secondary
#68CAB4
accent
#EBC53D
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B