#AF4D96#AF4D96
#AF4D96 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.0% C 0.155 H 338.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4D96 |
|---|---|
| RGB | rgb(175, 77, 150) |
| HSL | hsl(315, 39%, 49%) |
| HSV | hsv(315, 56%, 69%) |
| CMYK | cmyk(0%, 56%, 14.3%, 31.4%) |
| CIE-LAB | lab(47.78, 48.97, -21.17) |
| CIE-LCH | lch(47.78, 53.35, 336.62°) |
| OKLab | oklab(56.99% 0.1439 -0.057) |
| OKLCH | oklch(56.99% 0.155 338.4) |
| XYZ | xyz(25.8384, 16.6257, 30.6965) |
| Luminance | 0.1662 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 4.96
Ugly Purple
#A442A0
ΔE00 5.30
Purplish
#94568C
ΔE00 5.75
Light Plum
#9D5783
ΔE00 5.84
Medium Purple
#9E43A2
ΔE00 6.53
Purpley Pink
#C83CB9
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4D96 #4DAF66
analogous
#974DAF #AF4D96 #AF4D65
triadic
#AF4D96 #96AF4D #4D96AF
tetradic
#AF4D96 #AF974D #4DAF66 #4D65AF
square
#AF4D96 #AF974D #4DAF66 #4D65AF
split-complementary
#AF4D96 #65AF4D #4DAF97
monochromatic
#5A284D #853A72 #AF4D96 #C376AF #D6A1C8
Accessibility & contrast
On white
4.86
#AF4D96 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#AF4D96 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4D96
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4D96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4D96 | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#506898
Deuteranopia (green-blind)
#6D7793
Tritanopia (blue-blind)
#B8506B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #af4d96; /* rgb */ color: rgb(175, 77, 150); /* oklch */ color: oklch(57.0% 0.155 338.4);
Tailwind
colors: {
custom: {
50: '#c983b5',
500: '#af4d96',
950: '#000000',
},
}SCSS
$custom: #af4d96; $custom-light: #c983b5; $custom-dark: #000000;
JSON
{
"hex": "#af4d96",
"rgb": {
"r": 175,
"g": 77,
"b": 150
},
"hsl": {
"h": 315.306,
"s": 38.889,
"l": 49.412
},
"oklch": {
"l": 0.56994,
"c": 0.15474,
"h": 338.4
},
"luminance": 0.16624
}Semantic roles & 50–950 ramp
primary
#AF4D96
secondary
#95C3A1
accent
#CF7759
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#130B11
muted
#827C80