#8A1C51#8A1C51
#8A1C51 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.9% C 0.151 H 356.7°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1C51 |
|---|---|
| RGB | rgb(138, 28, 81) |
| HSL | hsl(331, 66%, 33%) |
| HSV | hsv(331, 80%, 54%) |
| CMYK | cmyk(0%, 79.7%, 41.3%, 45.9%) |
| CIE-LAB | lab(31.42, 49.09, -3.56) |
| CIE-LCH | lch(31.42, 49.22, 355.86°) |
| OKLab | oklab(42.87% 0.151 -0.0087) |
| OKLCH | oklch(42.87% 0.151 356.7) |
| XYZ | xyz(12.3826, 6.8295, 8.4491) |
| Luminance | 0.0683 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 1.81
Mulberry
#920A4E
ΔE00 2.13
Dark Magenta
#960056
ΔE00 2.78
Red Purple
#820747
ΔE00 2.94
Dark Fuchsia
#9D0759
ΔE00 3.59
Berry
#990F4B
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1C51 #1C8A55
analogous
#8A1C88 #8A1C51 #8A1E1C
triadic
#8A1C51 #518A1C #1C518A
tetradic
#8A1C51 #888A1C #1C8A55 #1E1C8A
square
#8A1C51 #888A1C #1C8A55 #1E1C8A
split-complementary
#8A1C51 #1C8A1E #1C888A
monochromatic
#240715 #571233 #8A1C51 #BD266F #DA478E
Accessibility & contrast
On white
8.88
#8A1C51 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#8A1C51 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1C51
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1C51 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1C51 | 1.00 | 8.88 | 2.37 | 8.88 |
| #FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343D52
Deuteranopia (green-blind)
#52514F
Tritanopia (blue-blind)
#960A34
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a1c51; /* rgb */ color: rgb(138, 28, 81); /* oklch */ color: oklch(42.9% 0.151 356.7);
Tailwind
colors: {
custom: {
50: '#b16481',
500: '#8a1c51',
950: '#000000',
},
}SCSS
$custom: #8a1c51; $custom-light: #b16481; $custom-dark: #000000;
JSON
{
"hex": "#8a1c51",
"rgb": {
"r": 138,
"g": 28,
"b": 81
},
"hsl": {
"h": 331.091,
"s": 66.265,
"l": 32.549
},
"oklch": {
"l": 0.42867,
"c": 0.1512,
"h": 356.7
},
"luminance": 0.06828
}Semantic roles & 50–950 ramp
primary
#8A1C51
secondary
#46BB83
accent
#E9973F
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C