#B22A2A#B22A2A
#B22A2A is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.4% C 0.173 H 26.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #B22A2A |
|---|---|
| RGB | rgb(178, 42, 42) |
| HSL | hsl(0, 62%, 43%) |
| HSV | hsv(0, 76%, 70%) |
| CMYK | cmyk(0%, 76.4%, 76.4%, 30.2%) |
| CIE-LAB | lab(40.07, 53.77, 34.08) |
| CIE-LCH | lch(40.07, 63.66, 32.36°) |
| OKLab | oklab(50.41% 0.1553 0.0757) |
| OKLCH | oklch(50.41% 0.173 26) |
| XYZ | xyz(19.6083, 11.2912, 3.3370) |
| Luminance | 0.1129 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.63
Brown
#A52A2A
ΔE00 2.66
Scarlet
#BE0119
ΔE00 3.66
Lipstick Red
#C0022F
ΔE00 4.59
Brick
#A03623
ΔE00 5.11
Dull Red
#BB3F3F
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22A2A #2AB2B2
analogous
#B22A6E #B22A2A #B26E2A
triadic
#B22A2A #2AB22A #2A2AB2
tetradic
#B22A2A #6EB22A #2AB2B2 #6E2AB2
square
#B22A2A #6EB22A #2AB2B2 #6E2AB2
split-complementary
#B22A2A #2AB26E #2A6EB2
monochromatic
#4F1313 #801E1E #B22A2A #D34646 #DF7777
Accessibility & contrast
On white
6.45
#B22A2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#B22A2A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22A2A
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22A2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22A2A | 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)
#534C28
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#C4002C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b22a2a; /* rgb */ color: rgb(178, 42, 42); /* oklch */ color: oklch(50.4% 0.173 26.0);
Tailwind
colors: {
custom: {
50: '#d26f64',
500: '#b22a2a',
950: '#000000',
},
}SCSS
$custom: #b22a2a; $custom-light: #d26f64; $custom-dark: #000000;
JSON
{
"hex": "#b22a2a",
"rgb": {
"r": 178,
"g": 42,
"b": 42
},
"hsl": {
"h": 0,
"s": 61.818,
"l": 43.137
},
"oklch": {
"l": 0.5041,
"c": 0.17278,
"h": 26
},
"luminance": 0.11288
}Semantic roles & 50–950 ramp
primary
#B22A2A
secondary
#71C7C7
accent
#E5E543
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A