#AF5099#AF5099
#AF5099 is a mid, vivid pink. Relative luminance 0.172; OKLCH L 57.5% C 0.152 H 337.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #AF5099 |
|---|---|
| RGB | rgb(175, 80, 153) |
| HSL | hsl(314, 37%, 50%) |
| HSV | hsv(314, 54%, 69%) |
| CMYK | cmyk(0%, 54.3%, 12.6%, 31.4%) |
| CIE-LAB | lab(48.45, 48.00, -21.93) |
| CIE-LCH | lch(48.45, 52.77, 335.45°) |
| OKLab | oklab(57.53% 0.1402 -0.0592) |
| OKLCH | oklch(57.53% 0.152 337.1) |
| XYZ | xyz(26.2979, 17.1531, 32.0566) |
| Luminance | 0.1715 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 4.93
Ugly Purple
#A442A0
ΔE00 5.44
Purplish
#94568C
ΔE00 5.73
Light Plum
#9D5783
ΔE00 6.02
Medium Purple
#9E43A2
ΔE00 6.60
Purpley Pink
#C83CB9
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF5099 #50AF66
analogous
#9650AF #AF5099 #AF5069
triadic
#AF5099 #99AF50 #5099AF
tetradic
#AF5099 #AF9650 #50AF66 #5069AF
square
#AF5099 #AF9650 #50AF66 #5069AF
split-complementary
#AF5099 #69AF50 #50AF96
monochromatic
#5B2A50 #853D74 #AF5099 #C27AB1 #D5A4CA
Accessibility & contrast
On white
4.74
#AF5099 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#AF5099 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF5099
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF5099 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF5099 | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#526A9B
Deuteranopia (green-blind)
#6D7896
Tritanopia (blue-blind)
#B7546D
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #af5099; /* rgb */ color: rgb(175, 80, 153); /* oklch */ color: oklch(57.5% 0.152 337.1);
Tailwind
colors: {
custom: {
50: '#c985b7',
500: '#af5099',
950: '#000000',
},
}SCSS
$custom: #af5099; $custom-light: #c985b7; $custom-dark: #000000;
JSON
{
"hex": "#af5099",
"rgb": {
"r": 175,
"g": 80,
"b": 153
},
"hsl": {
"h": 313.895,
"s": 37.255,
"l": 50
},
"oklch": {
"l": 0.57529,
"c": 0.1522,
"h": 337.1
},
"luminance": 0.17151
}Semantic roles & 50–950 ramp
primary
#AF5099
secondary
#98C3A2
accent
#CD755B
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130B11
muted
#827C80