#8A1F66#8A1F66
#8A1F66 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.0% C 0.159 H 345.0°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F66 |
|---|---|
| RGB | rgb(138, 31, 102) |
| HSL | hsl(320, 63%, 33%) |
| HSV | hsv(320, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 26.1%, 45.9%) |
| CIE-LAB | lab(32.58, 50.65, -15.43) |
| CIE-LCH | lch(32.58, 52.95, 343.05°) |
| OKLab | oklab(43.98% 0.1535 -0.0411) |
| OKLCH | oklch(43.98% 0.159 345) |
| XYZ | xyz(13.3701, 7.3440, 13.2812) |
| Luminance | 0.0734 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.84
Dark Magenta
#960056
ΔE00 5.33
Velvet
#750851
ΔE00 5.59
Deep Magenta
#A0025C
ΔE00 5.89
Reddish Purple
#910951
ΔE00 5.92
Dark Fuchsia
#9D0759
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F66 #1F8A43
analogous
#781F8A #8A1F66 #8A1F30
triadic
#8A1F66 #668A1F #1F668A
tetradic
#8A1F66 #8A781F #1F8A43 #1F308A
square
#8A1F66 #8A781F #1F8A43 #1F308A
split-complementary
#8A1F66 #308A1F #1F8A78
monochromatic
#26091C #581441 #8A1F66 #BC2A8B #D74CA8
Accessibility & contrast
On white
8.51
#8A1F66 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#8A1F66 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F66
8.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F66 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F66 | 1.00 | 8.51 | 2.47 | 8.51 |
| #FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4168
Deuteranopia (green-blind)
#4D5364
Tritanopia (blue-blind)
#941D40
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #8a1f66; /* rgb */ color: rgb(138, 31, 102); /* oklch */ color: oklch(44.0% 0.159 345.0);
Tailwind
colors: {
custom: {
50: '#b06691',
500: '#8a1f66',
950: '#000000',
},
}SCSS
$custom: #8a1f66; $custom-light: #b06691; $custom-dark: #000000;
JSON
{
"hex": "#8a1f66",
"rgb": {
"r": 138,
"g": 31,
"b": 102
},
"hsl": {
"h": 320.187,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.43984,
"c": 0.15886,
"h": 345
},
"luminance": 0.07343
}Semantic roles & 50–950 ramp
primary
#8A1F66
secondary
#4BBA70
accent
#E67941
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060D
muted
#807A7D