#AF4D85#AF4D85
#AF4D85 is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.3% C 0.143 H 347.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4D85 |
|---|---|
| RGB | rgb(175, 77, 133) |
| HSL | hsl(326, 39%, 49%) |
| HSV | hsv(326, 56%, 69%) |
| CMYK | cmyk(0%, 56%, 24%, 31.4%) |
| CIE-LAB | lab(47.13, 46.40, -11.98) |
| CIE-LCH | lch(47.13, 47.92, 345.53°) |
| OKLab | oklab(56.29% 0.1396 -0.0315) |
| OKLCH | oklch(56.29% 0.143 347.3) |
| XYZ | xyz(24.5675, 16.1174, 24.0028) |
| Luminance | 0.1611 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 4.21
Purpleish
#98568D
ΔE00 6.02
Purplish
#94568C
ΔE00 6.78
Mediumvioletred
#C71585
ΔE00 7.11
Magenta (survey)
#C20078
ΔE00 8.22
Ugly Purple
#A442A0
ΔE00 8.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4D85 #4DAF77
analogous
#A84DAF #AF4D85 #AF4D54
triadic
#AF4D85 #85AF4D #4D85AF
tetradic
#AF4D85 #AFA84D #4DAF77 #4D54AF
square
#AF4D85 #AFA84D #4DAF77 #4D54AF
split-complementary
#AF4D85 #54AF4D #4DAFA8
monochromatic
#5A2844 #853A65 #AF4D85 #C376A2 #D6A1BF
Accessibility & contrast
On white
4.97
#AF4D85 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#AF4D85 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4D85
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4D85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4D85 | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#576587
Deuteranopia (green-blind)
#727683
Tritanopia (blue-blind)
#BA4B63
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #af4d85; /* rgb */ color: rgb(175, 77, 133); /* oklch */ color: oklch(56.3% 0.143 347.3);
Tailwind
colors: {
custom: {
50: '#ca83a8',
500: '#af4d85',
950: '#000000',
},
}SCSS
$custom: #af4d85; $custom-light: #ca83a8; $custom-dark: #000000;
JSON
{
"hex": "#af4d85",
"rgb": {
"r": 175,
"g": 77,
"b": 133
},
"hsl": {
"h": 325.714,
"s": 38.889,
"l": 49.412
},
"oklch": {
"l": 0.56291,
"c": 0.14308,
"h": 347.3
},
"luminance": 0.16115
}Semantic roles & 50–950 ramp
primary
#AF4D85
secondary
#95C3A9
accent
#CF8B59
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B0F
muted
#827C7F