#AF558F#AF558F
#AF558F is a mid, vivid pink. Relative luminance 0.176; OKLCH L 57.8% C 0.136 H 342.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #AF558F |
|---|---|
| RGB | rgb(175, 85, 143) |
| HSL | hsl(321, 36%, 51%) |
| HSV | hsv(321, 51%, 69%) |
| CMYK | cmyk(0%, 51.4%, 18.3%, 31.4%) |
| CIE-LAB | lab(49.00, 43.92, -15.13) |
| CIE-LCH | lch(49.00, 46.45, 340.99°) |
| OKLab | oklab(57.81% 0.1304 -0.0402) |
| OKLCH | oklch(57.81% 0.136 342.8) |
| XYZ | xyz(25.8861, 17.5961, 28.0143) |
| Luminance | 0.1759 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 4.15
Purpleish
#98568D
ΔE00 5.08
Purplish
#94568C
ΔE00 5.95
Purplish Pink
#CE5DAE
ΔE00 7.97
Ugly Purple
#A442A0
ΔE00 8.19
Mediumvioletred
#C71585
ΔE00 8.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF558F #55AF75
analogous
#A255AF #AF558F #AF5562
triadic
#AF558F #8FAF55 #558FAF
tetradic
#AF558F #AFA255 #55AF75 #5562AF
square
#AF558F #AFA255 #55AF75 #5562AF
split-complementary
#AF558F #62AF55 #55AFA2
monochromatic
#5E2C4C #87406E #AF558F #C37FAA #D6A8C6
Accessibility & contrast
On white
4.65
#AF558F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#AF558F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #AF558F
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF558F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF558F | 1.00 | 4.65 | 4.52 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B6B91
Deuteranopia (green-blind)
#737A8D
Tritanopia (blue-blind)
#B8556B
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #af558f; /* rgb */ color: rgb(175, 85, 143); /* oklch */ color: oklch(57.8% 0.136 342.8);
Tailwind
colors: {
custom: {
50: '#c988af',
500: '#af558f',
950: '#000000',
},
}SCSS
$custom: #af558f; $custom-light: #c988af; $custom-dark: #000000;
JSON
{
"hex": "#af558f",
"rgb": {
"r": 175,
"g": 85,
"b": 143
},
"hsl": {
"h": 321.333,
"s": 36,
"l": 50.98
},
"oklch": {
"l": 0.57808,
"c": 0.13646,
"h": 342.8
},
"luminance": 0.17594
}Semantic roles & 50–950 ramp
primary
#AF558F
secondary
#9CC4AA
accent
#CC845C
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130C10
muted
#827D7F