#AF519E#AF519E
#AF519E is a mid, vivid pink. Relative luminance 0.175; OKLCH L 57.9% C 0.155 H 334.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #AF519E |
|---|---|
| RGB | rgb(175, 81, 158) |
| HSL | hsl(311, 37%, 50%) |
| HSV | hsv(311, 54%, 69%) |
| CMYK | cmyk(0%, 53.7%, 9.7%, 31.4%) |
| CIE-LAB | lab(48.85, 48.33, -24.28) |
| CIE-LCH | lch(48.85, 54.09, 333.32°) |
| OKLab | oklab(57.89% 0.1398 -0.0659) |
| OKLCH | oklch(57.89% 0.155 334.8) |
| XYZ | xyz(26.7933, 17.4693, 34.3018) |
| Luminance | 0.1747 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 5.06
Purpleish
#98568D
ΔE00 5.29
Purplish
#94568C
ΔE00 6.02
Medium Purple
#9E43A2
ΔE00 6.14
Purpley Pink
#C83CB9
ΔE00 6.26
Pinky Purple
#C94CBE
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF519E #51AF62
analogous
#9151AF #AF519E #AF516F
triadic
#AF519E #9EAF51 #519EAF
tetradic
#AF519E #AF9151 #51AF62 #516FAF
square
#AF519E #AF9151 #51AF62 #516FAF
split-complementary
#AF519E #6FAF51 #51AF91
monochromatic
#5C2A53 #853D78 #AF519E #C27BB5 #D6A5CD
Accessibility & contrast
On white
4.67
#AF519E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#AF519E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF519E
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF519E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF519E | 1.00 | 4.67 | 4.49 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#516BA1
Deuteranopia (green-blind)
#6C799B
Tritanopia (blue-blind)
#B75670
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #af519e; /* rgb */ color: rgb(175, 81, 158); /* oklch */ color: oklch(57.9% 0.155 334.8);
Tailwind
colors: {
custom: {
50: '#c986bb',
500: '#af519e',
950: '#000000',
},
}SCSS
$custom: #af519e; $custom-light: #c986bb; $custom-dark: #000000;
JSON
{
"hex": "#af519e",
"rgb": {
"r": 175,
"g": 81,
"b": 158
},
"hsl": {
"h": 310.851,
"s": 37.008,
"l": 50.196
},
"oklch": {
"l": 0.57889,
"c": 0.15456,
"h": 334.8
},
"luminance": 0.17467
}Semantic roles & 50–950 ramp
primary
#AF519E
secondary
#99C3A0
accent
#CD6F5B
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130B11
muted
#827C80