#AF528F#AF528F
#AF528F is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.4% C 0.141 H 342.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #AF528F |
|---|---|
| RGB | rgb(175, 82, 143) |
| HSL | hsl(321, 37%, 50%) |
| HSV | hsv(321, 53%, 69%) |
| CMYK | cmyk(0%, 53.1%, 18.3%, 31.4%) |
| CIE-LAB | lab(48.43, 45.42, -16.00) |
| CIE-LCH | lch(48.43, 48.16, 340.59°) |
| OKLab | oklab(57.38% 0.1349 -0.0426) |
| OKLCH | oklch(57.38% 0.141 342.5) |
| XYZ | xyz(25.6549, 17.1338, 27.9372) |
| Luminance | 0.1713 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 4.31
Purpleish
#98568D
ΔE00 4.95
Purplish
#94568C
ΔE00 5.82
Ugly Purple
#A442A0
ΔE00 7.54
Mediumvioletred
#C71585
ΔE00 8.16
Purplish Pink
#CE5DAE
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF528F #52AF72
analogous
#A052AF #AF528F #AF5260
triadic
#AF528F #8FAF52 #528FAF
tetradic
#AF528F #AFA052 #52AF72 #5260AF
square
#AF528F #AFA052 #52AF72 #5260AF
split-complementary
#AF528F #60AF52 #52AFA0
monochromatic
#5C2B4B #863E6D #AF528F #C27CAA #D6A6C5
Accessibility & contrast
On white
4.74
#AF528F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#AF528F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF528F
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF528F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF528F | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#586991
Deuteranopia (green-blind)
#72798D
Tritanopia (blue-blind)
#B9536A
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #af528f; /* rgb */ color: rgb(175, 82, 143); /* oklch */ color: oklch(57.4% 0.141 342.5);
Tailwind
colors: {
custom: {
50: '#c986b0',
500: '#af528f',
950: '#000000',
},
}SCSS
$custom: #af528f; $custom-light: #c986b0; $custom-dark: #000000;
JSON
{
"hex": "#af528f",
"rgb": {
"r": 175,
"g": 82,
"b": 143
},
"hsl": {
"h": 320.645,
"s": 36.759,
"l": 50.392
},
"oklch": {
"l": 0.5738,
"c": 0.14147,
"h": 342.5
},
"luminance": 0.17132
}Semantic roles & 50–950 ramp
primary
#AF528F
secondary
#9AC3A8
accent
#CD825B
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130B10
muted
#827C7F