#AA1F5B#AA1F5B
#AA1F5B is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.178 H 0.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #AA1F5B |
|---|---|
| RGB | rgb(170, 31, 91) |
| HSL | hsl(334, 69%, 39%) |
| HSV | hsv(334, 82%, 67%) |
| CMYK | cmyk(0%, 81.8%, 46.5%, 33.3%) |
| CIE-LAB | lab(38.35, 57.88, 0.89) |
| CIE-LCH | lch(38.35, 57.89, 0.88°) |
| OKLab | oklab(49.18% 0.1779 0.0029) |
| OKLCH | oklch(49.18% 0.178 0.9) |
| XYZ | xyz(18.9575, 10.2840, 10.8822) |
| Luminance | 0.1028 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 2.74
Dark Fuchsia
#9D0759
ΔE00 4.32
Deep Magenta
#A0025C
ΔE00 4.34
Purplish Red
#B0054B
ΔE00 4.48
Berry
#990F4B
ΔE00 4.49
Raspberry (survey)
#B00149
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA1F5B #1FAA6E
analogous
#AA1FA1 #AA1F5B #AA291F
triadic
#AA1F5B #5BAA1F #1F5BAA
tetradic
#AA1F5B #A1AA1F #1FAA6E #291FAA
square
#AA1F5B #A1AA1F #1FAA6E #291FAA
split-complementary
#AA1F5B #1FAA29 #1FA1AA
monochromatic
#420C24 #76163F #AA1F5B #D92D77 #E26199
Accessibility & contrast
On white
6.87
#AA1F5B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#AA1F5B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AA1F5B
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA1F5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AA1F5B | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42495C
Deuteranopia (green-blind)
#676458
Tritanopia (blue-blind)
#B9003B
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #aa1f5b; /* rgb */ color: rgb(170, 31, 91); /* oklch */ color: oklch(49.2% 0.178 0.9);
Tailwind
colors: {
custom: {
50: '#c96b89',
500: '#aa1f5b',
950: '#000000',
},
}SCSS
$custom: #aa1f5b; $custom-light: #c96b89; $custom-dark: #000000;
JSON
{
"hex": "#aa1f5b",
"rgb": {
"r": 170,
"g": 31,
"b": 91
},
"hsl": {
"h": 334.101,
"s": 69.154,
"l": 39.412
},
"oklch": {
"l": 0.49184,
"c": 0.17792,
"h": 0.9
},
"luminance": 0.10281
}Semantic roles & 50–950 ramp
primary
#AA1F5B
secondary
#5EC79A
accent
#ECA03C
background
#FDF6F8
surface
#FAECF0
border
#D3C7CB
text
#14080B
muted
#837A7C