#B22F2F#B22F2F
#B22F2F is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.9% C 0.168 H 25.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #B22F2F |
|---|---|
| RGB | rgb(178, 47, 47) |
| HSL | hsl(0, 58%, 44%) |
| HSV | hsv(0, 74%, 70%) |
| CMYK | cmyk(0%, 73.6%, 73.6%, 30.2%) |
| CIE-LAB | lab(40.75, 52.27, 31.90) |
| CIE-LCH | lch(40.75, 61.23, 31.40°) |
| OKLab | oklab(50.93% 0.1516 0.0722) |
| OKLCH | oklch(50.93% 0.168 25.5) |
| XYZ | xyz(19.8920, 11.7063, 3.9009) |
| Luminance | 0.1170 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.69
Brown
#A52A2A
ΔE00 2.91
Dull Red
#BB3F3F
ΔE00 4.22
Lipstick Red
#C0022F
ΔE00 4.42
Scarlet
#BE0119
ΔE00 4.57
Cardinal
#C41E3A
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22F2F #2FB2B2
analogous
#B22F71 #B22F2F #B2712F
triadic
#B22F2F #2FB22F #2F2FB2
tetradic
#B22F2F #71B22F #2FB2B2 #712FB2
square
#B22F2F #71B22F #2FB2B2 #712FB2
split-complementary
#B22F2F #2FB271 #2F71B2
monochromatic
#511515 #822222 #B22F2F #D04E4E #DD7E7E
Accessibility & contrast
On white
6.29
#B22F2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#B22F2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22F2F
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22F2F | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554E2E
Deuteranopia (green-blind)
#766A2A
Tritanopia (blue-blind)
#C40031
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b22f2f; /* rgb */ color: rgb(178, 47, 47); /* oklch */ color: oklch(50.9% 0.168 25.5);
Tailwind
colors: {
custom: {
50: '#d17168',
500: '#b22f2f',
950: '#000000',
},
}SCSS
$custom: #b22f2f; $custom-light: #d17168; $custom-dark: #000000;
JSON
{
"hex": "#b22f2f",
"rgb": {
"r": 178,
"g": 47,
"b": 47
},
"hsl": {
"h": 0,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.50935,
"c": 0.16793,
"h": 25.5
},
"luminance": 0.11703
}Semantic roles & 50–950 ramp
primary
#B22F2F
secondary
#77C6C6
accent
#E1E146
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A