#AF579D#AF579D
#AF579D is a mid, vivid pink. Relative luminance 0.184; OKLCH L 58.7% C 0.144 H 335.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #AF579D |
|---|---|
| RGB | rgb(175, 87, 157) |
| HSL | hsl(312, 35%, 51%) |
| HSV | hsv(312, 50%, 69%) |
| CMYK | cmyk(0%, 50.3%, 10.3%, 31.4%) |
| CIE-LAB | lab(49.94, 45.17, -22.01) |
| CIE-LCH | lch(49.94, 50.25, 334.02°) |
| OKLab | oklab(58.68% 0.1309 -0.0595) |
| OKLCH | oklch(58.68% 0.144 335.6) |
| XYZ | xyz(27.1733, 18.3665, 34.0056) |
| Luminance | 0.1837 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 5.19
Purplish
#94568C
ΔE00 5.97
Light Plum
#9D5783
ΔE00 6.29
Ugly Purple
#A442A0
ΔE00 6.57
Purplish Pink
#CE5DAE
ΔE00 6.71
Pinky Purple
#C94CBE
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF579D #57AF69
analogous
#9557AF #AF579D #AF5771
triadic
#AF579D #9DAF57 #579DAF
tetradic
#AF579D #AF9557 #57AF69 #5771AF
square
#AF579D #AF9557 #57AF69 #5771AF
split-complementary
#AF579D #71AF57 #57AF95
monochromatic
#5F2D54 #884179 #AF579D #C380B5 #D6AACD
Accessibility & contrast
On white
4.49
#AF579D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.67
#AF579D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF579D
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF579D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF579D | 1.00 | 4.49 | 4.67 | 4.67 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#586F9F
Deuteranopia (green-blind)
#707C9B
Tritanopia (blue-blind)
#B65B73
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #af579d; /* rgb */ color: rgb(175, 87, 157); /* oklch */ color: oklch(58.7% 0.144 335.6);
Tailwind
colors: {
custom: {
50: '#c98aba',
500: '#af579d',
950: '#000000',
},
}SCSS
$custom: #af579d; $custom-light: #c98aba; $custom-dark: #000000;
JSON
{
"hex": "#af579d",
"rgb": {
"r": 175,
"g": 87,
"b": 157
},
"hsl": {
"h": 312.273,
"s": 35.484,
"l": 51.373
},
"oklch": {
"l": 0.58685,
"c": 0.14377,
"h": 335.6
},
"luminance": 0.18365
}Semantic roles & 50–950 ramp
primary
#AF579D
secondary
#9EC4A5
accent
#CC735C
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130C11
muted
#827D80