#8A1F38#8A1F38
#8A1F38 is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.4% C 0.142 H 12.6°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F38 |
|---|---|
| RGB | rgb(138, 31, 56) |
| HSL | hsl(346, 63%, 33%) |
| HSV | hsv(346, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 59.4%, 45.9%) |
| CIE-LAB | lab(31.04, 45.85, 12.41) |
| CIE-LCH | lch(31.04, 47.50, 15.15°) |
| OKLab | oklab(42.36% 0.1384 0.0309) |
| OKLCH | oklch(42.36% 0.142 12.6) |
| XYZ | xyz(11.6862, 6.6705, 4.4128) |
| Luminance | 0.0667 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 2.83
Cranberry
#9E003A
ΔE00 3.94
Bordeaux
#7B002C
ΔE00 4.72
Wine Red
#7B0323
ΔE00 5.46
Purple Red
#990147
ΔE00 5.89
Wine
#722F37
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F38 #1F8A71
analogous
#8A1F6D #8A1F38 #8A3B1F
triadic
#8A1F38 #388A1F #1F388A
tetradic
#8A1F38 #6D8A1F #1F8A71 #3B1F8A
square
#8A1F38 #6D8A1F #1F8A71 #3B1F8A
split-complementary
#8A1F38 #1F8A3B #1F6D8A
monochromatic
#26090F #581424 #8A1F38 #BC2A4C #D74C6D
Accessibility & contrast
On white
9.00
#8A1F38 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#8A1F38 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F38
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F38 | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3B38
Deuteranopia (green-blind)
#575135
Tritanopia (blue-blind)
#97002A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a1f38; /* rgb */ color: rgb(138, 31, 56); /* oklch */ color: oklch(42.4% 0.142 12.6);
Tailwind
colors: {
custom: {
50: '#b2656e',
500: '#8a1f38',
950: '#000000',
},
}SCSS
$custom: #8a1f38; $custom-light: #b2656e; $custom-dark: #000000;
JSON
{
"hex": "#8a1f38",
"rgb": {
"r": 138,
"g": 31,
"b": 56
},
"hsl": {
"h": 345.981,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.4236,
"c": 0.14176,
"h": 12.6
},
"luminance": 0.06669
}Semantic roles & 50–950 ramp
primary
#8A1F38
secondary
#4BBAA0
accent
#E6C041
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A