#AA1B9F#AA1B9F
#AA1B9F is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 52.0% C 0.218 H 331.9°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #AA1B9F |
|---|---|
| RGB | rgb(170, 27, 159) |
| HSL | hsl(305, 73%, 39%) |
| HSV | hsv(305, 84%, 67%) |
| CMYK | cmyk(0%, 84.1%, 6.5%, 33.3%) |
| CIE-LAB | lab(40.95, 67.12, -37.30) |
| CIE-LCH | lch(40.95, 76.78, 330.94°) |
| OKLab | oklab(52.02% 0.1926 -0.1029) |
| OKLCH | oklch(52.02% 0.218 331.9) |
| XYZ | xyz(23.2276, 11.8351, 33.8552) |
| Luminance | 0.1183 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 3.01
Warm Purple
#952E8F
ΔE00 4.07
Barney
#AC1DB8
ΔE00 4.17
Ugly Purple
#A442A0
ΔE00 5.17
Medium Purple
#9E43A2
ΔE00 5.34
Purply
#983FB2
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA1B9F #1BAA26
analogous
#6D1BAA #AA1B9F #AA1B57
triadic
#AA1B9F #9FAA1B #1B9FAA
tetradic
#AA1B9F #AA6D1B #1BAA26 #1B57AA
square
#AA1B9F #AA6D1B #1BAA26 #1B57AA
split-complementary
#AA1B9F #57AA1B #1BAA6D
monochromatic
#400A3C #75136E #AA1B9F #DC26CE #E55BDA
Accessibility & contrast
On white
6.24
#AA1B9F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#AA1B9F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AA1B9F
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA1B9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AA1B9F | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0654A2
Deuteranopia (green-blind)
#4F679C
Tritanopia (blue-blind)
#B1305F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #aa1b9f; /* rgb */ color: rgb(170, 27, 159); /* oklch */ color: oklch(52.0% 0.218 331.9);
Tailwind
colors: {
custom: {
50: '#c76dbc',
500: '#aa1b9f',
950: '#000000',
},
}SCSS
$custom: #aa1b9f; $custom-light: #c76dbc; $custom-dark: #000000;
JSON
{
"hex": "#aa1b9f",
"rgb": {
"r": 170,
"g": 27,
"b": 159
},
"hsl": {
"h": 304.615,
"s": 72.589,
"l": 38.627
},
"oklch": {
"l": 0.52018,
"c": 0.21832,
"h": 331.9
},
"luminance": 0.11833
}Semantic roles & 50–950 ramp
primary
#AA1B9F
secondary
#58C961
accent
#EF4739
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81