#8A1F3F#8A1F3F
#8A1F3F is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.143 H 8.3°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F3F |
|---|---|
| RGB | rgb(138, 31, 63) |
| HSL | hsl(342, 63%, 33%) |
| HSV | hsv(342, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 54.3%, 45.9%) |
| CIE-LAB | lab(31.22, 46.40, 8.03) |
| CIE-LCH | lch(31.22, 47.09, 9.81°) |
| OKLab | oklab(42.54% 0.1412 0.0206) |
| OKLCH | oklch(42.54% 0.143 8.3) |
| XYZ | xyz(11.8695, 6.7438, 5.3783) |
| Luminance | 0.0674 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 3.24
Purple Red
#990147
ΔE00 4.01
Berry
#990F4B
ΔE00 4.24
Cranberry
#9E003A
ΔE00 4.50
Bordeaux
#7B002C
ΔE00 5.14
Wine (survey)
#80013F
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F3F #1F8A6A
analogous
#8A1F74 #8A1F3F #8A341F
triadic
#8A1F3F #3F8A1F #1F3F8A
tetradic
#8A1F3F #748A1F #1F8A6A #341F8A
square
#8A1F3F #748A1F #1F8A6A #341F8A
split-complementary
#8A1F3F #1F8A34 #1F748A
monochromatic
#260911 #581428 #8A1F3F #BC2A56 #D74C76
Accessibility & contrast
On white
8.94
#8A1F3F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#8A1F3F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F3F
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F3F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F3F | 1.00 | 8.94 | 2.35 | 8.94 |
| #FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3C40
Deuteranopia (green-blind)
#56513C
Tritanopia (blue-blind)
#97012D
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a1f3f; /* rgb */ color: rgb(138, 31, 63); /* oklch */ color: oklch(42.5% 0.143 8.3);
Tailwind
colors: {
custom: {
50: '#b26573',
500: '#8a1f3f',
950: '#000000',
},
}SCSS
$custom: #8a1f3f; $custom-light: #b26573; $custom-dark: #000000;
JSON
{
"hex": "#8a1f3f",
"rgb": {
"r": 138,
"g": 31,
"b": 63
},
"hsl": {
"h": 342.056,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.42543,
"c": 0.14271,
"h": 8.3
},
"luminance": 0.06742
}Semantic roles & 50–950 ramp
primary
#8A1F3F
secondary
#4BBA99
accent
#E6B541
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120608
muted
#817A7B