#8A1F39#8A1F39
#8A1F39 is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.4% C 0.142 H 12.0°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F39 |
|---|---|
| RGB | rgb(138, 31, 57) |
| HSL | hsl(345, 63%, 33%) |
| HSV | hsv(345, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 58.7%, 45.9%) |
| CIE-LAB | lab(31.07, 45.92, 11.78) |
| CIE-LCH | lch(31.07, 47.41, 14.39°) |
| OKLab | oklab(42.38% 0.1388 0.0294) |
| OKLCH | oklch(42.38% 0.142 12) |
| XYZ | xyz(11.7109, 6.6803, 4.5429) |
| Luminance | 0.0668 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 2.76
Cranberry
#9E003A
ΔE00 3.93
Bordeaux
#7B002C
ΔE00 4.70
Purple Red
#990147
ΔE00 5.59
Wine Red
#7B0323
ΔE00 5.68
Wine
#722F37
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F39 #1F8A70
analogous
#8A1F6E #8A1F39 #8A3B1F
triadic
#8A1F39 #398A1F #1F398A
tetradic
#8A1F39 #6E8A1F #1F8A70 #3B1F8A
square
#8A1F39 #6E8A1F #1F8A70 #3B1F8A
split-complementary
#8A1F39 #1F8A3B #1F6E8A
monochromatic
#260910 #581424 #8A1F39 #BC2A4E #D74C6E
Accessibility & contrast
On white
8.99
#8A1F39 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#8A1F39 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F39
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F39 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F39 | 1.00 | 8.99 | 2.34 | 8.99 |
| #FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3B39
Deuteranopia (green-blind)
#575136
Tritanopia (blue-blind)
#97002A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a1f39; /* rgb */ color: rgb(138, 31, 57); /* oklch */ color: oklch(42.4% 0.142 12.0);
Tailwind
colors: {
custom: {
50: '#b2656f',
500: '#8a1f39',
950: '#000000',
},
}SCSS
$custom: #8a1f39; $custom-light: #b2656f; $custom-dark: #000000;
JSON
{
"hex": "#8a1f39",
"rgb": {
"r": 138,
"g": 31,
"b": 57
},
"hsl": {
"h": 345.421,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.42384,
"c": 0.14185,
"h": 12
},
"luminance": 0.06679
}Semantic roles & 50–950 ramp
primary
#8A1F39
secondary
#4BBA9F
accent
#E6BE41
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A