#AF477F#AF477F
#AF477F is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.3% C 0.149 H 349.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #AF477F |
|---|---|
| RGB | rgb(175, 71, 127) |
| HSL | hsl(328, 42%, 48%) |
| HSV | hsv(328, 59%, 69%) |
| CMYK | cmyk(0%, 59.4%, 27.4%, 31.4%) |
| CIE-LAB | lab(45.85, 48.41, -10.28) |
| CIE-LCH | lch(45.85, 49.49, 348.01°) |
| OKLab | oklab(55.27% 0.1466 -0.0268) |
| OKLCH | oklch(55.27% 0.149 349.6) |
| XYZ | xyz(23.7641, 15.1550, 21.7482) |
| Luminance | 0.1515 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.09
Mediumvioletred
#C71585
ΔE00 6.25
Magenta (survey)
#C20078
ΔE00 6.90
Purpleish
#98568D
ΔE00 7.03
Purplish
#94568C
ΔE00 7.69
Dark Pink
#CB416B
ΔE00 9.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF477F #47AF77
analogous
#AB47AF #AF477F #AF474B
triadic
#AF477F #7FAF47 #477FAF
tetradic
#AF477F #AFAB47 #47AF77 #474BAF
square
#AF477F #AFAB47 #47AF77 #474BAF
split-complementary
#AF477F #4BAF47 #47AFAB
monochromatic
#582440 #83355F #AF477F #C46F9D #D69ABB
Accessibility & contrast
On white
5.21
#AF477F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#AF477F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF477F
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF477F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF477F | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#546181
Deuteranopia (green-blind)
#70737C
Tritanopia (blue-blind)
#BB435D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #af477f; /* rgb */ color: rgb(175, 71, 127); /* oklch */ color: oklch(55.3% 0.149 349.6);
Tailwind
colors: {
custom: {
50: '#ca7fa4',
500: '#af477f',
950: '#000000',
},
}SCSS
$custom: #af477f; $custom-light: #ca7fa4; $custom-dark: #000000;
JSON
{
"hex": "#af477f",
"rgb": {
"r": 175,
"g": 71,
"b": 127
},
"hsl": {
"h": 327.692,
"s": 42.276,
"l": 48.235
},
"oklch": {
"l": 0.55268,
"c": 0.14899,
"h": 349.6
},
"luminance": 0.15153
}Semantic roles & 50–950 ramp
primary
#AF477F
secondary
#8FC2A7
accent
#D28F56
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140A0F
muted
#827C7F