#B22F31#B22F31
#B22F31 is a mid, vivid red. Relative luminance 0.117; OKLCH L 51.0% C 0.168 H 24.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #B22F31 |
|---|---|
| RGB | rgb(178, 47, 49) |
| HSL | hsl(359, 58%, 44%) |
| HSV | hsv(359, 74%, 70%) |
| CMYK | cmyk(0%, 73.6%, 72.5%, 30.2%) |
| CIE-LAB | lab(40.77, 52.36, 30.75) |
| CIE-LCH | lch(40.77, 60.72, 30.42°) |
| OKLab | oklab(50.96% 0.1523 0.0701) |
| OKLCH | oklch(50.96% 0.168 24.7) |
| XYZ | xyz(19.9332, 11.7228, 4.1183) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.98
Firebrick
#B22222
ΔE00 3.18
Dull Red
#BB3F3F
ΔE00 4.01
Lipstick Red
#C0022F
ΔE00 4.07
Cardinal
#C41E3A
ΔE00 4.66
Scarlet
#BE0119
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22F31 #2FB2B0
analogous
#B22F73 #B22F31 #B26F2F
triadic
#B22F31 #31B22F #2F31B2
tetradic
#B22F31 #73B22F #2FB2B0 #6F2FB2
square
#B22F31 #73B22F #2FB2B0 #6F2FB2
split-complementary
#B22F31 #2FB26F #2F73B2
monochromatic
#511516 #822224 #B22F31 #D04E50 #DD7E80
Accessibility & contrast
On white
6.28
#B22F31 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#B22F31 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22F31
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22F31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22F31 | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554E30
Deuteranopia (green-blind)
#766A2D
Tritanopia (blue-blind)
#C40031
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b22f31; /* rgb */ color: rgb(178, 47, 49); /* oklch */ color: oklch(51.0% 0.168 24.7);
Tailwind
colors: {
custom: {
50: '#d17269',
500: '#b22f31',
950: '#000000',
},
}SCSS
$custom: #b22f31; $custom-light: #d17269; $custom-dark: #000000;
JSON
{
"hex": "#b22f31",
"rgb": {
"r": 178,
"g": 47,
"b": 49
},
"hsl": {
"h": 359.084,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.50964,
"c": 0.16769,
"h": 24.7
},
"luminance": 0.1172
}Semantic roles & 50–950 ramp
primary
#B22F31
secondary
#77C6C5
accent
#E1DF46
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A