#AF529E#AF529E
#AF529E is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.0% C 0.153 H 334.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #AF529E |
|---|---|
| RGB | rgb(175, 82, 158) |
| HSL | hsl(311, 37%, 50%) |
| HSV | hsv(311, 53%, 69%) |
| CMYK | cmyk(0%, 53.1%, 9.7%, 31.4%) |
| CIE-LAB | lab(49.03, 47.84, -24.00) |
| CIE-LCH | lch(49.03, 53.52, 333.36°) |
| OKLab | oklab(58.03% 0.1384 -0.0651) |
| OKLCH | oklch(58.03% 0.153 334.8) |
| XYZ | xyz(26.8681, 17.6190, 34.3268) |
| Luminance | 0.1762 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 5.26
Ugly Purple
#A442A0
ΔE00 5.28
Purplish
#94568C
ΔE00 6.00
Medium Purple
#9E43A2
ΔE00 6.34
Purpley Pink
#C83CB9
ΔE00 6.36
Pinky Purple
#C94CBE
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF529E #52AF63
analogous
#9252AF #AF529E #AF526F
triadic
#AF529E #9EAF52 #529EAF
tetradic
#AF529E #AF9252 #52AF63 #526FAF
square
#AF529E #AF9252 #52AF63 #526FAF
split-complementary
#AF529E #6FAF52 #52AF92
monochromatic
#5C2B53 #863E79 #AF529E #C27CB5 #D6A6CD
Accessibility & contrast
On white
4.64
#AF529E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#AF529E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #AF529E
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF529E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF529E | 1.00 | 4.64 | 4.52 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#526CA1
Deuteranopia (green-blind)
#6D7A9B
Tritanopia (blue-blind)
#B65771
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #af529e; /* rgb */ color: rgb(175, 82, 158); /* oklch */ color: oklch(58.0% 0.153 334.8);
Tailwind
colors: {
custom: {
50: '#c987bb',
500: '#af529e',
950: '#000000',
},
}SCSS
$custom: #af529e; $custom-light: #c987bb; $custom-dark: #000000;
JSON
{
"hex": "#af529e",
"rgb": {
"r": 175,
"g": 82,
"b": 158
},
"hsl": {
"h": 310.968,
"s": 36.759,
"l": 50.392
},
"oklch": {
"l": 0.58025,
"c": 0.15293,
"h": 334.8
},
"luminance": 0.17617
}Semantic roles & 50–950 ramp
primary
#AF529E
secondary
#9AC3A1
accent
#CD705B
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130B11
muted
#827C80