#B22929#B22929
#B22929 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.3% C 0.174 H 26.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #B22929 |
|---|---|
| RGB | rgb(178, 41, 41) |
| HSL | hsl(0, 63%, 43%) |
| HSV | hsv(0, 77%, 70%) |
| CMYK | cmyk(0%, 77%, 77%, 30.2%) |
| CIE-LAB | lab(39.94, 54.06, 34.52) |
| CIE-LCH | lch(39.94, 64.14, 32.56°) |
| OKLab | oklab(50.31% 0.156 0.0764) |
| OKLCH | oklch(50.31% 0.174 26.1) |
| XYZ | xyz(19.5556, 11.2140, 3.2322) |
| Luminance | 0.1121 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.42
Brown
#A52A2A
ΔE00 2.67
Scarlet
#BE0119
ΔE00 3.49
Lipstick Red
#C0022F
ΔE00 4.66
Brick
#A03623
ΔE00 5.04
Brownish Red
#9E3623
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22929 #29B2B2
analogous
#B2296D #B22929 #B26D29
triadic
#B22929 #29B229 #2929B2
tetradic
#B22929 #6DB229 #29B2B2 #6D29B2
square
#B22929 #6DB229 #29B2B2 #6D29B2
split-complementary
#B22929 #29B26D #296DB2
monochromatic
#4F1212 #801E1E #B22929 #D44444 #DF7676
Accessibility & contrast
On white
6.48
#B22929 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#B22929 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22929
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22929 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22929 | 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)
#534B27
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#C4002B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b22929; /* rgb */ color: rgb(178, 41, 41); /* oklch */ color: oklch(50.3% 0.174 26.1);
Tailwind
colors: {
custom: {
50: '#d26f63',
500: '#b22929',
950: '#000000',
},
}SCSS
$custom: #b22929; $custom-light: #d26f63; $custom-dark: #000000;
JSON
{
"hex": "#b22929",
"rgb": {
"r": 178,
"g": 41,
"b": 41
},
"hsl": {
"h": 0,
"s": 62.557,
"l": 42.941
},
"oklch": {
"l": 0.50311,
"c": 0.1737,
"h": 26.1
},
"luminance": 0.11211
}Semantic roles & 50–950 ramp
primary
#B22929
secondary
#70C7C7
accent
#E6E642
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79