#B21F19#B21F19
#B21F19 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.4% C 0.183 H 28.6°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #B21F19 |
|---|---|
| RGB | rgb(178, 31, 25) |
| HSL | hsl(2, 75%, 40%) |
| HSV | hsv(2, 86%, 70%) |
| CMYK | cmyk(0%, 82.6%, 86%, 30.2%) |
| CIE-LAB | lab(38.76, 56.48, 42.10) |
| CIE-LCH | lch(38.76, 70.44, 36.70°) |
| OKLab | oklab(49.39% 0.1604 0.0874) |
| OKLCH | oklch(49.39% 0.183 28.6) |
| XYZ | xyz(19.0280, 10.5183, 1.9479) |
| Luminance | 0.1051 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.03
Scarlet
#BE0119
ΔE00 2.56
Darkish Red
#A90308
ΔE00 3.42
Brick
#A03623
ΔE00 4.29
Brownish Red
#9E3623
ΔE00 4.57
Brown
#A52A2A
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B21F19 #19ACB2
analogous
#B21960 #B21F19 #B26C19
triadic
#B21F19 #19B21F #1F19B2
tetradic
#B21F19 #60B219 #19ACB2 #6C19B2
square
#B21F19 #60B219 #19ACB2 #6C19B2
split-complementary
#B21F19 #19B26C #1960B2
monochromatic
#470C0A #7C1611 #B21F19 #E12F27 #E8635D
Accessibility & contrast
On white
6.77
#B21F19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#B21F19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B21F19
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B21F19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B21F19 | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504716
Deuteranopia (green-blind)
#74670F
Tritanopia (blue-blind)
#C50020
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #b21f19; /* rgb */ color: rgb(178, 31, 25); /* oklch */ color: oklch(49.4% 0.183 28.6);
Tailwind
colors: {
custom: {
50: '#d36b58',
500: '#b21f19',
950: '#000000',
},
}SCSS
$custom: #b21f19; $custom-light: #d36b58; $custom-dark: #000000;
JSON
{
"hex": "#b21f19",
"rgb": {
"r": 178,
"g": 31,
"b": 25
},
"hsl": {
"h": 2.353,
"s": 75.369,
"l": 39.804
},
"oklch": {
"l": 0.49385,
"c": 0.18264,
"h": 28.6
},
"luminance": 0.10515
}Semantic roles & 50–950 ramp
primary
#B21F19
secondary
#5BC8CC
accent
#EBF236
background
#FEF6F5
surface
#FDECE9
border
#D5C7C5
text
#160703
muted
#847A78