#AF477D#AF477D
#AF477D is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.2% C 0.148 H 350.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #AF477D |
|---|---|
| RGB | rgb(175, 71, 125) |
| HSL | hsl(329, 42%, 48%) |
| HSV | hsv(329, 59%, 69%) |
| CMYK | cmyk(0%, 59.4%, 28.6%, 31.4%) |
| CIE-LAB | lab(45.78, 48.15, -9.17) |
| CIE-LCH | lch(45.78, 49.01, 349.22°) |
| OKLab | oklab(55.19% 0.146 -0.0238) |
| OKLCH | oklch(55.19% 0.148 350.7) |
| XYZ | xyz(23.6351, 15.1034, 21.0686) |
| Luminance | 0.1510 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.23
Mediumvioletred
#C71585
ΔE00 6.41
Magenta (survey)
#C20078
ΔE00 6.90
Purpleish
#98568D
ΔE00 7.37
Purplish
#94568C
ΔE00 8.02
Light Burgundy
#A8415B
ΔE00 8.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF477D #47AF79
analogous
#AD47AF #AF477D #AF4749
triadic
#AF477D #7DAF47 #477DAF
tetradic
#AF477D #AFAD47 #47AF79 #4749AF
square
#AF477D #AFAD47 #47AF79 #4749AF
split-complementary
#AF477D #49AF47 #47AFAD
monochromatic
#58243F #83355E #AF477D #C46F9B #D69AB9
Accessibility & contrast
On white
5.22
#AF477D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#AF477D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF477D
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF477D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF477D | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#54617F
Deuteranopia (green-blind)
#71737A
Tritanopia (blue-blind)
#BB435C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #af477d; /* rgb */ color: rgb(175, 71, 125); /* oklch */ color: oklch(55.2% 0.148 350.7);
Tailwind
colors: {
custom: {
50: '#ca7fa2',
500: '#af477d',
950: '#000000',
},
}SCSS
$custom: #af477d; $custom-light: #ca7fa2; $custom-dark: #000000;
JSON
{
"hex": "#af477d",
"rgb": {
"r": 175,
"g": 71,
"b": 125
},
"hsl": {
"h": 328.846,
"s": 42.276,
"l": 48.235
},
"oklch": {
"l": 0.55193,
"c": 0.1479,
"h": 350.7
},
"luminance": 0.15101
}Semantic roles & 50–950 ramp
primary
#AF477D
secondary
#8FC2A8
accent
#D29256
background
#FCF8FA
surface
#F9EFF3
border
#D2CACD
text
#140A0F
muted
#827C7F