#AF5F99#AF5F99
#AF5F99 is a mid, vivid pink. Relative luminance 0.196; OKLCH L 59.7% C 0.127 H 338.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #AF5F99 |
|---|---|
| RGB | rgb(175, 95, 153) |
| HSL | hsl(317, 33%, 53%) |
| HSV | hsv(317, 46%, 69%) |
| CMYK | cmyk(0%, 45.7%, 12.6%, 31.4%) |
| CIE-LAB | lab(51.38, 40.35, -17.44) |
| CIE-LCH | lch(51.38, 43.95, 336.63°) |
| OKLab | oklab(59.71% 0.1178 -0.0467) |
| OKLCH | oklch(59.71% 0.127 338.3) |
| XYZ | xyz(27.5213, 19.6001, 32.4644) |
| Luminance | 0.1960 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.73
Purpleish
#98568D
ΔE00 5.81
Purplish Pink
#CE5DAE
ΔE00 6.39
Purplish
#94568C
ΔE00 6.59
Dark Lilac
#9C6DA5
ΔE00 6.68
Soft Purple
#A66FB5
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF5F99 #5FAF75
analogous
#9D5FAF #AF5F99 #AF5F71
triadic
#AF5F99 #99AF5F #5F99AF
tetradic
#AF5F99 #AF9D5F #5FAF75 #5F71AF
square
#AF5F99 #AF9D5F #5FAF75 #5F71AF
split-complementary
#AF5F99 #71AF5F #5FAF9D
monochromatic
#623155 #8B4678 #AF5F99 #C388B3 #D8B1CD
Accessibility & contrast
On white
4.27
#AF5F99 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#AF5F99 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF5F99
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF5F99 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF5F99 | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#61739B
Deuteranopia (green-blind)
#777F97
Tritanopia (blue-blind)
#B76175
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #af5f99; /* rgb */ color: rgb(175, 95, 153); /* oklch */ color: oklch(59.7% 0.127 338.3);
Tailwind
colors: {
custom: {
50: '#c88fb7',
500: '#af5f99',
950: '#000000',
},
}SCSS
$custom: #af5f99; $custom-light: #c88fb7; $custom-dark: #000000;
JSON
{
"hex": "#af5f99",
"rgb": {
"r": 175,
"g": 95,
"b": 153
},
"hsl": {
"h": 316.5,
"s": 33.333,
"l": 52.941
},
"oklch": {
"l": 0.59711,
"c": 0.12671,
"h": 338.3
},
"luminance": 0.19598
}Semantic roles & 50–950 ramp
primary
#AF5F99
secondary
#A4C6AD
accent
#C97C5E
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C11
muted
#827D80