#B22B26#B22B26
#B22B26 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.4% C 0.172 H 27.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #B22B26 |
|---|---|
| RGB | rgb(178, 43, 38) |
| HSL | hsl(2, 65%, 42%) |
| HSV | hsv(2, 79%, 70%) |
| CMYK | cmyk(0%, 75.8%, 78.7%, 30.2%) |
| CIE-LAB | lab(40.14, 53.30, 36.45) |
| CIE-LCH | lch(40.14, 64.57, 34.37°) |
| OKLab | oklab(50.45% 0.1529 0.0798) |
| OKLCH | oklch(50.45% 0.172 27.5) |
| XYZ | xyz(19.5762, 11.3358, 2.9906) |
| Luminance | 0.1133 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.18
Scarlet
#BE0119
ΔE00 3.21
Brown
#A52A2A
ΔE00 3.30
Brick
#A03623
ΔE00 4.29
Brownish Red
#9E3623
ΔE00 4.58
Darkish Red
#A90308
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22B26 #26ADB2
analogous
#B22667 #B22B26 #B27126
triadic
#B22B26 #26B22B #2B26B2
tetradic
#B22B26 #67B226 #26ADB2 #7126B2
square
#B22B26 #67B226 #26ADB2 #7126B2
split-complementary
#B22B26 #26B271 #2667B2
monochromatic
#4D1310 #801F1B #B22B26 #D6453F #E17672
Accessibility & contrast
On white
6.43
#B22B26 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#B22B26 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22B26
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22B26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22B26 | 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)
#544C24
Deuteranopia (green-blind)
#766920
Tritanopia (blue-blind)
#C4002C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b22b26; /* rgb */ color: rgb(178, 43, 38); /* oklch */ color: oklch(50.4% 0.172 27.5);
Tailwind
colors: {
custom: {
50: '#d27061',
500: '#b22b26',
950: '#000000',
},
}SCSS
$custom: #b22b26; $custom-light: #d27061; $custom-dark: #000000;
JSON
{
"hex": "#b22b26",
"rgb": {
"r": 178,
"g": 43,
"b": 38
},
"hsl": {
"h": 2.143,
"s": 64.815,
"l": 42.353
},
"oklch": {
"l": 0.5045,
"c": 0.17248,
"h": 27.5
},
"luminance": 0.11333
}Semantic roles & 50–950 ramp
primary
#B22B26
secondary
#6CC4C8
accent
#E2E840
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79