#B22831#B22831
#B22831 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.3% C 0.174 H 23.0°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #B22831 |
|---|---|
| RGB | rgb(178, 40, 49) |
| HSL | hsl(356, 63%, 43%) |
| HSV | hsv(356, 78%, 70%) |
| CMYK | cmyk(0%, 77.5%, 72.5%, 30.2%) |
| CIE-LAB | lab(39.93, 54.71, 29.76) |
| CIE-LCH | lch(39.93, 62.28, 28.55°) |
| OKLab | oklab(50.33% 0.1598 0.0679) |
| OKLCH | oklch(50.33% 0.174 23) |
| XYZ | xyz(19.6755, 11.2074, 4.0324) |
| Luminance | 0.1120 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.97
Lipstick Red
#C0022F
ΔE00 3.04
Firebrick
#B22222
ΔE00 3.76
Cardinal
#C41E3A
ΔE00 3.99
Dull Red
#BB3F3F
ΔE00 4.78
Cherry (survey)
#CF0234
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22831 #28B2A9
analogous
#B22876 #B22831 #B26428
triadic
#B22831 #31B228 #2831B2
tetradic
#B22831 #76B228 #28B2A9 #6428B2
square
#B22831 #76B228 #28B2A9 #6428B2
split-complementary
#B22831 #28B264 #2876B2
monochromatic
#4E1215 #801D23 #B22831 #D5434C #E0757C
Accessibility & contrast
On white
6.48
#B22831 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#B22831 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22831
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22831 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22831 | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524B30
Deuteranopia (green-blind)
#74692C
Tritanopia (blue-blind)
#C4002D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b22831; /* rgb */ color: rgb(178, 40, 49); /* oklch */ color: oklch(50.3% 0.174 23.0);
Tailwind
colors: {
custom: {
50: '#d16e69',
500: '#b22831',
950: '#000000',
},
}SCSS
$custom: #b22831; $custom-light: #d16e69; $custom-dark: #000000;
JSON
{
"hex": "#b22831",
"rgb": {
"r": 178,
"g": 40,
"b": 49
},
"hsl": {
"h": 356.087,
"s": 63.303,
"l": 42.745
},
"oklch": {
"l": 0.50335,
"c": 0.17366,
"h": 23
},
"luminance": 0.11204
}Semantic roles & 50–950 ramp
primary
#B22831
secondary
#6FC7C1
accent
#E6DC41
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A