#8A1F62#8A1F62
#8A1F62 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.8% C 0.156 H 347.2°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F62 |
|---|---|
| RGB | rgb(138, 31, 98) |
| HSL | hsl(322, 63%, 33%) |
| HSV | hsv(322, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 29%, 45.9%) |
| CIE-LAB | lab(32.41, 50.13, -13.12) |
| CIE-LCH | lch(32.41, 51.82, 345.33°) |
| OKLab | oklab(43.8% 0.1526 -0.0346) |
| OKLCH | oklch(43.8% 0.156 347.2) |
| XYZ | xyz(13.1765, 7.2666, 12.2616) |
| Luminance | 0.0727 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.73
Dark Magenta
#960056
ΔE00 4.49
Reddish Purple
#910951
ΔE00 4.98
Dark Fuchsia
#9D0759
ΔE00 5.21
Deep Magenta
#A0025C
ΔE00 5.21
Velvet
#750851
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F62 #1F8A47
analogous
#7C1F8A #8A1F62 #8A1F2C
triadic
#8A1F62 #628A1F #1F628A
tetradic
#8A1F62 #8A7C1F #1F8A47 #1F2C8A
square
#8A1F62 #8A7C1F #1F8A47 #1F2C8A
split-complementary
#8A1F62 #2C8A1F #1F8A7C
monochromatic
#26091B #58143F #8A1F62 #BC2A85 #D74CA3
Accessibility & contrast
On white
8.56
#8A1F62 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#8A1F62 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F62
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F62 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F62 | 1.00 | 8.56 | 2.45 | 8.56 |
| #FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4064
Deuteranopia (green-blind)
#4F5360
Tritanopia (blue-blind)
#941B3E
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8a1f62; /* rgb */ color: rgb(138, 31, 98); /* oklch */ color: oklch(43.8% 0.156 347.2);
Tailwind
colors: {
custom: {
50: '#b0668e',
500: '#8a1f62',
950: '#000000',
},
}SCSS
$custom: #8a1f62; $custom-light: #b0668e; $custom-dark: #000000;
JSON
{
"hex": "#8a1f62",
"rgb": {
"r": 138,
"g": 31,
"b": 98
},
"hsl": {
"h": 322.43,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.43804,
"c": 0.15648,
"h": 347.2
},
"luminance": 0.07265
}Semantic roles & 50–950 ramp
primary
#8A1F62
secondary
#4BBA74
accent
#E67F41
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D