#8A1C21#8A1C21
#8A1C21 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.6% C 0.145 H 24.2°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1C21 |
|---|---|
| RGB | rgb(138, 28, 33) |
| HSL | hsl(357, 66%, 33%) |
| HSV | hsv(357, 80%, 54%) |
| CMYK | cmyk(0%, 79.7%, 76.1%, 45.9%) |
| CIE-LAB | lab(30.27, 45.50, 26.35) |
| CIE-LCH | lch(30.27, 52.58, 30.08°) |
| OKLab | oklab(41.65% 0.1323 0.0593) |
| OKLCH | oklch(41.65% 0.145 24.2) |
| XYZ | xyz(11.1723, 6.3453, 2.0751) |
| Luminance | 0.0634 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.02
Carmine
#9D0216
ΔE00 4.56
Burgundy
#800020
ΔE00 4.92
Brown
#A52A2A
ΔE00 6.18
Wine Red
#7B0323
ΔE00 6.42
Indian Red
#850E04
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1C21 #1C8A85
analogous
#8A1C58 #8A1C21 #8A4E1C
triadic
#8A1C21 #218A1C #1C218A
tetradic
#8A1C21 #588A1C #1C8A85 #4E1C8A
square
#8A1C21 #588A1C #1C8A85 #4E1C8A
split-complementary
#8A1C21 #1C8A4E #1C588A
monochromatic
#240709 #571215 #8A1C21 #BD262D #DA474D
Accessibility & contrast
On white
9.26
#8A1C21 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#8A1C21 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1C21
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1C21 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1C21 | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E3820
Deuteranopia (green-blind)
#59501D
Tritanopia (blue-blind)
#98001F
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #8a1c21; /* rgb */ color: rgb(138, 28, 33); /* oklch */ color: oklch(41.6% 0.145 24.2);
Tailwind
colors: {
custom: {
50: '#b4635c',
500: '#8a1c21',
950: '#000000',
},
}SCSS
$custom: #8a1c21; $custom-light: #b4635c; $custom-dark: #000000;
JSON
{
"hex": "#8a1c21",
"rgb": {
"r": 138,
"g": 28,
"b": 33
},
"hsl": {
"h": 357.273,
"s": 66.265,
"l": 32.549
},
"oklch": {
"l": 0.41648,
"c": 0.14497,
"h": 24.2
},
"luminance": 0.06344
}Semantic roles & 50–950 ramp
primary
#8A1C21
secondary
#46BBB6
accent
#E9E13F
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79