#AF519D#AF519D
#AF519D is a mid, vivid pink. Relative luminance 0.174; OKLCH L 57.8% C 0.154 H 335.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #AF519D |
|---|---|
| RGB | rgb(175, 81, 157) |
| HSL | hsl(311, 37%, 50%) |
| HSV | hsv(311, 54%, 69%) |
| CMYK | cmyk(0%, 53.7%, 10.3%, 31.4%) |
| CIE-LAB | lab(48.80, 48.17, -23.76) |
| CIE-LCH | lch(48.80, 53.71, 333.75°) |
| OKLab | oklab(57.84% 0.1396 -0.0644) |
| OKLCH | oklch(57.84% 0.154 335.3) |
| XYZ | xyz(26.7075, 17.4350, 33.8504) |
| Luminance | 0.1743 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 5.16
Purpleish
#98568D
ΔE00 5.20
Purplish
#94568C
ΔE00 5.94
Medium Purple
#9E43A2
ΔE00 6.26
Purpley Pink
#C83CB9
ΔE00 6.40
Light Plum
#9D5783
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF519D #51AF63
analogous
#9251AF #AF519D #AF516E
triadic
#AF519D #9DAF51 #519DAF
tetradic
#AF519D #AF9251 #51AF63 #516EAF
square
#AF519D #AF9251 #51AF63 #516EAF
split-complementary
#AF519D #6EAF51 #51AF92
monochromatic
#5C2A52 #853D78 #AF519D #C27BB5 #D6A5CC
Accessibility & contrast
On white
4.68
#AF519D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#AF519D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF519D
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF519D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF519D | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#516B9F
Deuteranopia (green-blind)
#6C799A
Tritanopia (blue-blind)
#B75670
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #af519d; /* rgb */ color: rgb(175, 81, 157); /* oklch */ color: oklch(57.8% 0.154 335.3);
Tailwind
colors: {
custom: {
50: '#c986ba',
500: '#af519d',
950: '#000000',
},
}SCSS
$custom: #af519d; $custom-light: #c986ba; $custom-dark: #000000;
JSON
{
"hex": "#af519d",
"rgb": {
"r": 175,
"g": 81,
"b": 157
},
"hsl": {
"h": 311.489,
"s": 37.008,
"l": 50.196
},
"oklch": {
"l": 0.57843,
"c": 0.15374,
"h": 335.3
},
"luminance": 0.17433
}Semantic roles & 50–950 ramp
primary
#AF519D
secondary
#99C3A1
accent
#CD715B
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130B11
muted
#827C80