#8A2159#8A2159
#8A2159 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.6% C 0.149 H 352.6°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2159 |
|---|---|
| RGB | rgb(138, 33, 89) |
| HSL | hsl(328, 61%, 34%) |
| HSV | hsv(328, 76%, 54%) |
| CMYK | cmyk(0%, 76.1%, 35.5%, 45.9%) |
| CIE-LAB | lab(32.29, 48.34, -7.48) |
| CIE-LCH | lch(32.29, 48.91, 351.21°) |
| OKLab | oklab(43.6% 0.1481 -0.0192) |
| OKLCH | oklch(43.6% 0.149 352.6) |
| XYZ | xyz(12.8290, 7.2138, 10.1661) |
| Luminance | 0.0721 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 3.03
Dark Magenta
#960056
ΔE00 3.14
Mulberry
#920A4E
ΔE00 3.78
Dark Fuchsia
#9D0759
ΔE00 3.86
Deep Magenta
#A0025C
ΔE00 4.22
Red Purple
#820747
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2159 #218A52
analogous
#86218A #8A2159 #8A2124
triadic
#8A2159 #598A21 #21598A
tetradic
#8A2159 #8A8621 #218A52 #21248A
square
#8A2159 #8A8621 #218A52 #21248A
split-complementary
#8A2159 #248A21 #218A86
monochromatic
#270919 #591539 #8A2159 #BB2D79 #D55097
Accessibility & contrast
On white
8.60
#8A2159 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#8A2159 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2159
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2159 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2159 | 1.00 | 8.60 | 2.44 | 8.60 |
| #FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34405A
Deuteranopia (green-blind)
#525357
Tritanopia (blue-blind)
#95183A
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8a2159; /* rgb */ color: rgb(138, 33, 89); /* oklch */ color: oklch(43.6% 0.149 352.6);
Tailwind
colors: {
custom: {
50: '#b06787',
500: '#8a2159',
950: '#000000',
},
}SCSS
$custom: #8a2159; $custom-light: #b06787; $custom-dark: #000000;
JSON
{
"hex": "#8a2159",
"rgb": {
"r": 138,
"g": 33,
"b": 89
},
"hsl": {
"h": 328,
"s": 61.404,
"l": 33.529
},
"oklch": {
"l": 0.43601,
"c": 0.14938,
"h": 352.6
},
"luminance": 0.07212
}Semantic roles & 50–950 ramp
primary
#8A2159
secondary
#4EB980
accent
#E58F43
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C