#AF477E#AF477E
#AF477E is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.2% C 0.148 H 350.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #AF477E |
|---|---|
| RGB | rgb(175, 71, 126) |
| HSL | hsl(328, 42%, 48%) |
| HSV | hsv(328, 59%, 69%) |
| CMYK | cmyk(0%, 59.4%, 28%, 31.4%) |
| CIE-LAB | lab(45.81, 48.28, -9.72) |
| CIE-LCH | lch(45.81, 49.25, 348.61°) |
| OKLab | oklab(55.23% 0.1463 -0.0253) |
| OKLCH | oklch(55.23% 0.148 350.2) |
| XYZ | xyz(23.6993, 15.1291, 21.4067) |
| Luminance | 0.1513 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.15
Mediumvioletred
#C71585
ΔE00 6.33
Magenta (survey)
#C20078
ΔE00 6.90
Purpleish
#98568D
ΔE00 7.20
Purplish
#94568C
ΔE00 7.85
Dark Pink
#CB416B
ΔE00 9.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF477E #47AF78
analogous
#AC47AF #AF477E #AF474A
triadic
#AF477E #7EAF47 #477EAF
tetradic
#AF477E #AFAC47 #47AF78 #474AAF
square
#AF477E #AFAC47 #47AF78 #474AAF
split-complementary
#AF477E #4AAF47 #47AFAC
monochromatic
#58243F #83355F #AF477E #C46F9C #D69ABA
Accessibility & contrast
On white
5.22
#AF477E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#AF477E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF477E
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF477E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF477E | 1.00 | 5.22 | 4.03 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#546180
Deuteranopia (green-blind)
#71737B
Tritanopia (blue-blind)
#BB435D
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #af477e; /* rgb */ color: rgb(175, 71, 126); /* oklch */ color: oklch(55.2% 0.148 350.2);
Tailwind
colors: {
custom: {
50: '#ca7fa3',
500: '#af477e',
950: '#000000',
},
}SCSS
$custom: #af477e; $custom-light: #ca7fa3; $custom-dark: #000000;
JSON
{
"hex": "#af477e",
"rgb": {
"r": 175,
"g": 71,
"b": 126
},
"hsl": {
"h": 328.269,
"s": 42.276,
"l": 48.235
},
"oklch": {
"l": 0.55231,
"c": 0.14844,
"h": 350.2
},
"luminance": 0.15127
}Semantic roles & 50–950 ramp
primary
#AF477E
secondary
#8FC2A7
accent
#D29056
background
#FCF8FA
surface
#F9EFF3
border
#D2CACD
text
#140A0F
muted
#827C7F