#8A1F3D#8A1F3D
#8A1F3D is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.142 H 9.5°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F3D |
|---|---|
| RGB | rgb(138, 31, 61) |
| HSL | hsl(343, 63%, 33%) |
| HSV | hsv(343, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 55.8%, 45.9%) |
| CIE-LAB | lab(31.16, 46.24, 9.28) |
| CIE-LCH | lch(31.16, 47.16, 11.34°) |
| OKLab | oklab(42.49% 0.1404 0.0236) |
| OKLCH | oklch(42.49% 0.142 9.5) |
| XYZ | xyz(11.8146, 6.7218, 5.0893) |
| Luminance | 0.0672 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 2.92
Cranberry
#9E003A
ΔE00 4.20
Purple Red
#990147
ΔE00 4.48
Berry
#990F4B
ΔE00 4.78
Bordeaux
#7B002C
ΔE00 4.90
Wine (survey)
#80013F
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F3D #1F8A6C
analogous
#8A1F72 #8A1F3D #8A371F
triadic
#8A1F3D #3D8A1F #1F3D8A
tetradic
#8A1F3D #728A1F #1F8A6C #371F8A
square
#8A1F3D #728A1F #1F8A6C #371F8A
split-complementary
#8A1F3D #1F8A37 #1F728A
monochromatic
#260911 #581427 #8A1F3D #BC2A53 #D74C73
Accessibility & contrast
On white
8.96
#8A1F3D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#8A1F3D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F3D
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F3D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F3D | 1.00 | 8.96 | 2.34 | 8.96 |
| #FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3C3E
Deuteranopia (green-blind)
#57513A
Tritanopia (blue-blind)
#97002C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a1f3d; /* rgb */ color: rgb(138, 31, 61); /* oklch */ color: oklch(42.5% 0.142 9.5);
Tailwind
colors: {
custom: {
50: '#b26572',
500: '#8a1f3d',
950: '#000000',
},
}SCSS
$custom: #8a1f3d; $custom-light: #b26572; $custom-dark: #000000;
JSON
{
"hex": "#8a1f3d",
"rgb": {
"r": 138,
"g": 31,
"b": 61
},
"hsl": {
"h": 343.178,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.42488,
"c": 0.14237,
"h": 9.5
},
"luminance": 0.0672
}Semantic roles & 50–950 ramp
primary
#8A1F3D
secondary
#4BBA9B
accent
#E6B841
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A