#AF5D99#AF5D99
#AF5D99 is a mid, vivid pink. Relative luminance 0.192; OKLCH L 59.4% C 0.130 H 338.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #AF5D99 |
|---|---|
| RGB | rgb(175, 93, 153) |
| HSL | hsl(316, 34%, 53%) |
| HSV | hsv(316, 47%, 69%) |
| CMYK | cmyk(0%, 46.9%, 12.6%, 31.4%) |
| CIE-LAB | lab(50.97, 41.40, -18.06) |
| CIE-LCH | lch(50.97, 45.17, 336.43°) |
| OKLab | oklab(59.4% 0.1209 -0.0485) |
| OKLCH | oklch(59.4% 0.13 338.1) |
| XYZ | xyz(27.3435, 19.2444, 32.4052) |
| Luminance | 0.1924 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 5.52
Light Plum
#9D5783
ΔE00 5.61
Purplish
#94568C
ΔE00 6.32
Purplish Pink
#CE5DAE
ΔE00 6.43
Dark Lilac
#9C6DA5
ΔE00 6.90
Soft Purple
#A66FB5
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF5D99 #5DAF73
analogous
#9C5DAF #AF5D99 #AF5D70
triadic
#AF5D99 #99AF5D #5D99AF
tetradic
#AF5D99 #AF9C5D #5DAF73 #5D70AF
square
#AF5D99 #AF9C5D #5DAF73 #5D70AF
split-complementary
#AF5D99 #70AF5D #5DAF9C
monochromatic
#613054 #8A4478 #AF5D99 #C386B3 #D7AFCD
Accessibility & contrast
On white
4.33
#AF5D99 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#AF5D99 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF5D99
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF5D99 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF5D99 | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F729B
Deuteranopia (green-blind)
#757E97
Tritanopia (blue-blind)
#B75F74
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #af5d99; /* rgb */ color: rgb(175, 93, 153); /* oklch */ color: oklch(59.4% 0.130 338.1);
Tailwind
colors: {
custom: {
50: '#c98db7',
500: '#af5d99',
950: '#000000',
},
}SCSS
$custom: #af5d99; $custom-light: #c98db7; $custom-dark: #000000;
JSON
{
"hex": "#af5d99",
"rgb": {
"r": 175,
"g": 93,
"b": 153
},
"hsl": {
"h": 316.098,
"s": 33.884,
"l": 52.549
},
"oklch": {
"l": 0.59404,
"c": 0.13022,
"h": 338.1
},
"luminance": 0.19243
}Semantic roles & 50–950 ramp
primary
#AF5D99
secondary
#A2C6AC
accent
#CA7B5E
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C11
muted
#827D80