#8A1F2F#8A1F2F
#8A1F2F is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.2% C 0.141 H 17.8°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F2F |
|---|---|
| RGB | rgb(138, 31, 47) |
| HSL | hsl(351, 63%, 33%) |
| HSV | hsv(351, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 65.9%, 45.9%) |
| CIE-LAB | lab(30.86, 45.23, 18.08) |
| CIE-LCH | lch(30.86, 48.71, 21.78°) |
| OKLab | oklab(42.16% 0.1346 0.0433) |
| OKLCH | oklch(42.16% 0.141 17.8) |
| XYZ | xyz(11.4855, 6.5902, 3.3560) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.15
Wine Red
#7B0323
ΔE00 4.52
Red Wine
#8C0034
ΔE00 4.94
Cranberry
#9E003A
ΔE00 5.39
Bordeaux
#7B002C
ΔE00 6.02
Rouge
#AB1239
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F2F #1F8A7A
analogous
#8A1F64 #8A1F2F #8A441F
triadic
#8A1F2F #2F8A1F #1F2F8A
tetradic
#8A1F2F #648A1F #1F8A7A #441F8A
square
#8A1F2F #648A1F #1F8A7A #441F8A
split-complementary
#8A1F2F #1F8A44 #1F648A
monochromatic
#26090D #58141E #8A1F2F #BC2A40 #D74C61
Accessibility & contrast
On white
9.06
#8A1F2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#8A1F2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F2F
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F2F | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3A2F
Deuteranopia (green-blind)
#58512C
Tritanopia (blue-blind)
#980026
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a1f2f; /* rgb */ color: rgb(138, 31, 47); /* oklch */ color: oklch(42.2% 0.141 17.8);
Tailwind
colors: {
custom: {
50: '#b36567',
500: '#8a1f2f',
950: '#000000',
},
}SCSS
$custom: #8a1f2f; $custom-light: #b36567; $custom-dark: #000000;
JSON
{
"hex": "#8a1f2f",
"rgb": {
"r": 138,
"g": 31,
"b": 47
},
"hsl": {
"h": 351.028,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.42158,
"c": 0.14142,
"h": 17.8
},
"luminance": 0.06588
}Semantic roles & 50–950 ramp
primary
#8A1F2F
secondary
#4BBAA9
accent
#E6CE41
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A