#8A1F58#8A1F58
#8A1F58 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.4% C 0.151 H 352.9°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F58 |
|---|---|
| RGB | rgb(138, 31, 88) |
| HSL | hsl(328, 63%, 33%) |
| HSV | hsv(328, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 36.2%, 45.9%) |
| CIE-LAB | lab(32.01, 48.91, -7.24) |
| CIE-LCH | lch(32.01, 49.44, 351.57°) |
| OKLab | oklab(43.38% 0.15 -0.0186) |
| OKLCH | oklch(43.38% 0.151 352.9) |
| XYZ | xyz(12.7335, 7.0894, 9.9285) |
| Luminance | 0.0709 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 2.77
Dark Magenta
#960056
ΔE00 2.92
Mulberry
#920A4E
ΔE00 3.55
Dark Fuchsia
#9D0759
ΔE00 3.75
Red Purple
#820747
ΔE00 4.09
Deep Magenta
#A0025C
ΔE00 4.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F58 #1F8A51
analogous
#861F8A #8A1F58 #8A1F23
triadic
#8A1F58 #588A1F #1F588A
tetradic
#8A1F58 #8A861F #1F8A51 #1F238A
square
#8A1F58 #8A861F #1F8A51 #1F238A
split-complementary
#8A1F58 #238A1F #1F8A86
monochromatic
#260918 #581438 #8A1F58 #BC2A78 #D74C96
Accessibility & contrast
On white
8.69
#8A1F58 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#8A1F58 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F58
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F58 | 1.00 | 8.69 | 2.42 | 8.69 |
| #FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333F59
Deuteranopia (green-blind)
#515256
Tritanopia (blue-blind)
#951439
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8a1f58; /* rgb */ color: rgb(138, 31, 88); /* oklch */ color: oklch(43.4% 0.151 352.9);
Tailwind
colors: {
custom: {
50: '#b06687',
500: '#8a1f58',
950: '#000000',
},
}SCSS
$custom: #8a1f58; $custom-light: #b06687; $custom-dark: #000000;
JSON
{
"hex": "#8a1f58",
"rgb": {
"r": 138,
"g": 31,
"b": 88
},
"hsl": {
"h": 328.037,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.43384,
"c": 0.15116,
"h": 352.9
},
"luminance": 0.07088
}Semantic roles & 50–950 ramp
primary
#8A1F58
secondary
#4BBA7F
accent
#E68F41
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C