#A52A99#A52A99
#A52A99 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.9% C 0.198 H 332.4°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #A52A99 |
|---|---|
| RGB | rgb(165, 42, 153) |
| HSL | hsl(306, 59%, 41%) |
| HSV | hsv(306, 75%, 65%) |
| CMYK | cmyk(0%, 74.5%, 7.3%, 35.3%) |
| CIE-LAB | lab(41.15, 61.11, -33.43) |
| CIE-LCH | lch(41.15, 69.66, 331.32°) |
| OKLab | oklab(51.89% 0.1757 -0.0919) |
| OKLCH | oklch(51.89% 0.198 332.4) |
| XYZ | xyz(22.0949, 11.9570, 31.2751) |
| Luminance | 0.1196 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.05
Barney Purple
#A00498
ΔE00 3.73
Ugly Purple
#A442A0
ΔE00 4.07
Medium Purple
#9E43A2
ΔE00 4.33
Barney
#AC1DB8
ΔE00 5.22
Purply
#983FB2
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A52A99 #2AA536
analogous
#732AA5 #A52A99 #A52A5B
triadic
#A52A99 #99A52A #2A99A5
tetradic
#A52A99 #A5732A #2AA536 #2A5BA5
square
#A52A99 #A5732A #2AA536 #2A5BA5
split-complementary
#A52A99 #5BA52A #2AA573
monochromatic
#43113F #741E6C #A52A99 #CE3EC0 #DA6FD0
Accessibility & contrast
On white
6.19
#A52A99 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#A52A99 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A52A99
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A52A99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A52A99 | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23569C
Deuteranopia (green-blind)
#536796
Tritanopia (blue-blind)
#AC385F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #a52a99; /* rgb */ color: rgb(165, 42, 153); /* oklch */ color: oklch(51.9% 0.198 332.4);
Tailwind
colors: {
custom: {
50: '#c371b7',
500: '#a52a99',
950: '#000000',
},
}SCSS
$custom: #a52a99; $custom-light: #c371b7; $custom-dark: #000000;
JSON
{
"hex": "#a52a99",
"rgb": {
"r": 165,
"g": 42,
"b": 153
},
"hsl": {
"h": 305.854,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.51887,
"c": 0.19827,
"h": 332.4
},
"luminance": 0.11955
}Semantic roles & 50–950 ramp
primary
#A52A99
secondary
#69C172
accent
#E35545
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80