#8A2F60#8A2F60
#8A2F60 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.4% C 0.135 H 350.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2F60 |
|---|---|
| RGB | rgb(138, 47, 96) |
| HSL | hsl(328, 49%, 36%) |
| HSV | hsv(328, 66%, 54%) |
| CMYK | cmyk(0%, 65.9%, 30.4%, 45.9%) |
| CIE-LAB | lab(34.56, 43.63, -8.57) |
| CIE-LCH | lch(34.56, 44.47, 348.89°) |
| OKLab | oklab(45.36% 0.1327 -0.0223) |
| OKLCH | oklch(45.36% 0.135 350.5) |
| XYZ | xyz(13.6097, 8.2823, 11.9460) |
| Luminance | 0.0828 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Magenta
#960056
ΔE00 5.21
Reddish Purple
#910951
ΔE00 5.25
Dark Fuchsia
#9D0759
ΔE00 5.30
Red Violet
#9E0168
ΔE00 5.43
Deep Magenta
#A0025C
ΔE00 5.48
Mulberry
#920A4E
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2F60 #2F8A59
analogous
#872F8A #8A2F60 #8A2F33
triadic
#8A2F60 #608A2F #2F608A
tetradic
#8A2F60 #8A872F #2F8A59 #2F338A
square
#8A2F60 #8A872F #2F8A59 #2F338A
split-complementary
#8A2F60 #338A2F #2F8A87
monochromatic
#2F1020 #5C1F40 #8A2F60 #B83F80 #CC689E
Accessibility & contrast
On white
7.91
#8A2F60 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#8A2F60 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2F60
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2F60 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2F60 | 1.00 | 7.91 | 2.66 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C4761
Deuteranopia (green-blind)
#55575E
Tritanopia (blue-blind)
#942B43
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8a2f60; /* rgb */ color: rgb(138, 47, 96); /* oklch */ color: oklch(45.4% 0.135 350.5);
Tailwind
colors: {
custom: {
50: '#af6e8d',
500: '#8a2f60',
950: '#000000',
},
}SCSS
$custom: #8a2f60; $custom-light: #af6e8d; $custom-dark: #000000;
JSON
{
"hex": "#8a2f60",
"rgb": {
"r": 138,
"g": 47,
"b": 96
},
"hsl": {
"h": 327.692,
"s": 49.189,
"l": 36.275
},
"oklch": {
"l": 0.45359,
"c": 0.13455,
"h": 350.5
},
"luminance": 0.08281
}Semantic roles & 50–950 ramp
primary
#8A2F60
secondary
#62B387
accent
#D98F4F
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D