#AA2B99#AA2B99
#AA2B99 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.7% C 0.200 H 334.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #AA2B99 |
|---|---|
| RGB | rgb(170, 43, 153) |
| HSL | hsl(308, 60%, 42%) |
| HSV | hsv(308, 75%, 67%) |
| CMYK | cmyk(0%, 74.7%, 10%, 33.3%) |
| CIE-LAB | lab(42.12, 61.94, -31.85) |
| CIE-LCH | lch(42.12, 69.64, 332.79°) |
| OKLab | oklab(52.75% 0.1799 -0.0872) |
| OKLCH | oklch(52.75% 0.2 334.1) |
| XYZ | xyz(23.1914, 12.5757, 31.3368) |
| Luminance | 0.1257 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.75
Warm Purple
#952E8F
ΔE00 4.00
Medium Purple
#9E43A2
ΔE00 4.40
Barney Purple
#A00498
ΔE00 4.65
Barney
#AC1DB8
ΔE00 5.57
Purply
#983FB2
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA2B99 #2BAA3C
analogous
#7B2BAA #AA2B99 #AA2B5A
triadic
#AA2B99 #99AA2B #2B99AA
tetradic
#AA2B99 #AA7B2B #2BAA3C #2B5AAA
square
#AA2B99 #AA7B2B #2BAA3C #2B5AAA
split-complementary
#AA2B99 #5AAA2B #2BAA7B
monochromatic
#481241 #791F6D #AA2B99 #CF43BD #DC74CE
Accessibility & contrast
On white
5.97
#AA2B99 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#AA2B99 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AA2B99
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA2B99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AA2B99 | 1.00 | 5.97 | 3.51 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28589C
Deuteranopia (green-blind)
#576A96
Tritanopia (blue-blind)
#B2375F
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #aa2b99; /* rgb */ color: rgb(170, 43, 153); /* oklch */ color: oklch(52.7% 0.200 334.1);
Tailwind
colors: {
custom: {
50: '#c772b7',
500: '#aa2b99',
950: '#000000',
},
}SCSS
$custom: #aa2b99; $custom-light: #c772b7; $custom-dark: #000000;
JSON
{
"hex": "#aa2b99",
"rgb": {
"r": 170,
"g": 43,
"b": 153
},
"hsl": {
"h": 308.031,
"s": 59.624,
"l": 41.765
},
"oklch": {
"l": 0.52747,
"c": 0.1999,
"h": 334.1
},
"luminance": 0.12574
}Semantic roles & 50–950 ramp
primary
#AA2B99
secondary
#6EC379
accent
#E35A45
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80