#AF4D97#AF4D97
#AF4D97 is a mid, vivid pink. Relative luminance 0.167; OKLCH L 57.0% C 0.155 H 337.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4D97 |
|---|---|
| RGB | rgb(175, 77, 151) |
| HSL | hsl(315, 39%, 49%) |
| HSV | hsv(315, 56%, 69%) |
| CMYK | cmyk(0%, 56%, 13.7%, 31.4%) |
| CIE-LAB | lab(47.83, 49.13, -21.70) |
| CIE-LCH | lch(47.83, 53.70, 336.17°) |
| OKLab | oklab(57.04% 0.1441 -0.0585) |
| OKLCH | oklch(57.04% 0.155 337.9) |
| XYZ | xyz(25.9193, 16.6581, 31.1224) |
| Luminance | 0.1666 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 5.00
Ugly Purple
#A442A0
ΔE00 5.14
Purplish
#94568C
ΔE00 5.77
Light Plum
#9D5783
ΔE00 6.00
Medium Purple
#9E43A2
ΔE00 6.37
Purpley Pink
#C83CB9
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4D97 #4DAF65
analogous
#964DAF #AF4D97 #AF4D66
triadic
#AF4D97 #97AF4D #4D97AF
tetradic
#AF4D97 #AF964D #4DAF65 #4D66AF
square
#AF4D97 #AF964D #4DAF65 #4D66AF
split-complementary
#AF4D97 #66AF4D #4DAF96
monochromatic
#5A284E #853A72 #AF4D97 #C376B0 #D6A1C9
Accessibility & contrast
On white
4.85
#AF4D97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#AF4D97 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4D97
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4D97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4D97 | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#506899
Deuteranopia (green-blind)
#6C7794
Tritanopia (blue-blind)
#B8506B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #af4d97; /* rgb */ color: rgb(175, 77, 151); /* oklch */ color: oklch(57.0% 0.155 337.9);
Tailwind
colors: {
custom: {
50: '#c983b5',
500: '#af4d97',
950: '#000000',
},
}SCSS
$custom: #af4d97; $custom-light: #c983b5; $custom-dark: #000000;
JSON
{
"hex": "#af4d97",
"rgb": {
"r": 175,
"g": 77,
"b": 151
},
"hsl": {
"h": 314.694,
"s": 38.889,
"l": 49.412
},
"oklch": {
"l": 0.57038,
"c": 0.15549,
"h": 337.9
},
"luminance": 0.16656
}Semantic roles & 50–950 ramp
primary
#AF4D97
secondary
#95C3A0
accent
#CF7659
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#130B11
muted
#827C80