#AA1B51#AA1B51
#AA1B51 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.6% C 0.178 H 5.4°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #AA1B51 |
|---|---|
| RGB | rgb(170, 27, 81) |
| HSL | hsl(337, 73%, 39%) |
| HSV | hsv(337, 84%, 67%) |
| CMYK | cmyk(0%, 84.1%, 52.4%, 33.3%) |
| CIE-LAB | lab(37.71, 58.03, 6.37) |
| CIE-LCH | lch(37.71, 58.38, 6.27°) |
| OKLab | oklab(48.62% 0.1776 0.0167) |
| OKLCH | oklch(48.62% 0.178 5.4) |
| XYZ | xyz(18.4564, 9.9267, 8.7272) |
| Luminance | 0.0992 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.05
Raspberry (survey)
#B00149
ΔE00 2.49
Violet Red
#A50055
ΔE00 3.67
Berry
#990F4B
ΔE00 4.05
Purple Red
#990147
ΔE00 4.46
Cranberry
#9E003A
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA1B51 #1BAA74
analogous
#AA1B98 #AA1B51 #AA2D1B
triadic
#AA1B51 #51AA1B #1B51AA
tetradic
#AA1B51 #98AA1B #1BAA74 #2D1BAA
square
#AA1B51 #98AA1B #1BAA74 #2D1BAA
split-complementary
#AA1B51 #1BAA2D #1B98AA
monochromatic
#400A1F #751338 #AA1B51 #DC266B #E55B8F
Accessibility & contrast
On white
7.04
#AA1B51 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#AA1B51 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #AA1B51
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA1B51 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AA1B51 | 1.00 | 7.04 | 2.98 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434752
Deuteranopia (green-blind)
#68634E
Tritanopia (blue-blind)
#BA0034
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #aa1b51; /* rgb */ color: rgb(170, 27, 81); /* oklch */ color: oklch(48.6% 0.178 5.4);
Tailwind
colors: {
custom: {
50: '#ca6981',
500: '#aa1b51',
950: '#000000',
},
}SCSS
$custom: #aa1b51; $custom-light: #ca6981; $custom-dark: #000000;
JSON
{
"hex": "#aa1b51",
"rgb": {
"r": 170,
"g": 27,
"b": 81
},
"hsl": {
"h": 337.343,
"s": 72.589,
"l": 38.627
},
"oklch": {
"l": 0.48624,
"c": 0.17834,
"h": 5.4
},
"luminance": 0.09924
}Semantic roles & 50–950 ramp
primary
#AA1B51
secondary
#58C99E
accent
#EFAA39
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14070A
muted
#837A7C