#AF538D#AF538D
#AF538D is a mid, vivid pink. Relative luminance 0.172; OKLCH L 57.4% C 0.138 H 343.7°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #AF538D |
|---|---|
| RGB | rgb(175, 83, 141) |
| HSL | hsl(322, 37%, 51%) |
| HSV | hsv(322, 53%, 69%) |
| CMYK | cmyk(0%, 52.6%, 19.4%, 31.4%) |
| CIE-LAB | lab(48.54, 44.62, -14.64) |
| CIE-LCH | lch(48.54, 46.96, 341.84°) |
| OKLab | oklab(57.44% 0.1329 -0.0389) |
| OKLCH | oklch(57.44% 0.138 343.7) |
| XYZ | xyz(25.5807, 17.2256, 27.1717) |
| Luminance | 0.1722 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 4.04
Purpleish
#98568D
ΔE00 5.15
Purplish
#94568C
ΔE00 6.01
Ugly Purple
#A442A0
ΔE00 8.14
Mediumvioletred
#C71585
ΔE00 8.31
Purplish Pink
#CE5DAE
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF538D #53AF75
analogous
#A353AF #AF538D #AF535F
triadic
#AF538D #8DAF53 #538DAF
tetradic
#AF538D #AFA353 #53AF75 #535FAF
square
#AF538D #AFA353 #53AF75 #535FAF
split-complementary
#AF538D #5FAF53 #53AFA3
monochromatic
#5D2B4A #863E6C #AF538D #C27DA9 #D6A7C4
Accessibility & contrast
On white
4.72
#AF538D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#AF538D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF538D
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF538D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF538D | 1.00 | 4.72 | 4.44 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A6A8F
Deuteranopia (green-blind)
#73798B
Tritanopia (blue-blind)
#B9536A
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #af538d; /* rgb */ color: rgb(175, 83, 141); /* oklch */ color: oklch(57.4% 0.138 343.7);
Tailwind
colors: {
custom: {
50: '#c987ae',
500: '#af538d',
950: '#000000',
},
}SCSS
$custom: #af538d; $custom-light: #c987ae; $custom-dark: #000000;
JSON
{
"hex": "#af538d",
"rgb": {
"r": 175,
"g": 83,
"b": 141
},
"hsl": {
"h": 322.174,
"s": 36.508,
"l": 50.588
},
"oklch": {
"l": 0.57441,
"c": 0.13843,
"h": 343.7
},
"luminance": 0.17224
}Semantic roles & 50–950 ramp
primary
#AF538D
secondary
#9AC3AA
accent
#CD855B
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130B10
muted
#827C7F