#B22E28#B22E28
#B22E28 is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.7% C 0.170 H 27.7°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #B22E28 |
|---|---|
| RGB | rgb(178, 46, 40) |
| HSL | hsl(3, 63%, 43%) |
| HSV | hsv(3, 78%, 70%) |
| CMYK | cmyk(0%, 74.2%, 77.5%, 30.2%) |
| CIE-LAB | lab(40.53, 52.34, 35.73) |
| CIE-LCH | lch(40.53, 63.37, 34.32°) |
| OKLab | oklab(50.75% 0.1503 0.0788) |
| OKLCH | oklch(50.75% 0.17 27.7) |
| XYZ | xyz(19.7224, 11.5752, 3.2028) |
| Luminance | 0.1157 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.63
Brown
#A52A2A
ΔE00 3.40
Scarlet
#BE0119
ΔE00 3.57
Brick
#A03623
ΔE00 4.28
Brownish Red
#9E3623
ΔE00 4.58
Dull Red
#BB3F3F
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22E28 #28ACB2
analogous
#B22867 #B22E28 #B27328
triadic
#B22E28 #28B22E #2E28B2
tetradic
#B22E28 #67B228 #28ACB2 #7328B2
square
#B22E28 #67B228 #28ACB2 #7328B2
split-complementary
#B22E28 #28B273 #2867B2
monochromatic
#4E1412 #80211D #B22E28 #D54943 #E07975
Accessibility & contrast
On white
6.34
#B22E28 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#B22E28 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22E28
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22E28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22E28 | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564D26
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#C4002E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b22e28; /* rgb */ color: rgb(178, 46, 40); /* oklch */ color: oklch(50.7% 0.170 27.7);
Tailwind
colors: {
custom: {
50: '#d27163',
500: '#b22e28',
950: '#000000',
},
}SCSS
$custom: #b22e28; $custom-light: #d27163; $custom-dark: #000000;
JSON
{
"hex": "#b22e28",
"rgb": {
"r": 178,
"g": 46,
"b": 40
},
"hsl": {
"h": 2.609,
"s": 63.303,
"l": 42.745
},
"oklch": {
"l": 0.5075,
"c": 0.16973,
"h": 27.7
},
"luminance": 0.11572
}Semantic roles & 50–950 ramp
primary
#B22E28
secondary
#6FC3C7
accent
#DFE641
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79