#B42246#B42246
#B42246 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.6% C 0.180 H 13.4°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #B42246 |
|---|---|
| RGB | rgb(180, 34, 70) |
| HSL | hsl(345, 68%, 42%) |
| HSV | hsv(345, 81%, 71%) |
| CMYK | cmyk(0%, 81.1%, 61.1%, 29.4%) |
| CIE-LAB | lab(40.07, 58.19, 16.96) |
| CIE-LCH | lch(40.07, 60.61, 16.25°) |
| OKLab | oklab(50.63% 0.1752 0.0416) |
| OKLCH | oklch(50.63% 0.18 13.4) |
| XYZ | xyz(20.5021, 11.2926, 6.8933) |
| Luminance | 0.1129 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 3.12
Rouge
#AB1239
ΔE00 3.37
Ruby
#CA0147
ΔE00 3.80
Raspberry (survey)
#B00149
ΔE00 4.15
Purplish Red
#B0054B
ΔE00 4.39
Cardinal
#C41E3A
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B42246 #22B490
analogous
#B4228F #B42246 #B44722
triadic
#B42246 #46B422 #2246B4
tetradic
#B42246 #8FB422 #22B490 #4722B4
square
#B42246 #8FB422 #22B490 #4722B4
split-complementary
#B42246 #22B447 #228FB4
monochromatic
#4D0F1E #811832 #B42246 #DA3A61 #E36D8A
Accessibility & contrast
On white
6.45
#B42246 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#B42246 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B42246
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B42246 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B42246 | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4B46
Deuteranopia (green-blind)
#726942
Tritanopia (blue-blind)
#C50032
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b42246; /* rgb */ color: rgb(180, 34, 70); /* oklch */ color: oklch(50.6% 0.180 13.4);
Tailwind
colors: {
custom: {
50: '#d26d79',
500: '#b42246',
950: '#000000',
},
}SCSS
$custom: #b42246; $custom-light: #d26d79; $custom-dark: #000000;
JSON
{
"hex": "#b42246",
"rgb": {
"r": 180,
"g": 34,
"b": 70
},
"hsl": {
"h": 345.205,
"s": 68.224,
"l": 41.961
},
"oklch": {
"l": 0.50628,
"c": 0.18002,
"h": 13.4
},
"luminance": 0.1129
}Semantic roles & 50–950 ramp
primary
#B42246
secondary
#68CAB2
accent
#EBC03D
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B