#AF509D#AF509D
#AF509D is a mid, vivid pink. Relative luminance 0.173; OKLCH L 57.7% C 0.155 H 335.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #AF509D |
|---|---|
| RGB | rgb(175, 80, 157) |
| HSL | hsl(311, 37%, 50%) |
| HSV | hsv(311, 54%, 69%) |
| CMYK | cmyk(0%, 54.3%, 10.3%, 31.4%) |
| CIE-LAB | lab(48.62, 48.66, -24.04) |
| CIE-LCH | lch(48.62, 54.27, 333.71°) |
| OKLab | oklab(57.71% 0.1411 -0.0652) |
| OKLCH | oklch(57.71% 0.155 335.2) |
| XYZ | xyz(26.6338, 17.2875, 33.8258) |
| Luminance | 0.1729 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 4.94
Purpleish
#98568D
ΔE00 5.24
Purplish
#94568C
ΔE00 5.97
Medium Purple
#9E43A2
ΔE00 6.06
Purpley Pink
#C83CB9
ΔE00 6.31
Light Plum
#9D5783
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF509D #50AF62
analogous
#9150AF #AF509D #AF506E
triadic
#AF509D #9DAF50 #509DAF
tetradic
#AF509D #AF9150 #50AF62 #506EAF
square
#AF509D #AF9150 #50AF62 #506EAF
split-complementary
#AF509D #6EAF50 #50AF91
monochromatic
#5B2A52 #853D77 #AF509D #C27AB5 #D5A4CC
Accessibility & contrast
On white
4.71
#AF509D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#AF509D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF509D
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF509D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF509D | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#506BA0
Deuteranopia (green-blind)
#6C799A
Tritanopia (blue-blind)
#B7556F
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #af509d; /* rgb */ color: rgb(175, 80, 157); /* oklch */ color: oklch(57.7% 0.155 335.2);
Tailwind
colors: {
custom: {
50: '#c985ba',
500: '#af509d',
950: '#000000',
},
}SCSS
$custom: #af509d; $custom-light: #c985ba; $custom-dark: #000000;
JSON
{
"hex": "#af509d",
"rgb": {
"r": 175,
"g": 80,
"b": 157
},
"hsl": {
"h": 311.368,
"s": 37.255,
"l": 50
},
"oklch": {
"l": 0.57708,
"c": 0.15537,
"h": 335.2
},
"luminance": 0.17286
}Semantic roles & 50–950 ramp
primary
#AF509D
secondary
#98C3A0
accent
#CD705B
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130B11
muted
#827C80