#AA337E#AA337E
#AA337E is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.2% C 0.173 H 346.0°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #AA337E |
|---|---|
| RGB | rgb(170, 51, 126) |
| HSL | hsl(322, 54%, 43%) |
| HSV | hsv(322, 70%, 67%) |
| CMYK | cmyk(0%, 70%, 25.9%, 33.3%) |
| CIE-LAB | lab(41.88, 55.30, -15.76) |
| CIE-LCH | lch(41.88, 57.51, 344.10°) |
| OKLab | oklab(52.17% 0.1674 -0.0417) |
| OKLCH | oklch(52.17% 0.173 346) |
| XYZ | xyz(21.5282, 12.4223, 20.9986) |
| Luminance | 0.1242 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 5.01
Magenta (survey)
#C20078
ΔE00 5.03
Red Violet
#9E0168
ΔE00 6.65
Warm Purple
#952E8F
ΔE00 7.53
Ugly Purple
#A442A0
ΔE00 7.69
Light Eggplant
#894585
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA337E #33AA5F
analogous
#9A33AA #AA337E #AA3342
triadic
#AA337E #7EAA33 #337EAA
tetradic
#AA337E #AA9A33 #33AA5F #3342AA
square
#AA337E #AA9A33 #33AA5F #3342AA
split-complementary
#AA337E #42AA33 #33AA9A
monochromatic
#4C1738 #7B255B #AA337E #CA509D #D97FB7
Accessibility & contrast
On white
6.03
#AA337E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#AA337E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AA337E
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA337E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AA337E | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#415680
Deuteranopia (green-blind)
#646A7B
Tritanopia (blue-blind)
#B53054
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #aa337e; /* rgb */ color: rgb(170, 51, 126); /* oklch */ color: oklch(52.2% 0.173 346.0);
Tailwind
colors: {
custom: {
50: '#c774a3',
500: '#aa337e',
950: '#000000',
},
}SCSS
$custom: #aa337e; $custom-light: #c774a3; $custom-dark: #000000;
JSON
{
"hex": "#aa337e",
"rgb": {
"r": 170,
"g": 51,
"b": 126
},
"hsl": {
"h": 322.185,
"s": 53.846,
"l": 43.333
},
"oklch": {
"l": 0.52174,
"c": 0.17254,
"h": 346
},
"luminance": 0.1242
}Semantic roles & 50–950 ramp
primary
#AA337E
secondary
#77C293
accent
#DD814B
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14090F
muted
#827B7F