#8A221F#8A221F
#8A221F is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.2% C 0.140 H 26.9°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8A221F |
|---|---|
| RGB | rgb(138, 34, 31) |
| HSL | hsl(2, 63%, 33%) |
| HSV | hsv(2, 78%, 54%) |
| CMYK | cmyk(0%, 75.4%, 77.5%, 45.9%) |
| CIE-LAB | lab(30.99, 43.32, 28.39) |
| CIE-LCH | lch(30.99, 51.79, 33.24°) |
| OKLab | oklab(42.18% 0.1249 0.0633) |
| OKLCH | oklch(42.18% 0.14 26.9) |
| XYZ | xyz(11.3019, 6.6480, 1.9842) |
| Luminance | 0.0665 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.64
Carmine
#9D0216
ΔE00 4.20
Indian Red
#850E04
ΔE00 5.25
Darkred
#8B0000
ΔE00 5.65
Dark Red
#840000
ΔE00 5.67
Brown
#A52A2A
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A221F #1F878A
analogous
#8A1F51 #8A221F #8A571F
triadic
#8A221F #1F8A22 #221F8A
tetradic
#8A221F #518A1F #1F878A #571F8A
square
#8A221F #518A1F #1F878A #571F8A
split-complementary
#8A221F #1F8A57 #1F518A
monochromatic
#260909 #581614 #8A221F #BC2E2A #D7504C
Accessibility & contrast
On white
9.02
#8A221F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#8A221F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A221F
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A221F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A221F | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#413B1E
Deuteranopia (green-blind)
#5B511B
Tritanopia (blue-blind)
#980023
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a221f; /* rgb */ color: rgb(138, 34, 31); /* oklch */ color: oklch(42.2% 0.140 26.9);
Tailwind
colors: {
custom: {
50: '#b4665b',
500: '#8a221f',
950: '#000000',
},
}SCSS
$custom: #8a221f; $custom-light: #b4665b; $custom-dark: #000000;
JSON
{
"hex": "#8a221f",
"rgb": {
"r": 138,
"g": 34,
"b": 31
},
"hsl": {
"h": 1.682,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.42179,
"c": 0.14003,
"h": 26.9
},
"luminance": 0.06646
}Semantic roles & 50–950 ramp
primary
#8A221F
secondary
#4BB7BA
accent
#E2E641
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120604
muted
#817A79