#AF528E#AF528E
#AF528E is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.3% C 0.141 H 343.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #AF528E |
|---|---|
| RGB | rgb(175, 82, 142) |
| HSL | hsl(321, 37%, 50%) |
| HSV | hsv(321, 53%, 69%) |
| CMYK | cmyk(0%, 53.1%, 18.9%, 31.4%) |
| CIE-LAB | lab(48.39, 45.27, -15.46) |
| CIE-LCH | lch(48.39, 47.84, 341.14°) |
| OKLab | oklab(57.34% 0.1346 -0.0411) |
| OKLCH | oklch(57.34% 0.141 343) |
| XYZ | xyz(25.5795, 17.1036, 27.5400) |
| Luminance | 0.1710 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 4.20
Purpleish
#98568D
ΔE00 5.02
Purplish
#94568C
ΔE00 5.89
Ugly Purple
#A442A0
ΔE00 7.73
Mediumvioletred
#C71585
ΔE00 8.13
Purplish Pink
#CE5DAE
ΔE00 8.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF528E #52AF73
analogous
#A152AF #AF528E #AF525F
triadic
#AF528E #8EAF52 #528EAF
tetradic
#AF528E #AFA152 #52AF73 #525FAF
square
#AF528E #AFA152 #52AF73 #525FAF
split-complementary
#AF528E #5FAF52 #52AFA1
monochromatic
#5C2B4A #863E6C #AF528E #C27CA9 #D6A6C5
Accessibility & contrast
On white
4.75
#AF528E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#AF528E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF528E
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF528E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF528E | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#586990
Deuteranopia (green-blind)
#72798C
Tritanopia (blue-blind)
#B95269
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #af528e; /* rgb */ color: rgb(175, 82, 142); /* oklch */ color: oklch(57.3% 0.141 343.0);
Tailwind
colors: {
custom: {
50: '#c986af',
500: '#af528e',
950: '#000000',
},
}SCSS
$custom: #af528e; $custom-light: #c986af; $custom-dark: #000000;
JSON
{
"hex": "#af528e",
"rgb": {
"r": 175,
"g": 82,
"b": 142
},
"hsl": {
"h": 321.29,
"s": 36.759,
"l": 50.392
},
"oklch": {
"l": 0.5734,
"c": 0.14078,
"h": 343
},
"luminance": 0.17102
}Semantic roles & 50–950 ramp
primary
#AF528E
secondary
#9AC3A8
accent
#CD835B
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130B10
muted
#827C7F