#AA2E7D#AA2E7D
#AA2E7D is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.7% C 0.178 H 346.1°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #AA2E7D |
|---|---|
| RGB | rgb(170, 46, 125) |
| HSL | hsl(322, 57%, 42%) |
| HSV | hsv(322, 73%, 67%) |
| CMYK | cmyk(0%, 72.9%, 26.5%, 33.3%) |
| CIE-LAB | lab(41.19, 57.00, -16.20) |
| CIE-LCH | lch(41.19, 59.25, 344.14°) |
| OKLab | oklab(51.66% 0.1728 -0.0429) |
| OKLCH | oklch(51.66% 0.178 346.1) |
| XYZ | xyz(21.2572, 11.9830, 20.5915) |
| Luminance | 0.1198 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.81
Mediumvioletred
#C71585
ΔE00 5.03
Red Violet
#9E0168
ΔE00 5.97
Warm Purple
#952E8F
ΔE00 7.28
Deep Magenta
#A0025C
ΔE00 7.46
Ugly Purple
#A442A0
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA2E7D #2EAA5B
analogous
#992EAA #AA2E7D #AA2E3F
triadic
#AA2E7D #7DAA2E #2E7DAA
tetradic
#AA2E7D #AA992E #2EAA5B #2E3FAA
square
#AA2E7D #AA992E #2EAA5B #2E3FAA
split-complementary
#AA2E7D #3FAA2E #2EAA99
monochromatic
#4A1436 #7A215A #AA2E7D #CD489D #DA78B7
Accessibility & contrast
On white
6.18
#AA2E7D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#AA2E7D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AA2E7D
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA2E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AA2E7D | 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)
#3E547F
Deuteranopia (green-blind)
#63697A
Tritanopia (blue-blind)
#B62B51
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #aa2e7d; /* rgb */ color: rgb(170, 46, 125); /* oklch */ color: oklch(51.7% 0.178 346.1);
Tailwind
colors: {
custom: {
50: '#c772a2',
500: '#aa2e7d',
950: '#000000',
},
}SCSS
$custom: #aa2e7d; $custom-light: #c772a2; $custom-dark: #000000;
JSON
{
"hex": "#aa2e7d",
"rgb": {
"r": 170,
"g": 46,
"b": 125
},
"hsl": {
"h": 321.774,
"s": 57.407,
"l": 42.353
},
"oklch": {
"l": 0.51657,
"c": 0.17808,
"h": 346.1
},
"luminance": 0.11981
}Semantic roles & 50–950 ramp
primary
#AA2E7D
secondary
#71C38F
accent
#E17F47
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14090F
muted
#827B7F