#B22937#B22937
#B22937 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.5% C 0.172 H 20.9°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #B22937 |
|---|---|
| RGB | rgb(178, 41, 55) |
| HSL | hsl(354, 63%, 43%) |
| HSV | hsv(354, 77%, 70%) |
| CMYK | cmyk(0%, 77%, 69.1%, 30.2%) |
| CIE-LAB | lab(40.13, 54.68, 26.34) |
| CIE-LCH | lch(40.13, 60.70, 25.72°) |
| OKLab | oklab(50.52% 0.1611 0.0614) |
| OKLCH | oklch(50.52% 0.172 20.9) |
| XYZ | xyz(19.8448, 11.3297, 4.7556) |
| Luminance | 0.1133 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick Red
#C0022F
ΔE00 3.07
Cardinal
#C41E3A
ΔE00 3.26
Rose Red
#BE013C
ΔE00 4.20
Brown
#A52A2A
ΔE00 4.21
Rouge
#AB1239
ΔE00 4.76
Dull Red
#BB3F3F
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22937 #29B2A4
analogous
#B2297B #B22937 #B26029
triadic
#B22937 #37B229 #2937B2
tetradic
#B22937 #7BB229 #29B2A4 #6029B2
square
#B22937 #7BB229 #29B2A4 #6029B2
split-complementary
#B22937 #29B260 #297BB2
monochromatic
#4F1218 #801E28 #B22937 #D44453 #DF7681
Accessibility & contrast
On white
6.43
#B22937 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#B22937 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22937
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22937 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22937 | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514C36
Deuteranopia (green-blind)
#746933
Tritanopia (blue-blind)
#C40030
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b22937; /* rgb */ color: rgb(178, 41, 55); /* oklch */ color: oklch(50.5% 0.172 20.9);
Tailwind
colors: {
custom: {
50: '#d16f6d',
500: '#b22937',
950: '#000000',
},
}SCSS
$custom: #b22937; $custom-light: #d16f6d; $custom-dark: #000000;
JSON
{
"hex": "#b22937",
"rgb": {
"r": 178,
"g": 41,
"b": 55
},
"hsl": {
"h": 353.869,
"s": 62.557,
"l": 42.941
},
"oklch": {
"l": 0.50515,
"c": 0.17238,
"h": 20.9
},
"luminance": 0.11327
}Semantic roles & 50–950 ramp
primary
#B22937
secondary
#70C7BE
accent
#E6D542
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A