#8A1F56#8A1F56
#8A1F56 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.3% C 0.150 H 354.1°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F56 |
|---|---|
| RGB | rgb(138, 31, 86) |
| HSL | hsl(329, 63%, 33%) |
| HSV | hsv(329, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 37.7%, 45.9%) |
| CIE-LAB | lab(31.94, 48.68, -6.05) |
| CIE-LCH | lch(31.94, 49.05, 352.91°) |
| OKLab | oklab(43.31% 0.1494 -0.0154) |
| OKLCH | oklch(43.31% 0.15 354.1) |
| XYZ | xyz(12.6518, 7.0567, 9.4981) |
| Luminance | 0.0706 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 2.44
Dark Magenta
#960056
ΔE00 2.83
Mulberry
#920A4E
ΔE00 3.11
Dark Fuchsia
#9D0759
ΔE00 3.63
Red Purple
#820747
ΔE00 3.76
Deep Magenta
#A0025C
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F56 #1F8A53
analogous
#881F8A #8A1F56 #8A1F20
triadic
#8A1F56 #568A1F #1F568A
tetradic
#8A1F56 #8A881F #1F8A53 #1F208A
square
#8A1F56 #8A881F #1F8A53 #1F208A
split-complementary
#8A1F56 #208A1F #1F8A88
monochromatic
#260918 #581437 #8A1F56 #BC2A75 #D74C94
Accessibility & contrast
On white
8.71
#8A1F56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#8A1F56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F56
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F56 | 1.00 | 8.71 | 2.41 | 8.71 |
| #FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343F57
Deuteranopia (green-blind)
#525254
Tritanopia (blue-blind)
#951338
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8a1f56; /* rgb */ color: rgb(138, 31, 86); /* oklch */ color: oklch(43.3% 0.150 354.1);
Tailwind
colors: {
custom: {
50: '#b16685',
500: '#8a1f56',
950: '#000000',
},
}SCSS
$custom: #8a1f56; $custom-light: #b16685; $custom-dark: #000000;
JSON
{
"hex": "#8a1f56",
"rgb": {
"r": 138,
"g": 31,
"b": 86
},
"hsl": {
"h": 329.159,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.43306,
"c": 0.15021,
"h": 354.1
},
"luminance": 0.07055
}Semantic roles & 50–950 ramp
primary
#8A1F56
secondary
#4BBA81
accent
#E69241
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C