#8A1F57#8A1F57
#8A1F57 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.3% C 0.151 H 353.5°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F57 |
|---|---|
| RGB | rgb(138, 31, 87) |
| HSL | hsl(329, 63%, 33%) |
| HSV | hsv(329, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 37%, 45.9%) |
| CIE-LAB | lab(31.97, 48.79, -6.65) |
| CIE-LCH | lch(31.97, 49.24, 352.24°) |
| OKLab | oklab(43.35% 0.1497 -0.017) |
| OKLCH | oklch(43.35% 0.151 353.5) |
| XYZ | xyz(12.6923, 7.0729, 9.7118) |
| Luminance | 0.0707 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 2.59
Dark Magenta
#960056
ΔE00 2.86
Mulberry
#920A4E
ΔE00 3.32
Dark Fuchsia
#9D0759
ΔE00 3.68
Red Purple
#820747
ΔE00 3.92
Deep Magenta
#A0025C
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F57 #1F8A52
analogous
#871F8A #8A1F57 #8A1F21
triadic
#8A1F57 #578A1F #1F578A
tetradic
#8A1F57 #8A871F #1F8A52 #1F218A
square
#8A1F57 #8A871F #1F8A52 #1F218A
split-complementary
#8A1F57 #218A1F #1F8A87
monochromatic
#260918 #581437 #8A1F57 #BC2A77 #D74C95
Accessibility & contrast
On white
8.70
#8A1F57 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#8A1F57 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F57
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F57 | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333F58
Deuteranopia (green-blind)
#525255
Tritanopia (blue-blind)
#951438
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8a1f57; /* rgb */ color: rgb(138, 31, 87); /* oklch */ color: oklch(43.3% 0.151 353.5);
Tailwind
colors: {
custom: {
50: '#b06686',
500: '#8a1f57',
950: '#000000',
},
}SCSS
$custom: #8a1f57; $custom-light: #b06686; $custom-dark: #000000;
JSON
{
"hex": "#8a1f57",
"rgb": {
"r": 138,
"g": 31,
"b": 87
},
"hsl": {
"h": 328.598,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.43345,
"c": 0.15068,
"h": 353.5
},
"luminance": 0.07071
}Semantic roles & 50–950 ramp
primary
#8A1F57
secondary
#4BBA80
accent
#E69041
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C