#8A1F1C#8A1F1C
#8A1F1C is a dark, vivid red. Relative luminance 0.065; OKLCH L 41.9% C 0.143 H 27.2°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F1C |
|---|---|
| RGB | rgb(138, 31, 28) |
| HSL | hsl(2, 66%, 33%) |
| HSV | hsv(2, 80%, 54%) |
| CMYK | cmyk(0%, 77.5%, 79.7%, 45.9%) |
| CIE-LAB | lab(30.57, 44.29, 29.73) |
| CIE-LCH | lch(30.57, 53.34, 33.88°) |
| OKLab | oklab(41.85% 0.1273 0.0653) |
| OKLCH | oklch(41.85% 0.143 27.2) |
| XYZ | xyz(11.1821, 6.4688, 1.7582) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.03
Carmine
#9D0216
ΔE00 3.91
Indian Red
#850E04
ΔE00 4.62
Darkred
#8B0000
ΔE00 4.99
Dark Red
#840000
ΔE00 5.02
Maroon
#800000
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F1C #1C878A
analogous
#8A1C50 #8A1F1C #8A561C
triadic
#8A1F1C #1C8A1F #1F1C8A
tetradic
#8A1F1C #508A1C #1C878A #561C8A
square
#8A1F1C #508A1C #1C878A #561C8A
split-complementary
#8A1F1C #1C8A56 #1C508A
monochromatic
#240807 #571412 #8A1F1C #BD2A26 #DA4B47
Accessibility & contrast
On white
9.16
#8A1F1C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#8A1F1C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F1C
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F1C | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40391A
Deuteranopia (green-blind)
#5A5017
Tritanopia (blue-blind)
#980020
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a1f1c; /* rgb */ color: rgb(138, 31, 28); /* oklch */ color: oklch(41.9% 0.143 27.2);
Tailwind
colors: {
custom: {
50: '#b46459',
500: '#8a1f1c',
950: '#000000',
},
}SCSS
$custom: #8a1f1c; $custom-light: #b46459; $custom-dark: #000000;
JSON
{
"hex": "#8a1f1c",
"rgb": {
"r": 138,
"g": 31,
"b": 28
},
"hsl": {
"h": 1.636,
"s": 66.265,
"l": 32.549
},
"oklch": {
"l": 0.4185,
"c": 0.14308,
"h": 27.2
},
"luminance": 0.06467
}Semantic roles & 50–950 ramp
primary
#8A1F1C
secondary
#46B8BB
accent
#E5E93F
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78