#B22E27#B22E27
#B22E27 is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.7% C 0.170 H 28.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #B22E27 |
|---|---|
| RGB | rgb(178, 46, 39) |
| HSL | hsl(3, 64%, 43%) |
| HSV | hsv(3, 78%, 70%) |
| CMYK | cmyk(0%, 74.2%, 78.1%, 30.2%) |
| CIE-LAB | lab(40.52, 52.30, 36.29) |
| CIE-LCH | lch(40.52, 63.66, 34.75°) |
| OKLab | oklab(50.74% 0.15 0.0797) |
| OKLCH | oklch(50.74% 0.17 28) |
| XYZ | xyz(19.7056, 11.5685, 3.1144) |
| Luminance | 0.1157 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.64
Scarlet
#BE0119
ΔE00 3.51
Brown
#A52A2A
ΔE00 3.56
Brick
#A03623
ΔE00 4.13
Brownish Red
#9E3623
ΔE00 4.44
Dull Red
#BB3F3F
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22E27 #27ABB2
analogous
#B22765 #B22E27 #B27427
triadic
#B22E27 #27B22E #2E27B2
tetradic
#B22E27 #65B227 #27ABB2 #7427B2
square
#B22E27 #65B227 #27ABB2 #7427B2
split-complementary
#B22E27 #27B274 #2765B2
monochromatic
#4E1411 #80211C #B22E27 #D54841 #E07973
Accessibility & contrast
On white
6.34
#B22E27 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#B22E27 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22E27
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22E27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22E27 | 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)
#564D25
Deuteranopia (green-blind)
#766A21
Tritanopia (blue-blind)
#C4002E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b22e27; /* rgb */ color: rgb(178, 46, 39); /* oklch */ color: oklch(50.7% 0.170 28.0);
Tailwind
colors: {
custom: {
50: '#d27162',
500: '#b22e27',
950: '#000000',
},
}SCSS
$custom: #b22e27; $custom-light: #d27162; $custom-dark: #000000;
JSON
{
"hex": "#b22e27",
"rgb": {
"r": 178,
"g": 46,
"b": 39
},
"hsl": {
"h": 3.022,
"s": 64.055,
"l": 42.549
},
"oklch": {
"l": 0.50738,
"c": 0.16988,
"h": 28
},
"luminance": 0.11565
}Semantic roles & 50–950 ramp
primary
#B22E27
secondary
#6DC3C8
accent
#DFE741
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79