#B22F27#B22F27
#B22F27 is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.8% C 0.169 H 28.2°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #B22F27 |
|---|---|
| RGB | rgb(178, 47, 39) |
| HSL | hsl(3, 64%, 43%) |
| HSV | hsv(3, 78%, 70%) |
| CMYK | cmyk(0%, 73.6%, 78.1%, 30.2%) |
| CIE-LAB | lab(40.65, 51.94, 36.42) |
| CIE-LCH | lch(40.65, 63.44, 35.04°) |
| OKLab | oklab(50.83% 0.1489 0.08) |
| OKLCH | oklch(50.83% 0.169 28.2) |
| XYZ | xyz(19.7451, 11.6476, 3.1276) |
| Luminance | 0.1164 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.82
Scarlet
#BE0119
ΔE00 3.62
Brown
#A52A2A
ΔE00 3.73
Brick
#A03623
ΔE00 4.03
Brownish Red
#9E3623
ΔE00 4.36
Dull Red
#BB3F3F
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22F27 #27AAB2
analogous
#B22765 #B22F27 #B27427
triadic
#B22F27 #27B22F #2F27B2
tetradic
#B22F27 #65B227 #27AAB2 #7427B2
square
#B22F27 #65B227 #27AAB2 #7427B2
split-complementary
#B22F27 #27B274 #2765B2
monochromatic
#4E1411 #80221C #B22F27 #D54941 #E07973
Accessibility & contrast
On white
6.31
#B22F27 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#B22F27 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22F27
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22F27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22F27 | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564E25
Deuteranopia (green-blind)
#776A22
Tritanopia (blue-blind)
#C4002F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b22f27; /* rgb */ color: rgb(178, 47, 39); /* oklch */ color: oklch(50.8% 0.169 28.2);
Tailwind
colors: {
custom: {
50: '#d27162',
500: '#b22f27',
950: '#000000',
},
}SCSS
$custom: #b22f27; $custom-light: #d27162; $custom-dark: #000000;
JSON
{
"hex": "#b22f27",
"rgb": {
"r": 178,
"g": 47,
"b": 39
},
"hsl": {
"h": 3.453,
"s": 64.055,
"l": 42.549
},
"oklch": {
"l": 0.50834,
"c": 0.16903,
"h": 28.2
},
"luminance": 0.11644
}Semantic roles & 50–950 ramp
primary
#B22F27
secondary
#6DC2C8
accent
#DDE741
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79