#AA1F5A#AA1F5A
#AA1F5A is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.178 H 1.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #AA1F5A |
|---|---|
| RGB | rgb(170, 31, 90) |
| HSL | hsl(335, 69%, 39%) |
| HSV | hsv(335, 82%, 67%) |
| CMYK | cmyk(0%, 81.8%, 47.1%, 33.3%) |
| CIE-LAB | lab(38.32, 57.79, 1.48) |
| CIE-LCH | lch(38.32, 57.81, 1.47°) |
| OKLab | oklab(49.15% 0.1776 0.0044) |
| OKLCH | oklch(49.15% 0.178 1.4) |
| XYZ | xyz(18.9146, 10.2668, 10.6566) |
| Luminance | 0.1026 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 2.78
Purplish Red
#B0054B
ΔE00 4.22
Berry
#990F4B
ΔE00 4.40
Dark Fuchsia
#9D0759
ΔE00 4.47
Deep Magenta
#A0025C
ΔE00 4.51
Raspberry (survey)
#B00149
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA1F5A #1FAA6F
analogous
#AA1FA0 #AA1F5A #AA291F
triadic
#AA1F5A #5AAA1F #1F5AAA
tetradic
#AA1F5A #A0AA1F #1FAA6F #291FAA
square
#AA1F5A #A0AA1F #1FAA6F #291FAA
split-complementary
#AA1F5A #1FAA29 #1FA0AA
monochromatic
#420C23 #76163F #AA1F5A #D92D76 #E26198
Accessibility & contrast
On white
6.88
#AA1F5A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#AA1F5A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AA1F5A
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA1F5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AA1F5A | 1.00 | 6.88 | 3.05 | 6.88 |
| #FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42495B
Deuteranopia (green-blind)
#676457
Tritanopia (blue-blind)
#B9003A
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #aa1f5a; /* rgb */ color: rgb(170, 31, 90); /* oklch */ color: oklch(49.2% 0.178 1.4);
Tailwind
colors: {
custom: {
50: '#c96b88',
500: '#aa1f5a',
950: '#000000',
},
}SCSS
$custom: #aa1f5a; $custom-light: #c96b88; $custom-dark: #000000;
JSON
{
"hex": "#aa1f5a",
"rgb": {
"r": 170,
"g": 31,
"b": 90
},
"hsl": {
"h": 334.532,
"s": 69.154,
"l": 39.412
},
"oklch": {
"l": 0.49152,
"c": 0.17761,
"h": 1.4
},
"luminance": 0.10264
}Semantic roles & 50–950 ramp
primary
#AA1F5A
secondary
#5EC79A
accent
#ECA13C
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080B
muted
#837A7C