#AA2F7E#AA2F7E
#AA2F7E is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.8% C 0.177 H 345.7°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #AA2F7E |
|---|---|
| RGB | rgb(170, 47, 126) |
| HSL | hsl(321, 57%, 43%) |
| HSV | hsv(321, 72%, 67%) |
| CMYK | cmyk(0%, 72.4%, 25.9%, 33.3%) |
| CIE-LAB | lab(41.36, 56.77, -16.56) |
| CIE-LCH | lch(41.36, 59.14, 343.74°) |
| OKLab | oklab(51.79% 0.172 -0.0439) |
| OKLCH | oklch(51.79% 0.177 345.7) |
| XYZ | xyz(21.3609, 12.0877, 20.9428) |
| Luminance | 0.1208 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.93
Mediumvioletred
#C71585
ΔE00 5.03
Red Violet
#9E0168
ΔE00 6.17
Warm Purple
#952E8F
ΔE00 7.16
Deep Magenta
#A0025C
ΔE00 7.69
Ugly Purple
#A442A0
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA2F7E #2FAA5B
analogous
#982FAA #AA2F7E #AA2F41
triadic
#AA2F7E #7EAA2F #2F7EAA
tetradic
#AA2F7E #AA982F #2FAA5B #2F41AA
square
#AA2F7E #AA982F #2FAA5B #2F41AA
split-complementary
#AA2F7E #41AA2F #2FAA98
monochromatic
#4A1437 #7A225A #AA2F7E #CD499E #DA79B7
Accessibility & contrast
On white
6.15
#AA2F7E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#AA2F7E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AA2F7E
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA2F7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AA2F7E | 1.00 | 6.15 | 3.42 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E5480
Deuteranopia (green-blind)
#63697B
Tritanopia (blue-blind)
#B62D52
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #aa2f7e; /* rgb */ color: rgb(170, 47, 126); /* oklch */ color: oklch(51.8% 0.177 345.7);
Tailwind
colors: {
custom: {
50: '#c773a3',
500: '#aa2f7e',
950: '#000000',
},
}SCSS
$custom: #aa2f7e; $custom-light: #c773a3; $custom-dark: #000000;
JSON
{
"hex": "#aa2f7e",
"rgb": {
"r": 170,
"g": 47,
"b": 126
},
"hsl": {
"h": 321.463,
"s": 56.682,
"l": 42.549
},
"oklch": {
"l": 0.51791,
"c": 0.17748,
"h": 345.7
},
"luminance": 0.12085
}Semantic roles & 50–950 ramp
primary
#AA2F7E
secondary
#72C28F
accent
#E07E48
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14090F
muted
#827B7F