#8A1F2E#8A1F2E
#8A1F2E is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.1% C 0.141 H 18.4°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F2E |
|---|---|
| RGB | rgb(138, 31, 46) |
| HSL | hsl(352, 63%, 33%) |
| HSV | hsv(352, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 66.7%, 45.9%) |
| CIE-LAB | lab(30.84, 45.17, 18.71) |
| CIE-LCH | lch(30.84, 48.89, 22.49°) |
| OKLab | oklab(42.14% 0.1342 0.0446) |
| OKLCH | oklch(42.14% 0.141 18.4) |
| XYZ | xyz(11.4656, 6.5822, 3.2510) |
| Luminance | 0.0658 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.05
Wine Red
#7B0323
ΔE00 4.55
Red Wine
#8C0034
ΔE00 5.25
Cranberry
#9E003A
ΔE00 5.65
Bordeaux
#7B002C
ΔE00 6.26
Rouge
#AB1239
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F2E #1F8A7B
analogous
#8A1F63 #8A1F2E #8A451F
triadic
#8A1F2E #2E8A1F #1F2E8A
tetradic
#8A1F2E #638A1F #1F8A7B #451F8A
square
#8A1F2E #638A1F #1F8A7B #451F8A
split-complementary
#8A1F2E #1F8A45 #1F638A
monochromatic
#26090D #58141D #8A1F2E #BC2A3F #D74C60
Accessibility & contrast
On white
9.07
#8A1F2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#8A1F2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F2E
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F2E | 1.00 | 9.07 | 2.32 | 9.07 |
| #FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E3A2E
Deuteranopia (green-blind)
#59512B
Tritanopia (blue-blind)
#980026
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a1f2e; /* rgb */ color: rgb(138, 31, 46); /* oklch */ color: oklch(42.1% 0.141 18.4);
Tailwind
colors: {
custom: {
50: '#b36566',
500: '#8a1f2e',
950: '#000000',
},
}SCSS
$custom: #8a1f2e; $custom-light: #b36566; $custom-dark: #000000;
JSON
{
"hex": "#8a1f2e",
"rgb": {
"r": 138,
"g": 31,
"b": 46
},
"hsl": {
"h": 351.589,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.42138,
"c": 0.14144,
"h": 18.4
},
"luminance": 0.06581
}Semantic roles & 50–950 ramp
primary
#8A1F2E
secondary
#4BBAAA
accent
#E6CF41
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A