#B22042#B22042
#B22042 is a mid, vivid red. Relative luminance 0.109; OKLCH L 50.0% C 0.179 H 14.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #B22042 |
|---|---|
| RGB | rgb(178, 32, 66) |
| HSL | hsl(346, 70%, 41%) |
| HSV | hsv(346, 82%, 70%) |
| CMYK | cmyk(0%, 82%, 62.9%, 30.2%) |
| CIE-LAB | lab(39.40, 57.91, 18.53) |
| CIE-LCH | lch(39.40, 60.80, 17.75°) |
| OKLab | oklab(50.04% 0.1737 0.045) |
| OKLCH | oklch(50.04% 0.179 14.5) |
| XYZ | xyz(19.8621, 10.8944, 6.2102) |
| Luminance | 0.1089 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.48
Rose Red
#BE013C
ΔE00 2.65
Ruby
#CA0147
ΔE00 4.19
Raspberry (survey)
#B00149
ΔE00 4.59
Purplish Red
#B0054B
ΔE00 4.90
Cardinal
#C41E3A
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22042 #20B290
analogous
#B2208B #B22042 #B24720
triadic
#B22042 #42B220 #2042B2
tetradic
#B22042 #8BB220 #20B290 #4720B2
square
#B22042 #8BB220 #20B290 #4720B2
split-complementary
#B22042 #20B247 #208BB2
monochromatic
#4A0D1C #7E172F #B22042 #DB355B #E46885
Accessibility & contrast
On white
6.61
#B22042 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#B22042 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22042
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22042 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22042 | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4A42
Deuteranopia (green-blind)
#70673E
Tritanopia (blue-blind)
#C3002F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b22042; /* rgb */ color: rgb(178, 32, 66); /* oklch */ color: oklch(50.0% 0.179 14.5);
Tailwind
colors: {
custom: {
50: '#d16c76',
500: '#b22042',
950: '#000000',
},
}SCSS
$custom: #b22042; $custom-light: #d16c76; $custom-dark: #000000;
JSON
{
"hex": "#b22042",
"rgb": {
"r": 178,
"g": 32,
"b": 66
},
"hsl": {
"h": 346.027,
"s": 69.524,
"l": 41.176
},
"oklch": {
"l": 0.50039,
"c": 0.17948,
"h": 14.5
},
"luminance": 0.10891
}Semantic roles & 50–950 ramp
primary
#B22042
secondary
#64CAB2
accent
#ECC33B
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150808
muted
#837A7B