#AF558D#AF558D
#AF558D is a mid, vivid pink. Relative luminance 0.175; OKLCH L 57.7% C 0.135 H 344.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #AF558D |
|---|---|
| RGB | rgb(175, 85, 141) |
| HSL | hsl(323, 36%, 51%) |
| HSV | hsv(323, 51%, 69%) |
| CMYK | cmyk(0%, 51.4%, 19.4%, 31.4%) |
| CIE-LAB | lab(48.93, 43.61, -14.05) |
| CIE-LCH | lch(48.93, 45.82, 342.14°) |
| OKLab | oklab(57.73% 0.1298 -0.0373) |
| OKLCH | oklch(57.73% 0.135 344) |
| XYZ | xyz(25.7360, 17.5361, 27.2235) |
| Luminance | 0.1753 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 3.96
Purpleish
#98568D
ΔE00 5.27
Purplish
#94568C
ΔE00 6.13
Purplish Pink
#CE5DAE
ΔE00 8.22
Ugly Purple
#A442A0
ΔE00 8.58
Mediumvioletred
#C71585
ΔE00 8.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF558D #55AF77
analogous
#A455AF #AF558D #AF5560
triadic
#AF558D #8DAF55 #558DAF
tetradic
#AF558D #AFA455 #55AF77 #5560AF
square
#AF558D #AFA455 #55AF77 #5560AF
split-complementary
#AF558D #60AF55 #55AFA4
monochromatic
#5E2C4B #87406C #AF558D #C37FA9 #D6A8C5
Accessibility & contrast
On white
4.66
#AF558D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#AF558D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #AF558D
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF558D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF558D | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C6B8F
Deuteranopia (green-blind)
#747A8B
Tritanopia (blue-blind)
#B9556B
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #af558d; /* rgb */ color: rgb(175, 85, 141); /* oklch */ color: oklch(57.7% 0.135 344.0);
Tailwind
colors: {
custom: {
50: '#c988ae',
500: '#af558d',
950: '#000000',
},
}SCSS
$custom: #af558d; $custom-light: #c988ae; $custom-dark: #000000;
JSON
{
"hex": "#af558d",
"rgb": {
"r": 175,
"g": 85,
"b": 141
},
"hsl": {
"h": 322.667,
"s": 36,
"l": 50.98
},
"oklch": {
"l": 0.57729,
"c": 0.13508,
"h": 344
},
"luminance": 0.17534
}Semantic roles & 50–950 ramp
primary
#AF558D
secondary
#9CC4AB
accent
#CC865C
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130C10
muted
#827D7F