#B22B27#B22B27
#B22B27 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.5% C 0.172 H 27.2°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #B22B27 |
|---|---|
| RGB | rgb(178, 43, 39) |
| HSL | hsl(2, 64%, 43%) |
| HSV | hsv(2, 78%, 70%) |
| CMYK | cmyk(0%, 75.8%, 78.1%, 30.2%) |
| CIE-LAB | lab(40.15, 53.33, 35.90) |
| CIE-LCH | lch(40.15, 64.29, 33.94°) |
| OKLab | oklab(50.46% 0.1533 0.0788) |
| OKLCH | oklch(50.46% 0.172 27.2) |
| XYZ | xyz(19.5925, 11.3423, 3.0767) |
| Luminance | 0.1134 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.20
Brown
#A52A2A
ΔE00 3.14
Scarlet
#BE0119
ΔE00 3.29
Brick
#A03623
ΔE00 4.44
Brownish Red
#9E3623
ΔE00 4.73
Lipstick Red
#C0022F
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22B27 #27AEB2
analogous
#B22768 #B22B27 #B27127
triadic
#B22B27 #27B22B #2B27B2
tetradic
#B22B27 #68B227 #27AEB2 #7127B2
square
#B22B27 #68B227 #27AEB2 #7127B2
split-complementary
#B22B27 #27B271 #2768B2
monochromatic
#4E1311 #801F1C #B22B27 #D54541 #E07673
Accessibility & contrast
On white
6.43
#B22B27 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#B22B27 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22B27
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22B27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22B27 | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544C25
Deuteranopia (green-blind)
#766921
Tritanopia (blue-blind)
#C4002C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b22b27; /* rgb */ color: rgb(178, 43, 39); /* oklch */ color: oklch(50.5% 0.172 27.2);
Tailwind
colors: {
custom: {
50: '#d27062',
500: '#b22b27',
950: '#000000',
},
}SCSS
$custom: #b22b27; $custom-light: #d27062; $custom-dark: #000000;
JSON
{
"hex": "#b22b27",
"rgb": {
"r": 178,
"g": 43,
"b": 39
},
"hsl": {
"h": 1.727,
"s": 64.055,
"l": 42.549
},
"oklch": {
"l": 0.50462,
"c": 0.17235,
"h": 27.2
},
"luminance": 0.11339
}Semantic roles & 50–950 ramp
primary
#B22B27
secondary
#6DC5C8
accent
#E2E741
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79