#AA3F97#AA3F97
#AA3F97 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.6% C 0.173 H 335.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #AA3F97 |
|---|---|
| RGB | rgb(170, 63, 151) |
| HSL | hsl(311, 46%, 46%) |
| HSV | hsv(311, 63%, 67%) |
| CMYK | cmyk(0%, 62.9%, 11.2%, 33.3%) |
| CIE-LAB | lab(44.71, 54.08, -26.58) |
| CIE-LCH | lch(44.71, 60.26, 333.82°) |
| OKLab | oklab(54.6% 0.1574 -0.0723) |
| OKLCH | oklch(54.6% 0.173 335.3) |
| XYZ | xyz(23.9412, 14.3373, 30.7786) |
| Luminance | 0.1434 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.54
Medium Purple
#9E43A2
ΔE00 3.88
Warm Purple
#952E8F
ΔE00 6.06
Purpleish
#98568D
ΔE00 6.32
Light Eggplant
#894585
ΔE00 6.63
Purplish
#94568C
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA3F97 #3FAA52
analogous
#873FAA #AA3F97 #AA3F61
triadic
#AA3F97 #97AA3F #3F97AA
tetradic
#AA3F97 #AA873F #3FAA52 #3F61AA
square
#AA3F97 #AA873F #3FAA52 #3F61AA
split-complementary
#AA3F97 #61AA3F #3FAA87
monochromatic
#511E48 #7D2E6F #AA3F97 #C562B3 #D58EC9
Accessibility & contrast
On white
5.43
#AA3F97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#AA3F97 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AA3F97
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA3F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AA3F97 | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F609A
Deuteranopia (green-blind)
#617094
Tritanopia (blue-blind)
#B24665
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #aa3f97; /* rgb */ color: rgb(170, 63, 151); /* oklch */ color: oklch(54.6% 0.173 335.3);
Tailwind
colors: {
custom: {
50: '#c67bb6',
500: '#aa3f97',
950: '#000000',
},
}SCSS
$custom: #aa3f97; $custom-light: #c67bb6; $custom-dark: #000000;
JSON
{
"hex": "#aa3f97",
"rgb": {
"r": 170,
"g": 63,
"b": 151
},
"hsl": {
"h": 310.654,
"s": 45.923,
"l": 45.686
},
"oklch": {
"l": 0.54598,
"c": 0.17324,
"h": 335.3
},
"luminance": 0.14335
}Semantic roles & 50–950 ramp
primary
#AA3F97
secondary
#85C08F
accent
#D66A52
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A11
muted
#827C80