#A5477E#A5477E
#A5477E is a mid, vivid pink. Relative luminance 0.140; OKLCH L 53.8% C 0.139 H 346.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #A5477E |
|---|---|
| RGB | rgb(165, 71, 126) |
| HSL | hsl(325, 40%, 46%) |
| HSV | hsv(325, 57%, 65%) |
| CMYK | cmyk(0%, 57%, 23.6%, 35.3%) |
| CIE-LAB | lab(44.25, 45.11, -12.23) |
| CIE-LCH | lch(44.25, 46.74, 344.84°) |
| OKLab | oklab(53.76% 0.1356 -0.0322) |
| OKLCH | oklch(53.76% 0.139 346.6) |
| XYZ | xyz(21.5369, 14.0141, 21.3053) |
| Luminance | 0.1401 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 4.27
Purpleish
#98568D
ΔE00 5.73
Purplish
#94568C
ΔE00 6.24
Mediumvioletred
#C71585
ΔE00 7.17
Magenta (survey)
#C20078
ΔE00 7.58
Light Eggplant
#894585
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5477E #47A56E
analogous
#9D47A5 #A5477E #A5474F
triadic
#A5477E #7EA547 #477EA5
tetradic
#A5477E #A59D47 #47A56E #474FA5
square
#A5477E #A59D47 #47A56E #474FA5
split-complementary
#A5477E #4FA547 #47A59D
monochromatic
#4F223D #7A355D #A5477E #BF6A9C #D195B8
Accessibility & contrast
On white
5.52
#A5477E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#A5477E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5477E
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5477E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5477E | 1.00 | 5.52 | 3.80 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505F80
Deuteranopia (green-blind)
#6A6F7C
Tritanopia (blue-blind)
#AF455D
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #a5477e; /* rgb */ color: rgb(165, 71, 126); /* oklch */ color: oklch(53.8% 0.139 346.6);
Tailwind
colors: {
custom: {
50: '#c27fa3',
500: '#a5477e',
950: '#000000',
},
}SCSS
$custom: #a5477e; $custom-light: #c27fa3; $custom-dark: #000000;
JSON
{
"hex": "#a5477e",
"rgb": {
"r": 165,
"g": 71,
"b": 126
},
"hsl": {
"h": 324.894,
"s": 39.831,
"l": 46.275
},
"oklch": {
"l": 0.53765,
"c": 0.13939,
"h": 346.6
},
"luminance": 0.14012
}Semantic roles & 50–950 ramp
primary
#A5477E
secondary
#8BBDA0
accent
#D08A58
background
#FCF7FA
surface
#F8EEF3
border
#D1C9CD
text
#130A0F
muted
#827C7F