#AA216F#AA216F
#AA216F is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.184 H 351.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #AA216F |
|---|---|
| RGB | rgb(170, 33, 111) |
| HSL | hsl(326, 67%, 40%) |
| HSV | hsv(326, 81%, 67%) |
| CMYK | cmyk(0%, 80.6%, 34.7%, 33.3%) |
| CIE-LAB | lab(39.21, 59.36, -10.48) |
| CIE-LCH | lch(39.21, 60.28, 349.98°) |
| OKLab | oklab(50.04% 0.1822 -0.0271) |
| OKLCH | oklch(50.04% 0.184 351.5) |
| XYZ | xyz(19.9919, 10.7839, 16.0646) |
| Luminance | 0.1078 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.09
Magenta (survey)
#C20078
ΔE00 4.16
Deep Magenta
#A0025C
ΔE00 4.49
Dark Fuchsia
#9D0759
ΔE00 5.07
Violet Red
#A50055
ΔE00 5.81
Mediumvioletred
#C71585
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA216F #21AA5C
analogous
#A021AA #AA216F #AA212B
triadic
#AA216F #6FAA21 #216FAA
tetradic
#AA216F #AAA021 #21AA5C #212BAA
square
#AA216F #AAA021 #21AA5C #212BAA
split-complementary
#AA216F #2BAA21 #21AAA0
monochromatic
#430D2C #77174E #AA216F #D73190 #E164AB
Accessibility & contrast
On white
6.65
#AA216F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#AA216F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AA216F
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA216F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AA216F | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C4D71
Deuteranopia (green-blind)
#63656C
Tritanopia (blue-blind)
#B71246
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #aa216f; /* rgb */ color: rgb(170, 33, 111); /* oklch */ color: oklch(50.0% 0.184 351.5);
Tailwind
colors: {
custom: {
50: '#c86c98',
500: '#aa216f',
950: '#000000',
},
}SCSS
$custom: #aa216f; $custom-light: #c86c98; $custom-dark: #000000;
JSON
{
"hex": "#aa216f",
"rgb": {
"r": 170,
"g": 33,
"b": 111
},
"hsl": {
"h": 325.839,
"s": 67.488,
"l": 39.804
},
"oklch": {
"l": 0.50039,
"c": 0.1842,
"h": 351.5
},
"luminance": 0.10781
}Semantic roles & 50–950 ramp
primary
#AA216F
secondary
#61C68C
accent
#EA883D
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080D
muted
#827B7E