#AF528D#AF528D
#AF528D is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.3% C 0.140 H 343.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #AF528D |
|---|---|
| RGB | rgb(175, 82, 141) |
| HSL | hsl(322, 37%, 50%) |
| HSV | hsv(322, 53%, 69%) |
| CMYK | cmyk(0%, 53.1%, 19.4%, 31.4%) |
| CIE-LAB | lab(48.35, 45.12, -14.92) |
| CIE-LCH | lch(48.35, 47.52, 341.70°) |
| OKLab | oklab(57.3% 0.1344 -0.0396) |
| OKLCH | oklch(57.3% 0.14 343.6) |
| XYZ | xyz(25.5048, 17.0737, 27.1464) |
| Luminance | 0.1707 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 4.10
Purpleish
#98568D
ΔE00 5.11
Purplish
#94568C
ΔE00 5.97
Ugly Purple
#A442A0
ΔE00 7.93
Mediumvioletred
#C71585
ΔE00 8.10
Purplish Pink
#CE5DAE
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF528D #52AF74
analogous
#A252AF #AF528D #AF525F
triadic
#AF528D #8DAF52 #528DAF
tetradic
#AF528D #AFA252 #52AF74 #525FAF
square
#AF528D #AFA252 #52AF74 #525FAF
split-complementary
#AF528D #5FAF52 #52AFA2
monochromatic
#5C2B4A #863E6C #AF528D #C27CA9 #D6A6C4
Accessibility & contrast
On white
4.76
#AF528D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#AF528D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF528D
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF528D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF528D | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#59698F
Deuteranopia (green-blind)
#72788B
Tritanopia (blue-blind)
#B95269
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #af528d; /* rgb */ color: rgb(175, 82, 141); /* oklch */ color: oklch(57.3% 0.140 343.6);
Tailwind
colors: {
custom: {
50: '#c986ae',
500: '#af528d',
950: '#000000',
},
}SCSS
$custom: #af528d; $custom-light: #c986ae; $custom-dark: #000000;
JSON
{
"hex": "#af528d",
"rgb": {
"r": 175,
"g": 82,
"b": 141
},
"hsl": {
"h": 321.935,
"s": 36.759,
"l": 50.392
},
"oklch": {
"l": 0.57299,
"c": 0.14009,
"h": 343.6
},
"luminance": 0.17072
}Semantic roles & 50–950 ramp
primary
#AF528D
secondary
#9AC3A9
accent
#CD855B
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130B10
muted
#827C7F