#AF559E#AF559E
#AF559E is a mid, vivid pink. Relative luminance 0.181; OKLCH L 58.4% C 0.148 H 335.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #AF559E |
|---|---|
| RGB | rgb(175, 85, 158) |
| HSL | hsl(311, 36%, 51%) |
| HSV | hsv(311, 51%, 69%) |
| CMYK | cmyk(0%, 51.4%, 9.7%, 31.4%) |
| CIE-LAB | lab(49.59, 46.35, -23.13) |
| CIE-LCH | lch(49.59, 51.80, 333.48°) |
| OKLab | oklab(58.44% 0.1341 -0.0626) |
| OKLCH | oklch(58.44% 0.148 335) |
| XYZ | xyz(27.0993, 18.0814, 34.4039) |
| Luminance | 0.1808 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 5.23
Ugly Purple
#A442A0
ΔE00 5.98
Purplish
#94568C
ΔE00 5.99
Light Plum
#9D5783
ΔE00 6.56
Purpley Pink
#C83CB9
ΔE00 6.73
Pinky Purple
#C94CBE
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF559E #55AF66
analogous
#9355AF #AF559E #AF5571
triadic
#AF559E #9EAF55 #559EAF
tetradic
#AF559E #AF9355 #55AF66 #5571AF
square
#AF559E #AF9355 #55AF66 #5571AF
split-complementary
#AF559E #71AF55 #55AF93
monochromatic
#5E2C54 #87407A #AF559E #C37FB6 #D6A8CD
Accessibility & contrast
On white
4.55
#AF559E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#AF559E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF559E
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF559E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF559E | 1.00 | 4.55 | 4.62 | 4.62 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#556EA0
Deuteranopia (green-blind)
#6F7B9B
Tritanopia (blue-blind)
#B65A72
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #af559e; /* rgb */ color: rgb(175, 85, 158); /* oklch */ color: oklch(58.4% 0.148 335.0);
Tailwind
colors: {
custom: {
50: '#c988bb',
500: '#af559e',
950: '#000000',
},
}SCSS
$custom: #af559e; $custom-light: #c988bb; $custom-dark: #000000;
JSON
{
"hex": "#af559e",
"rgb": {
"r": 175,
"g": 85,
"b": 158
},
"hsl": {
"h": 311.333,
"s": 36,
"l": 50.98
},
"oklch": {
"l": 0.58443,
"c": 0.14795,
"h": 335
},
"luminance": 0.1808
}Semantic roles & 50–950 ramp
primary
#AF559E
secondary
#9CC4A3
accent
#CC715C
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130C11
muted
#827D80