#AA1F5F#AA1F5F
#AA1F5F is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.179 H 359.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #AA1F5F |
|---|---|
| RGB | rgb(170, 31, 95) |
| HSL | hsl(332, 69%, 39%) |
| HSV | hsv(332, 82%, 67%) |
| CMYK | cmyk(0%, 81.8%, 44.1%, 33.3%) |
| CIE-LAB | lab(38.47, 58.25, -1.48) |
| CIE-LCH | lch(38.47, 58.27, 358.55°) |
| OKLab | oklab(49.32% 0.1792 -0.0032) |
| OKLCH | oklch(49.32% 0.179 359) |
| XYZ | xyz(19.1346, 10.3548, 11.8153) |
| Luminance | 0.1035 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 2.90
Deep Magenta
#A0025C
ΔE00 3.77
Dark Fuchsia
#9D0759
ΔE00 3.91
Berry
#990F4B
ΔE00 5.01
Dark Magenta
#960056
ΔE00 5.52
Purplish Red
#B0054B
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA1F5F #1FAA6A
analogous
#AA1FA5 #AA1F5F #AA251F
triadic
#AA1F5F #5FAA1F #1F5FAA
tetradic
#AA1F5F #A5AA1F #1FAA6A #251FAA
square
#AA1F5F #A5AA1F #1FAA6A #251FAA
split-complementary
#AA1F5F #1FAA25 #1FA5AA
monochromatic
#420C25 #761642 #AA1F5F #D92D7C #E2619D
Accessibility & contrast
On white
6.84
#AA1F5F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#AA1F5F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AA1F5F
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA1F5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AA1F5F | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414A60
Deuteranopia (green-blind)
#66645C
Tritanopia (blue-blind)
#B9003D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #aa1f5f; /* rgb */ color: rgb(170, 31, 95); /* oklch */ color: oklch(49.3% 0.179 359.0);
Tailwind
colors: {
custom: {
50: '#c96b8c',
500: '#aa1f5f',
950: '#000000',
},
}SCSS
$custom: #aa1f5f; $custom-light: #c96b8c; $custom-dark: #000000;
JSON
{
"hex": "#aa1f5f",
"rgb": {
"r": 170,
"g": 31,
"b": 95
},
"hsl": {
"h": 332.374,
"s": 69.154,
"l": 39.412
},
"oklch": {
"l": 0.49316,
"c": 0.17926,
"h": 359
},
"luminance": 0.10352
}Semantic roles & 50–950 ramp
primary
#AA1F5F
secondary
#5EC797
accent
#EC9B3C
background
#FDF6F8
surface
#FAECF0
border
#D3C7CB
text
#14080C
muted
#837A7D