#8A1F5D#8A1F5D
#8A1F5D is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.6% C 0.154 H 350.0°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F5D |
|---|---|
| RGB | rgb(138, 31, 93) |
| HSL | hsl(325, 63%, 33%) |
| HSV | hsv(325, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 32.6%, 45.9%) |
| CIE-LAB | lab(32.20, 49.50, -10.20) |
| CIE-LCH | lch(32.20, 50.54, 348.36°) |
| OKLab | oklab(43.59% 0.1514 -0.0266) |
| OKLCH | oklch(43.59% 0.154 350) |
| XYZ | xyz(12.9477, 7.1751, 11.0569) |
| Luminance | 0.0717 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Magenta
#960056
ΔE00 3.56
Reddish Purple
#910951
ΔE00 3.82
Red Violet
#9E0168
ΔE00 3.99
Dark Fuchsia
#9D0759
ΔE00 4.35
Deep Magenta
#A0025C
ΔE00 4.52
Mulberry
#920A4E
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F5D #1F8A4C
analogous
#811F8A #8A1F5D #8A1F27
triadic
#8A1F5D #5D8A1F #1F5D8A
tetradic
#8A1F5D #8A811F #1F8A4C #1F278A
square
#8A1F5D #8A811F #1F8A4C #1F278A
split-complementary
#8A1F5D #278A1F #1F8A81
monochromatic
#26091A #58143B #8A1F5D #BC2A7F #D74C9D
Accessibility & contrast
On white
8.62
#8A1F5D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#8A1F5D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F5D
8.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F5D | 1.00 | 8.62 | 2.43 | 8.62 |
| #FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#31405F
Deuteranopia (green-blind)
#50535B
Tritanopia (blue-blind)
#95183B
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8a1f5d; /* rgb */ color: rgb(138, 31, 93); /* oklch */ color: oklch(43.6% 0.154 350.0);
Tailwind
colors: {
custom: {
50: '#b0668b',
500: '#8a1f5d',
950: '#000000',
},
}SCSS
$custom: #8a1f5d; $custom-light: #b0668b; $custom-dark: #000000;
JSON
{
"hex": "#8a1f5d",
"rgb": {
"r": 138,
"g": 31,
"b": 93
},
"hsl": {
"h": 325.234,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.43588,
"c": 0.1537,
"h": 350
},
"luminance": 0.07174
}Semantic roles & 50–950 ramp
primary
#8A1F5D
secondary
#4BBA7A
accent
#E68741
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060B
muted
#807A7C