#AA2F7A#AA2F7A
#AA2F7A is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.6% C 0.175 H 347.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #AA2F7A |
|---|---|
| RGB | rgb(170, 47, 122) |
| HSL | hsl(323, 57%, 43%) |
| HSV | hsv(323, 72%, 67%) |
| CMYK | cmyk(0%, 72.4%, 28.2%, 33.3%) |
| CIE-LAB | lab(41.19, 56.26, -14.34) |
| CIE-LCH | lch(41.19, 58.06, 345.70°) |
| OKLab | oklab(51.62% 0.1711 -0.0378) |
| OKLCH | oklch(51.62% 0.175 347.5) |
| XYZ | xyz(21.1079, 11.9865, 19.6106) |
| Luminance | 0.1198 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.55
Mediumvioletred
#C71585
ΔE00 5.05
Red Violet
#9E0168
ΔE00 5.88
Deep Magenta
#A0025C
ΔE00 7.04
Dark Fuchsia
#9D0759
ΔE00 7.58
Warm Purple
#952E8F
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA2F7A #2FAA5F
analogous
#9D2FAA #AA2F7A #AA2F3C
triadic
#AA2F7A #7AAA2F #2F7AAA
tetradic
#AA2F7A #AA9D2F #2FAA5F #2F3CAA
square
#AA2F7A #AA9D2F #2FAA5F #2F3CAA
split-complementary
#AA2F7A #3CAA2F #2FAA9D
monochromatic
#4A1435 #7A2258 #AA2F7A #CD499A #DA79B4
Accessibility & contrast
On white
6.18
#AA2F7A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#AA2F7A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AA2F7A
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA2F7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AA2F7A | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40547C
Deuteranopia (green-blind)
#646977
Tritanopia (blue-blind)
#B62B50
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #aa2f7a; /* rgb */ color: rgb(170, 47, 122); /* oklch */ color: oklch(51.6% 0.175 347.5);
Tailwind
colors: {
custom: {
50: '#c772a0',
500: '#aa2f7a',
950: '#000000',
},
}SCSS
$custom: #aa2f7a; $custom-light: #c772a0; $custom-dark: #000000;
JSON
{
"hex": "#aa2f7a",
"rgb": {
"r": 170,
"g": 47,
"b": 122
},
"hsl": {
"h": 323.415,
"s": 56.682,
"l": 42.549
},
"oklch": {
"l": 0.51622,
"c": 0.17517,
"h": 347.5
},
"luminance": 0.11984
}Semantic roles & 50–950 ramp
primary
#AA2F7A
secondary
#72C292
accent
#E08348
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E