#8A1F5A#8A1F5A
#8A1F5A is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.5% C 0.152 H 351.8°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F5A |
|---|---|
| RGB | rgb(138, 31, 90) |
| HSL | hsl(327, 63%, 33%) |
| HSV | hsv(327, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 34.8%, 45.9%) |
| CIE-LAB | lab(32.09, 49.14, -8.43) |
| CIE-LCH | lch(32.09, 49.86, 350.26°) |
| OKLab | oklab(43.47% 0.1506 -0.0218) |
| OKLCH | oklch(43.47% 0.152 351.8) |
| XYZ | xyz(12.8174, 7.1230, 10.3708) |
| Luminance | 0.0712 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Magenta
#960056
ΔE00 3.12
Reddish Purple
#910951
ΔE00 3.16
Dark Fuchsia
#9D0759
ΔE00 3.95
Mulberry
#920A4E
ΔE00 4.01
Deep Magenta
#A0025C
ΔE00 4.24
Red Violet
#9E0168
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F5A #1F8A4F
analogous
#841F8A #8A1F5A #8A1F24
triadic
#8A1F5A #5A8A1F #1F5A8A
tetradic
#8A1F5A #8A841F #1F8A4F #1F248A
square
#8A1F5A #8A841F #1F8A4F #1F248A
split-complementary
#8A1F5A #248A1F #1F8A84
monochromatic
#260919 #581439 #8A1F5A #BC2A7B #D74C99
Accessibility & contrast
On white
8.66
#8A1F5A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#8A1F5A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F5A
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F5A | 1.00 | 8.66 | 2.42 | 8.66 |
| #FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323F5C
Deuteranopia (green-blind)
#515258
Tritanopia (blue-blind)
#95163A
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8a1f5a; /* rgb */ color: rgb(138, 31, 90); /* oklch */ color: oklch(43.5% 0.152 351.8);
Tailwind
colors: {
custom: {
50: '#b06688',
500: '#8a1f5a',
950: '#000000',
},
}SCSS
$custom: #8a1f5a; $custom-light: #b06688; $custom-dark: #000000;
JSON
{
"hex": "#8a1f5a",
"rgb": {
"r": 138,
"g": 31,
"b": 90
},
"hsl": {
"h": 326.916,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.43465,
"c": 0.15215,
"h": 351.8
},
"luminance": 0.07121
}Semantic roles & 50–950 ramp
primary
#8A1F5A
secondary
#4BBA7D
accent
#E68B41
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C