#8A1B62#8A1B62
#8A1B62 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.5% C 0.161 H 346.9°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1B62 |
|---|---|
| RGB | rgb(138, 27, 98) |
| HSL | hsl(322, 67%, 32%) |
| HSV | hsv(322, 80%, 54%) |
| CMYK | cmyk(0%, 80.4%, 29%, 45.9%) |
| CIE-LAB | lab(31.97, 51.38, -13.79) |
| CIE-LCH | lch(31.97, 53.20, 344.97°) |
| OKLab | oklab(43.48% 0.1565 -0.0365) |
| OKLCH | oklch(43.48% 0.161 346.9) |
| XYZ | xyz(13.0784, 7.0705, 12.2289) |
| Luminance | 0.0707 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.65
Dark Magenta
#960056
ΔE00 4.51
Reddish Purple
#910951
ΔE00 5.05
Velvet
#750851
ΔE00 5.07
Deep Magenta
#A0025C
ΔE00 5.31
Dark Fuchsia
#9D0759
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1B62 #1B8A43
analogous
#7B1B8A #8A1B62 #8A1B2A
triadic
#8A1B62 #628A1B #1B628A
tetradic
#8A1B62 #8A7B1B #1B8A43 #1B2A8A
square
#8A1B62 #8A7B1B #1B8A43 #1B2A8A
split-complementary
#8A1B62 #2A8A1B #1B8A7B
monochromatic
#240719 #57113E #8A1B62 #BD2586 #DB45A5
Accessibility & contrast
On white
8.70
#8A1B62 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#8A1B62 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1B62
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1B62 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1B62 | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3F64
Deuteranopia (green-blind)
#4D5260
Tritanopia (blue-blind)
#94173C
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8a1b62; /* rgb */ color: rgb(138, 27, 98); /* oklch */ color: oklch(43.5% 0.161 346.9);
Tailwind
colors: {
custom: {
50: '#b0658e',
500: '#8a1b62',
950: '#000000',
},
}SCSS
$custom: #8a1b62; $custom-light: #b0658e; $custom-dark: #000000;
JSON
{
"hex": "#8a1b62",
"rgb": {
"r": 138,
"g": 27,
"b": 98
},
"hsl": {
"h": 321.622,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.43484,
"c": 0.1607,
"h": 346.9
},
"luminance": 0.07069
}Semantic roles & 50–950 ramp
primary
#8A1B62
secondary
#45BC70
accent
#EA7C3E
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D