#8A1F1F#8A1F1F
#8A1F1F is a dark, vivid red. Relative luminance 0.065; OKLCH L 41.9% C 0.143 H 25.9°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F1F |
|---|---|
| RGB | rgb(138, 31, 31) |
| HSL | hsl(0, 63%, 33%) |
| HSV | hsv(0, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 77.5%, 45.9%) |
| CIE-LAB | lab(30.60, 44.41, 27.96) |
| CIE-LCH | lch(30.60, 52.47, 32.20°) |
| OKLab | oklab(41.89% 0.1283 0.0623) |
| OKLCH | oklch(41.89% 0.143 25.9) |
| XYZ | xyz(11.2199, 6.4839, 1.9568) |
| Luminance | 0.0648 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.50
Carmine
#9D0216
ΔE00 4.14
Indian Red
#850E04
ΔE00 5.50
Dark Red
#840000
ΔE00 5.79
Darkred
#8B0000
ΔE00 5.84
Brown
#A52A2A
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F1F #1F8A8A
analogous
#8A1F54 #8A1F1F #8A541F
triadic
#8A1F1F #1F8A1F #1F1F8A
tetradic
#8A1F1F #548A1F #1F8A8A #541F8A
square
#8A1F1F #548A1F #1F8A8A #541F8A
split-complementary
#8A1F1F #1F8A54 #1F548A
monochromatic
#260909 #581414 #8A1F1F #BC2A2A #D74C4C
Accessibility & contrast
On white
9.14
#8A1F1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#8A1F1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F1F
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F1F | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F391E
Deuteranopia (green-blind)
#5A501B
Tritanopia (blue-blind)
#980021
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a1f1f; /* rgb */ color: rgb(138, 31, 31); /* oklch */ color: oklch(41.9% 0.143 25.9);
Tailwind
colors: {
custom: {
50: '#b4645b',
500: '#8a1f1f',
950: '#000000',
},
}SCSS
$custom: #8a1f1f; $custom-light: #b4645b; $custom-dark: #000000;
JSON
{
"hex": "#8a1f1f",
"rgb": {
"r": 138,
"g": 31,
"b": 31
},
"hsl": {
"h": 0,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.41889,
"c": 0.14268,
"h": 25.9
},
"luminance": 0.06482
}Semantic roles & 50–950 ramp
primary
#8A1F1F
secondary
#4BBABA
accent
#E6E641
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79