#8A1F1B#8A1F1B
#8A1F1B is a dark, vivid red. Relative luminance 0.065; OKLCH L 41.8% C 0.143 H 27.6°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F1B |
|---|---|
| RGB | rgb(138, 31, 27) |
| HSL | hsl(2, 67%, 32%) |
| HSV | hsv(2, 80%, 54%) |
| CMYK | cmyk(0%, 77.5%, 80.4%, 45.9%) |
| CIE-LAB | lab(30.55, 44.25, 30.32) |
| CIE-LCH | lch(30.55, 53.64, 34.42°) |
| OKLab | oklab(41.84% 0.127 0.0663) |
| OKLCH | oklch(41.84% 0.143 27.6) |
| XYZ | xyz(11.1704, 6.4641, 1.6962) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.94
Carmine
#9D0216
ΔE00 3.89
Indian Red
#850E04
ΔE00 4.34
Darkred
#8B0000
ΔE00 4.72
Dark Red
#840000
ΔE00 4.78
Maroon
#800000
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F1B #1B868A
analogous
#8A1B4F #8A1F1B #8A561B
triadic
#8A1F1B #1B8A1F #1F1B8A
tetradic
#8A1F1B #4F8A1B #1B868A #561B8A
square
#8A1F1B #4F8A1B #1B868A #561B8A
split-complementary
#8A1F1B #1B8A56 #1B4F8A
monochromatic
#240807 #571411 #8A1F1B #BD2A25 #DB4A45
Accessibility & contrast
On white
9.16
#8A1F1B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#8A1F1B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F1B
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F1B | 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)
#403919
Deuteranopia (green-blind)
#5A5016
Tritanopia (blue-blind)
#98001F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a1f1b; /* rgb */ color: rgb(138, 31, 27); /* oklch */ color: oklch(41.8% 0.143 27.6);
Tailwind
colors: {
custom: {
50: '#b46458',
500: '#8a1f1b',
950: '#000000',
},
}SCSS
$custom: #8a1f1b; $custom-light: #b46458; $custom-dark: #000000;
JSON
{
"hex": "#8a1f1b",
"rgb": {
"r": 138,
"g": 31,
"b": 27
},
"hsl": {
"h": 2.162,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.41838,
"c": 0.14321,
"h": 27.6
},
"luminance": 0.06462
}Semantic roles & 50–950 ramp
primary
#8A1F1B
secondary
#45B8BC
accent
#E4EA3E
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78