#AF528C#AF528C
#AF528C is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.3% C 0.139 H 344.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #AF528C |
|---|---|
| RGB | rgb(175, 82, 140) |
| HSL | hsl(323, 37%, 50%) |
| HSV | hsv(323, 53%, 69%) |
| CMYK | cmyk(0%, 53.1%, 20%, 31.4%) |
| CIE-LAB | lab(48.32, 44.97, -14.38) |
| CIE-LCH | lch(48.32, 47.21, 342.26°) |
| OKLab | oklab(57.26% 0.1341 -0.0382) |
| OKLCH | oklch(57.26% 0.139 344.1) |
| XYZ | xyz(25.4307, 17.0441, 26.7563) |
| Luminance | 0.1704 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 4.02
Purpleish
#98568D
ΔE00 5.21
Purplish
#94568C
ΔE00 6.06
Mediumvioletred
#C71585
ΔE00 8.09
Ugly Purple
#A442A0
ΔE00 8.14
Purplish Pink
#CE5DAE
ΔE00 8.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF528C #52AF75
analogous
#A452AF #AF528C #AF525D
triadic
#AF528C #8CAF52 #528CAF
tetradic
#AF528C #AFA452 #52AF75 #525DAF
square
#AF528C #AFA452 #52AF75 #525DAF
split-complementary
#AF528C #5DAF52 #52AFA4
monochromatic
#5C2B49 #863E6B #AF528C #C27CA8 #D6A6C4
Accessibility & contrast
On white
4.76
#AF528C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#AF528C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF528C
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF528C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF528C | 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)
#59698E
Deuteranopia (green-blind)
#73788A
Tritanopia (blue-blind)
#B95269
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #af528c; /* rgb */ color: rgb(175, 82, 140); /* oklch */ color: oklch(57.3% 0.139 344.1);
Tailwind
colors: {
custom: {
50: '#c986ad',
500: '#af528c',
950: '#000000',
},
}SCSS
$custom: #af528c; $custom-light: #c986ad; $custom-dark: #000000;
JSON
{
"hex": "#af528c",
"rgb": {
"r": 175,
"g": 82,
"b": 140
},
"hsl": {
"h": 322.581,
"s": 36.759,
"l": 50.392
},
"oklch": {
"l": 0.57259,
"c": 0.13941,
"h": 344.1
},
"luminance": 0.17042
}Semantic roles & 50–950 ramp
primary
#AF528C
secondary
#9AC3A9
accent
#CD865B
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130B10
muted
#827C7F