#8A1B59#8A1B59
#8A1B59 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.1% C 0.156 H 351.9°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1B59 |
|---|---|
| RGB | rgb(138, 27, 89) |
| HSL | hsl(326, 67%, 32%) |
| HSV | hsv(326, 80%, 54%) |
| CMYK | cmyk(0%, 80.4%, 35.5%, 45.9%) |
| CIE-LAB | lab(31.60, 50.29, -8.51) |
| CIE-LCH | lch(31.60, 51.00, 350.39°) |
| OKLab | oklab(43.1% 0.1543 -0.022) |
| OKLCH | oklch(43.1% 0.156 351.9) |
| XYZ | xyz(12.6771, 6.9100, 10.1154) |
| Luminance | 0.0691 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Magenta
#960056
ΔE00 2.86
Reddish Purple
#910951
ΔE00 2.91
Mulberry
#920A4E
ΔE00 3.83
Dark Fuchsia
#9D0759
ΔE00 3.87
Red Purple
#820747
ΔE00 4.15
Deep Magenta
#A0025C
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1B59 #1B8A4C
analogous
#831B8A #8A1B59 #8A1B22
triadic
#8A1B59 #598A1B #1B598A
tetradic
#8A1B59 #8A831B #1B8A4C #1B228A
square
#8A1B59 #8A831B #1B8A4C #1B228A
split-complementary
#8A1B59 #228A1B #1B8A83
monochromatic
#240717 #571138 #8A1B59 #BD257A #DB4598
Accessibility & contrast
On white
8.82
#8A1B59 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#8A1B59 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1B59
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1B59 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1B59 | 1.00 | 8.82 | 2.38 | 8.82 |
| #FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303E5B
Deuteranopia (green-blind)
#505157
Tritanopia (blue-blind)
#951038
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a1b59; /* rgb */ color: rgb(138, 27, 89); /* oklch */ color: oklch(43.1% 0.156 351.9);
Tailwind
colors: {
custom: {
50: '#b16487',
500: '#8a1b59',
950: '#000000',
},
}SCSS
$custom: #8a1b59; $custom-light: #b16487; $custom-dark: #000000;
JSON
{
"hex": "#8a1b59",
"rgb": {
"r": 138,
"g": 27,
"b": 89
},
"hsl": {
"h": 326.486,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.43099,
"c": 0.15586,
"h": 351.9
},
"luminance": 0.06908
}Semantic roles & 50–950 ramp
primary
#8A1B59
secondary
#45BC79
accent
#EA8A3E
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C