#B22842#B22842
#B22842 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.6% C 0.173 H 15.9°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #B22842 |
|---|---|
| RGB | rgb(178, 40, 66) |
| HSL | hsl(349, 63%, 43%) |
| HSV | hsv(349, 78%, 70%) |
| CMYK | cmyk(0%, 77.5%, 62.9%, 30.2%) |
| CIE-LAB | lab(40.21, 55.62, 19.60) |
| CIE-LCH | lch(40.21, 58.97, 19.41°) |
| OKLab | oklab(50.64% 0.1664 0.0475) |
| OKLCH | oklch(50.64% 0.173 15.9) |
| XYZ | xyz(20.1044, 11.3789, 6.2909) |
| Luminance | 0.1138 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 2.77
Rouge
#AB1239
ΔE00 3.12
Ruby
#CA0147
ΔE00 4.33
Cardinal
#C41E3A
ΔE00 4.51
Lipstick Red
#C0022F
ΔE00 5.40
Raspberry (survey)
#B00149
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22842 #28B298
analogous
#B22887 #B22842 #B25328
triadic
#B22842 #42B228 #2842B2
tetradic
#B22842 #87B228 #28B298 #5328B2
square
#B22842 #87B228 #28B298 #5328B2
split-complementary
#B22842 #28B253 #2887B2
monochromatic
#4E121D #801D2F #B22842 #D5435E #E07589
Accessibility & contrast
On white
6.41
#B22842 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#B22842 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22842
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22842 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22842 | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4C42
Deuteranopia (green-blind)
#72693E
Tritanopia (blue-blind)
#C30033
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b22842; /* rgb */ color: rgb(178, 40, 66); /* oklch */ color: oklch(50.6% 0.173 15.9);
Tailwind
colors: {
custom: {
50: '#d06f76',
500: '#b22842',
950: '#000000',
},
}SCSS
$custom: #b22842; $custom-light: #d06f76; $custom-dark: #000000;
JSON
{
"hex": "#b22842",
"rgb": {
"r": 178,
"g": 40,
"b": 66
},
"hsl": {
"h": 348.696,
"s": 63.303,
"l": 42.745
},
"oklch": {
"l": 0.50637,
"c": 0.17302,
"h": 15.9
},
"luminance": 0.11376
}Semantic roles & 50–950 ramp
primary
#B22842
secondary
#6FC7B7
accent
#E6C741
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B