#B02221#B02221
#B02221 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.3% C 0.178 H 27.1°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #B02221 |
|---|---|
| RGB | rgb(176, 34, 33) |
| HSL | hsl(0, 68%, 41%) |
| HSV | hsv(0, 81%, 69%) |
| CMYK | cmyk(0%, 80.7%, 81.3%, 31%) |
| CIE-LAB | lab(38.70, 55.30, 37.66) |
| CIE-LCH | lch(38.70, 66.90, 34.26°) |
| OKLab | oklab(49.29% 0.1584 0.0809) |
| OKLCH | oklch(49.29% 0.178 27.1) |
| XYZ | xyz(18.7534, 10.4870, 2.4753) |
| Luminance | 0.1048 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 0.43
Scarlet
#BE0119
ΔE00 2.72
Brown
#A52A2A
ΔE00 2.99
Brick
#A03623
ΔE00 4.45
Darkish Red
#A90308
ΔE00 4.47
Brownish Red
#9E3623
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02221 #21AFB0
analogous
#B02167 #B02221 #B06921
triadic
#B02221 #21B022 #2221B0
tetradic
#B02221 #67B021 #21AFB0 #6921B0
square
#B02221 #67B021 #21AFB0 #6921B0
split-complementary
#B02221 #21B069 #2167B0
monochromatic
#490E0E #7C1817 #B02221 #D93635 #E36969
Accessibility & contrast
On white
6.78
#B02221 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#B02221 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02221
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02221 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02221 | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#50471F
Deuteranopia (green-blind)
#72661A
Tritanopia (blue-blind)
#C20024
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #b02221; /* rgb */ color: rgb(176, 34, 33); /* oklch */ color: oklch(49.3% 0.178 27.1);
Tailwind
colors: {
custom: {
50: '#d16c5d',
500: '#b02221',
950: '#000000',
},
}SCSS
$custom: #b02221; $custom-light: #d16c5d; $custom-dark: #000000;
JSON
{
"hex": "#b02221",
"rgb": {
"r": 176,
"g": 34,
"b": 33
},
"hsl": {
"h": 0.42,
"s": 68.421,
"l": 40.98
},
"oklch": {
"l": 0.49294,
"c": 0.17791,
"h": 27.1
},
"luminance": 0.10484
}Semantic roles & 50–950 ramp
primary
#B02221
secondary
#64C8C8
accent
#EAEB3D
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160804
muted
#847A79