#B22F30#B22F30
#B22F30 is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.9% C 0.168 H 25.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #B22F30 |
|---|---|
| RGB | rgb(178, 47, 48) |
| HSL | hsl(360, 58%, 44%) |
| HSV | hsv(360, 74%, 70%) |
| CMYK | cmyk(0%, 73.6%, 73%, 30.2%) |
| CIE-LAB | lab(40.76, 52.31, 31.33) |
| CIE-LCH | lch(40.76, 60.97, 30.92°) |
| OKLab | oklab(50.95% 0.152 0.0712) |
| OKLCH | oklch(50.95% 0.168 25.1) |
| XYZ | xyz(19.9124, 11.7144, 4.0084) |
| Luminance | 0.1171 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.93
Firebrick
#B22222
ΔE00 2.93
Dull Red
#BB3F3F
ΔE00 4.10
Lipstick Red
#C0022F
ΔE00 4.24
Scarlet
#BE0119
ΔE00 4.77
Cardinal
#C41E3A
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22F30 #2FB2B1
analogous
#B22F72 #B22F30 #B2702F
triadic
#B22F30 #30B22F #2F30B2
tetradic
#B22F30 #72B22F #2FB2B1 #702FB2
square
#B22F30 #72B22F #2FB2B1 #702FB2
split-complementary
#B22F30 #2FB270 #2F72B2
monochromatic
#511516 #822223 #B22F30 #D04E4F #DD7E7F
Accessibility & contrast
On white
6.28
#B22F30 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#B22F30 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22F30
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22F30 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22F30 | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554E2F
Deuteranopia (green-blind)
#766A2B
Tritanopia (blue-blind)
#C40031
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b22f30; /* rgb */ color: rgb(178, 47, 48); /* oklch */ color: oklch(50.9% 0.168 25.1);
Tailwind
colors: {
custom: {
50: '#d17168',
500: '#b22f30',
950: '#000000',
},
}SCSS
$custom: #b22f30; $custom-light: #d17168; $custom-dark: #000000;
JSON
{
"hex": "#b22f30",
"rgb": {
"r": 178,
"g": 47,
"b": 48
},
"hsl": {
"h": 359.542,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.50949,
"c": 0.16781,
"h": 25.1
},
"luminance": 0.11711
}Semantic roles & 50–950 ramp
primary
#B22F30
secondary
#77C6C5
accent
#E1E046
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A