#B22A29#B22A29
#B22A29 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.4% C 0.173 H 26.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #B22A29 |
|---|---|
| RGB | rgb(178, 42, 41) |
| HSL | hsl(0, 63%, 43%) |
| HSV | hsv(0, 77%, 70%) |
| CMYK | cmyk(0%, 76.4%, 77%, 30.2%) |
| CIE-LAB | lab(40.05, 53.74, 34.65) |
| CIE-LCH | lch(40.05, 63.94, 32.81°) |
| OKLab | oklab(50.4% 0.155 0.0767) |
| OKLCH | oklch(50.4% 0.173 26.3) |
| XYZ | xyz(19.5906, 11.2841, 3.2439) |
| Luminance | 0.1128 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.41
Brown
#A52A2A
ΔE00 2.76
Scarlet
#BE0119
ΔE00 3.50
Lipstick Red
#C0022F
ΔE00 4.82
Brick
#A03623
ΔE00 4.92
Brownish Red
#9E3623
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22A29 #29B1B2
analogous
#B2296C #B22A29 #B26E29
triadic
#B22A29 #29B22A #2A29B2
tetradic
#B22A29 #6CB229 #29B1B2 #6E29B2
square
#B22A29 #6CB229 #29B1B2 #6E29B2
split-complementary
#B22A29 #29B26E #296CB2
monochromatic
#4F1312 #801E1E #B22A29 #D44544 #DF7776
Accessibility & contrast
On white
6.45
#B22A29 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#B22A29 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22A29
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22A29 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22A29 | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544C27
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#C4002C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b22a29; /* rgb */ color: rgb(178, 42, 41); /* oklch */ color: oklch(50.4% 0.173 26.3);
Tailwind
colors: {
custom: {
50: '#d26f63',
500: '#b22a29',
950: '#000000',
},
}SCSS
$custom: #b22a29; $custom-light: #d26f63; $custom-dark: #000000;
JSON
{
"hex": "#b22a29",
"rgb": {
"r": 178,
"g": 42,
"b": 41
},
"hsl": {
"h": 0.438,
"s": 62.557,
"l": 42.941
},
"oklch": {
"l": 0.50397,
"c": 0.17291,
"h": 26.3
},
"luminance": 0.11281
}Semantic roles & 50–950 ramp
primary
#B22A29
secondary
#70C6C7
accent
#E4E642
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79