#AA2F7F#AA2F7F
#AA2F7F is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.8% C 0.178 H 345.2°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #AA2F7F |
|---|---|
| RGB | rgb(170, 47, 127) |
| HSL | hsl(321, 57%, 43%) |
| HSV | hsv(321, 72%, 67%) |
| CMYK | cmyk(0%, 72.4%, 25.3%, 33.3%) |
| CIE-LAB | lab(41.40, 56.90, -17.11) |
| CIE-LCH | lch(41.40, 59.42, 343.26°) |
| OKLab | oklab(51.84% 0.1722 -0.0455) |
| OKLCH | oklch(51.84% 0.178 345.2) |
| XYZ | xyz(21.4257, 12.1136, 21.2844) |
| Luminance | 0.1211 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 5.04
Mediumvioletred
#C71585
ΔE00 5.05
Red Violet
#9E0168
ΔE00 6.26
Warm Purple
#952E8F
ΔE00 6.98
Ugly Purple
#A442A0
ΔE00 7.50
Light Eggplant
#894585
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA2F7F #2FAA5A
analogous
#982FAA #AA2F7F #AA2F41
triadic
#AA2F7F #7FAA2F #2F7FAA
tetradic
#AA2F7F #AA982F #2FAA5A #2F41AA
square
#AA2F7F #AA982F #2FAA5A #2F41AA
split-complementary
#AA2F7F #41AA2F #2FAA98
monochromatic
#4A1437 #7A225B #AA2F7F #CD499F #DA79B8
Accessibility & contrast
On white
6.14
#AA2F7F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#AA2F7F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AA2F7F
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA2F7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AA2F7F | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E5481
Deuteranopia (green-blind)
#63697C
Tritanopia (blue-blind)
#B52D53
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #aa2f7f; /* rgb */ color: rgb(170, 47, 127); /* oklch */ color: oklch(51.8% 0.178 345.2);
Tailwind
colors: {
custom: {
50: '#c773a4',
500: '#aa2f7f',
950: '#000000',
},
}SCSS
$custom: #aa2f7f; $custom-light: #c773a4; $custom-dark: #000000;
JSON
{
"hex": "#aa2f7f",
"rgb": {
"r": 170,
"g": 47,
"b": 127
},
"hsl": {
"h": 320.976,
"s": 56.682,
"l": 42.549
},
"oklch": {
"l": 0.51835,
"c": 0.17807,
"h": 345.2
},
"luminance": 0.12111
}Semantic roles & 50–950 ramp
primary
#AA2F7F
secondary
#72C28E
accent
#E07D48
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F