#8A1F2D#8A1F2D
#8A1F2D is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.1% C 0.141 H 18.9°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F2D |
|---|---|
| RGB | rgb(138, 31, 45) |
| HSL | hsl(352, 63%, 33%) |
| HSV | hsv(352, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 67.4%, 45.9%) |
| CIE-LAB | lab(30.82, 45.11, 19.33) |
| CIE-LCH | lch(30.82, 49.08, 23.20°) |
| OKLab | oklab(42.12% 0.1338 0.0459) |
| OKLCH | oklch(42.12% 0.141 18.9) |
| XYZ | xyz(11.4461, 6.5744, 3.1484) |
| Luminance | 0.0657 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.99
Wine Red
#7B0323
ΔE00 4.62
Red Wine
#8C0034
ΔE00 5.58
Cranberry
#9E003A
ΔE00 5.93
Rouge
#AB1239
ΔE00 6.41
Bordeaux
#7B002C
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F2D #1F8A7C
analogous
#8A1F62 #8A1F2D #8A471F
triadic
#8A1F2D #2D8A1F #1F2D8A
tetradic
#8A1F2D #628A1F #1F8A7C #471F8A
square
#8A1F2D #628A1F #1F8A7C #471F8A
split-complementary
#8A1F2D #1F8A47 #1F628A
monochromatic
#26090C #58141D #8A1F2D #BC2A3D #D74C5F
Accessibility & contrast
On white
9.07
#8A1F2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#8A1F2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F2D
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F2D | 1.00 | 9.07 | 2.31 | 9.07 |
| #FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E3A2D
Deuteranopia (green-blind)
#59512A
Tritanopia (blue-blind)
#980025
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a1f2d; /* rgb */ color: rgb(138, 31, 45); /* oklch */ color: oklch(42.1% 0.141 18.9);
Tailwind
colors: {
custom: {
50: '#b36565',
500: '#8a1f2d',
950: '#000000',
},
}SCSS
$custom: #8a1f2d; $custom-light: #b36565; $custom-dark: #000000;
JSON
{
"hex": "#8a1f2d",
"rgb": {
"r": 138,
"g": 31,
"b": 45
},
"hsl": {
"h": 352.15,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.42118,
"c": 0.14145,
"h": 18.9
},
"luminance": 0.06573
}Semantic roles & 50–950 ramp
primary
#8A1F2D
secondary
#4BBAAB
accent
#E6D141
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120605
muted
#817A7A