#B02222#B02222
#B02222 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.3% C 0.178 H 26.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #B02222 |
|---|---|
| RGB | rgb(176, 34, 34) |
| HSL | hsl(0, 68%, 41%) |
| HSV | hsv(0, 81%, 69%) |
| CMYK | cmyk(0%, 80.7%, 80.7%, 31%) |
| CIE-LAB | lab(38.71, 55.33, 37.11) |
| CIE-LCH | lch(38.71, 66.62, 33.85°) |
| OKLab | oklab(49.31% 0.1587 0.0801) |
| OKLCH | oklch(49.31% 0.178 26.8) |
| XYZ | xyz(18.7676, 10.4927, 2.5502) |
| Luminance | 0.1049 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 0.41
Brown
#A52A2A
ΔE00 2.80
Scarlet
#BE0119
ΔE00 2.80
Brick
#A03623
ΔE00 4.58
Darkish Red
#A90308
ΔE00 4.67
Brownish Red
#9E3623
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02222 #22B0B0
analogous
#B02269 #B02222 #B06922
triadic
#B02222 #22B022 #2222B0
tetradic
#B02222 #69B022 #22B0B0 #6922B0
square
#B02222 #69B022 #22B0B0 #6922B0
split-complementary
#B02222 #22B069 #2269B0
monochromatic
#490E0E #7D1818 #B02222 #D83737 #E26A6A
Accessibility & contrast
On white
6.78
#B02222 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#B02222 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02222
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02222 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02222 | 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)
#504720
Deuteranopia (green-blind)
#72661B
Tritanopia (blue-blind)
#C20024
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #b02222; /* rgb */ color: rgb(176, 34, 34); /* oklch */ color: oklch(49.3% 0.178 26.8);
Tailwind
colors: {
custom: {
50: '#d16c5e',
500: '#b02222',
950: '#000000',
},
}SCSS
$custom: #b02222; $custom-light: #d16c5e; $custom-dark: #000000;
JSON
{
"hex": "#b02222",
"rgb": {
"r": 176,
"g": 34,
"b": 34
},
"hsl": {
"h": 0,
"s": 67.619,
"l": 41.176
},
"oklch": {
"l": 0.49305,
"c": 0.17779,
"h": 26.8
},
"luminance": 0.1049
}Semantic roles & 50–950 ramp
primary
#B02222
secondary
#66C8C8
accent
#EAEA3D
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160804
muted
#847A79