#AA1F62#AA1F62
#AA1F62 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.4% C 0.180 H 357.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #AA1F62 |
|---|---|
| RGB | rgb(170, 31, 98) |
| HSL | hsl(331, 69%, 39%) |
| HSV | hsv(331, 82%, 67%) |
| CMYK | cmyk(0%, 81.8%, 42.4%, 33.3%) |
| CIE-LAB | lab(38.57, 58.54, -3.24) |
| CIE-LCH | lch(38.57, 58.63, 356.83°) |
| OKLab | oklab(49.42% 0.1802 -0.0078) |
| OKLCH | oklch(49.42% 0.18 357.5) |
| XYZ | xyz(19.2736, 10.4104, 12.5474) |
| Luminance | 0.1041 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.26
Deep Magenta
#A0025C
ΔE00 3.53
Dark Fuchsia
#9D0759
ΔE00 3.80
Dark Magenta
#960056
ΔE00 5.39
Magenta (survey)
#C20078
ΔE00 5.46
Red Violet
#9E0168
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA1F62 #1FAA67
analogous
#AA1FA8 #AA1F62 #AA221F
triadic
#AA1F62 #62AA1F #1F62AA
tetradic
#AA1F62 #A8AA1F #1FAA67 #221FAA
square
#AA1F62 #A8AA1F #1FAA67 #221FAA
split-complementary
#AA1F62 #1FAA22 #1FA8AA
monochromatic
#420C26 #761644 #AA1F62 #D92D80 #E2619F
Accessibility & contrast
On white
6.81
#AA1F62 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#AA1F62 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AA1F62
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA1F62 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AA1F62 | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404A64
Deuteranopia (green-blind)
#66645F
Tritanopia (blue-blind)
#B8003E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #aa1f62; /* rgb */ color: rgb(170, 31, 98); /* oklch */ color: oklch(49.4% 0.180 357.5);
Tailwind
colors: {
custom: {
50: '#c96b8e',
500: '#aa1f62',
950: '#000000',
},
}SCSS
$custom: #aa1f62; $custom-light: #c96b8e; $custom-dark: #000000;
JSON
{
"hex": "#aa1f62",
"rgb": {
"r": 170,
"g": 31,
"b": 98
},
"hsl": {
"h": 331.079,
"s": 69.154,
"l": 39.412
},
"oklch": {
"l": 0.49419,
"c": 0.18036,
"h": 357.5
},
"luminance": 0.10408
}Semantic roles & 50–950 ramp
primary
#AA1F62
secondary
#5EC794
accent
#EC973C
background
#FDF6F8
surface
#FAECF0
border
#D3C7CB
text
#14080C
muted
#837A7D