#8A2118#8A2118
#8A2118 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.0% C 0.142 H 29.3°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2118 |
|---|---|
| RGB | rgb(138, 33, 24) |
| HSL | hsl(5, 70%, 32%) |
| HSV | hsv(5, 83%, 54%) |
| CMYK | cmyk(0%, 76.1%, 82.6%, 45.9%) |
| CIE-LAB | lab(30.78, 43.43, 32.28) |
| CIE-LCH | lch(30.78, 54.11, 36.63°) |
| OKLab | oklab(42% 0.1237 0.0696) |
| OKLCH | oklch(42% 0.142 29.3) |
| XYZ | xyz(11.1913, 6.5587, 1.5407) |
| Luminance | 0.0656 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.24
Indian Red
#850E04
ΔE00 3.55
Darkred
#8B0000
ΔE00 4.02
Red Brown
#8B2E16
ΔE00 4.06
Brick Red
#8F1402
ΔE00 4.10
Carmine
#9D0216
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2118 #18818A
analogous
#8A1848 #8A2118 #8A5A18
triadic
#8A2118 #188A21 #21188A
tetradic
#8A2118 #488A18 #18818A #5A188A
square
#8A2118 #488A18 #18818A #5A188A
split-complementary
#8A2118 #188A5A #18488A
monochromatic
#220806 #56150F #8A2118 #BE2D21 #DE4B3F
Accessibility & contrast
On white
9.09
#8A2118 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#8A2118 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2118
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2118 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2118 | 1.00 | 9.09 | 2.31 | 9.09 |
| #FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#413A16
Deuteranopia (green-blind)
#5B5113
Tritanopia (blue-blind)
#990020
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a2118; /* rgb */ color: rgb(138, 33, 24); /* oklch */ color: oklch(42.0% 0.142 29.3);
Tailwind
colors: {
custom: {
50: '#b56556',
500: '#8a2118',
950: '#000000',
},
}SCSS
$custom: #8a2118; $custom-light: #b56556; $custom-dark: #000000;
JSON
{
"hex": "#8a2118",
"rgb": {
"r": 138,
"g": 33,
"b": 24
},
"hsl": {
"h": 4.737,
"s": 70.37,
"l": 31.765
},
"oklch": {
"l": 0.41997,
"c": 0.14195,
"h": 29.3
},
"luminance": 0.06557
}Semantic roles & 50–950 ramp
primary
#8A2118
secondary
#40B4BD
accent
#DFED3B
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78