#AF5C8A#AF5C8A
#AF5C8A is a mid, vivid pink. Relative luminance 0.186; OKLCH L 58.7% C 0.121 H 347.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #AF5C8A |
|---|---|
| RGB | rgb(175, 92, 138) |
| HSL | hsl(327, 34%, 52%) |
| HSV | hsv(327, 47%, 69%) |
| CMYK | cmyk(0%, 47.4%, 21.1%, 31.4%) |
| CIE-LAB | lab(50.22, 39.53, -10.31) |
| CIE-LCH | lch(50.22, 40.85, 345.38°) |
| OKLab | oklab(58.66% 0.1181 -0.0271) |
| OKLCH | oklch(58.66% 0.121 347.1) |
| XYZ | xyz(26.0944, 18.6052, 26.2566) |
| Luminance | 0.1860 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 4.29
Purpleish
#98568D
ΔE00 6.56
Purplish
#94568C
ΔE00 7.33
Purplish Pink
#CE5DAE
ΔE00 8.52
Dusky Purple
#895B7B
ΔE00 8.58
Mauve (survey)
#AE7181
ΔE00 9.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF5C8A #5CAF81
analogous
#AA5CAF #AF5C8A #AF5C61
triadic
#AF5C8A #8AAF5C #5C8AAF
tetradic
#AF5C8A #AFAA5C #5CAF81 #5C61AF
square
#AF5C8A #AFAA5C #5CAF81 #5C61AF
split-complementary
#AF5C8A #61AF5C #5CAFAA
monochromatic
#61304B #8A446B #AF5C8A #C385A7 #D7AEC5
Accessibility & contrast
On white
4.45
#AF5C8A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#AF5C8A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF5C8A
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF5C8A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF5C8A | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#636F8C
Deuteranopia (green-blind)
#797D88
Tritanopia (blue-blind)
#B95B6D
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #af5c8a; /* rgb */ color: rgb(175, 92, 138); /* oklch */ color: oklch(58.7% 0.121 347.1);
Tailwind
colors: {
custom: {
50: '#c98cac',
500: '#af5c8a',
950: '#000000',
},
}SCSS
$custom: #af5c8a; $custom-light: #c98cac; $custom-dark: #000000;
JSON
{
"hex": "#af5c8a",
"rgb": {
"r": 175,
"g": 92,
"b": 138
},
"hsl": {
"h": 326.747,
"s": 34.156,
"l": 52.353
},
"oklch": {
"l": 0.58662,
"c": 0.12117,
"h": 347.1
},
"luminance": 0.18603
}Semantic roles & 50–950 ramp
primary
#AF5C8A
secondary
#A1C5B1
accent
#CA8E5E
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130C10
muted
#827D7F