#AF558B#AF558B
#AF558B is a mid, vivid pink. Relative luminance 0.175; OKLCH L 57.6% C 0.134 H 345.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #AF558B |
|---|---|
| RGB | rgb(175, 85, 139) |
| HSL | hsl(324, 36%, 51%) |
| HSV | hsv(324, 51%, 69%) |
| CMYK | cmyk(0%, 51.4%, 20.6%, 31.4%) |
| CIE-LAB | lab(48.86, 43.30, -12.97) |
| CIE-LCH | lch(48.86, 45.20, 343.33°) |
| OKLab | oklab(57.65% 0.1293 -0.0343) |
| OKLCH | oklch(57.65% 0.134 345.1) |
| XYZ | xyz(25.5885, 17.4771, 26.4468) |
| Luminance | 0.1747 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 3.84
Purpleish
#98568D
ΔE00 5.50
Purplish
#94568C
ΔE00 6.34
Purplish Pink
#CE5DAE
ΔE00 8.50
Dusky Purple
#895B7B
ΔE00 8.72
Mediumvioletred
#C71585
ΔE00 8.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF558B #55AF79
analogous
#A655AF #AF558B #AF555E
triadic
#AF558B #8BAF55 #558BAF
tetradic
#AF558B #AFA655 #55AF79 #555EAF
square
#AF558B #AFA655 #55AF79 #555EAF
split-complementary
#AF558B #5EAF55 #55AFA6
monochromatic
#5E2C4A #87406B #AF558B #C37FA7 #D6A8C4
Accessibility & contrast
On white
4.67
#AF558B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#AF558B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #AF558B
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF558B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF558B | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C6B8D
Deuteranopia (green-blind)
#757A89
Tritanopia (blue-blind)
#B9546A
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #af558b; /* rgb */ color: rgb(175, 85, 139); /* oklch */ color: oklch(57.6% 0.134 345.1);
Tailwind
colors: {
custom: {
50: '#c988ad',
500: '#af558b',
950: '#000000',
},
}SCSS
$custom: #af558b; $custom-light: #c988ad; $custom-dark: #000000;
JSON
{
"hex": "#af558b",
"rgb": {
"r": 175,
"g": 85,
"b": 139
},
"hsl": {
"h": 324,
"s": 36,
"l": 50.98
},
"oklch": {
"l": 0.5765,
"c": 0.13374,
"h": 345.1
},
"luminance": 0.17475
}Semantic roles & 50–950 ramp
primary
#AF558B
secondary
#9CC4AC
accent
#CC895C
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130C10
muted
#827D7F