#B22931#B22931
#B22931 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.4% C 0.173 H 23.2°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #B22931 |
|---|---|
| RGB | rgb(178, 41, 49) |
| HSL | hsl(356, 63%, 43%) |
| HSV | hsv(356, 77%, 70%) |
| CMYK | cmyk(0%, 77%, 72.5%, 30.2%) |
| CIE-LAB | lab(40.04, 54.39, 29.89) |
| CIE-LCH | lch(40.04, 62.07, 28.79°) |
| OKLab | oklab(50.42% 0.1588 0.0682) |
| OKLCH | oklch(50.42% 0.173 23.2) |
| XYZ | xyz(19.7097, 11.2757, 4.0438) |
| Luminance | 0.1127 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.93
Lipstick Red
#C0022F
ΔE00 3.16
Firebrick
#B22222
ΔE00 3.65
Cardinal
#C41E3A
ΔE00 4.06
Dull Red
#BB3F3F
ΔE00 4.66
Cherry (survey)
#CF0234
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22931 #29B2AA
analogous
#B22976 #B22931 #B26529
triadic
#B22931 #31B229 #2931B2
tetradic
#B22931 #76B229 #29B2AA #6529B2
square
#B22931 #76B229 #29B2AA #6529B2
split-complementary
#B22931 #29B265 #2976B2
monochromatic
#4F1216 #801E23 #B22931 #D4444D #DF767C
Accessibility & contrast
On white
6.45
#B22931 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#B22931 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22931
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22931 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22931 | 1.00 | 6.45 | 3.25 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524C30
Deuteranopia (green-blind)
#74692C
Tritanopia (blue-blind)
#C4002D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b22931; /* rgb */ color: rgb(178, 41, 49); /* oklch */ color: oklch(50.4% 0.173 23.2);
Tailwind
colors: {
custom: {
50: '#d16f69',
500: '#b22931',
950: '#000000',
},
}SCSS
$custom: #b22931; $custom-light: #d16f69; $custom-dark: #000000;
JSON
{
"hex": "#b22931",
"rgb": {
"r": 178,
"g": 41,
"b": 49
},
"hsl": {
"h": 356.496,
"s": 62.557,
"l": 42.941
},
"oklch": {
"l": 0.5042,
"c": 0.17284,
"h": 23.2
},
"luminance": 0.11273
}Semantic roles & 50–950 ramp
primary
#B22931
secondary
#70C7C2
accent
#E6DC42
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A