#AF4D90#AF4D90
#AF4D90 is a mid, vivid pink. Relative luminance 0.164; OKLCH L 56.7% C 0.150 H 341.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4D90 |
|---|---|
| RGB | rgb(175, 77, 144) |
| HSL | hsl(319, 39%, 49%) |
| HSV | hsv(319, 56%, 69%) |
| CMYK | cmyk(0%, 56%, 17.7%, 31.4%) |
| CIE-LAB | lab(47.54, 48.03, -17.95) |
| CIE-LCH | lch(47.54, 51.27, 339.50°) |
| OKLab | oklab(56.74% 0.1425 -0.048) |
| OKLCH | oklch(56.74% 0.15 341.4) |
| XYZ | xyz(25.3676, 16.4374, 28.2168) |
| Luminance | 0.1643 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 4.96
Light Plum
#9D5783
ΔE00 4.96
Purplish
#94568C
ΔE00 5.79
Ugly Purple
#A442A0
ΔE00 6.38
Mediumvioletred
#C71585
ΔE00 7.32
Medium Purple
#9E43A2
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4D90 #4DAF6C
analogous
#9D4DAF #AF4D90 #AF4D5F
triadic
#AF4D90 #90AF4D #4D90AF
tetradic
#AF4D90 #AF9D4D #4DAF6C #4D5FAF
square
#AF4D90 #AF9D4D #4DAF6C #4D5FAF
split-complementary
#AF4D90 #5FAF4D #4DAF9D
monochromatic
#5A284A #853A6D #AF4D90 #C376AB #D6A1C5
Accessibility & contrast
On white
4.90
#AF4D90 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#AF4D90 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4D90
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4D90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4D90 | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#536792
Deuteranopia (green-blind)
#6F778D
Tritanopia (blue-blind)
#B94E68
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #af4d90; /* rgb */ color: rgb(175, 77, 144); /* oklch */ color: oklch(56.7% 0.150 341.4);
Tailwind
colors: {
custom: {
50: '#c983b0',
500: '#af4d90',
950: '#000000',
},
}SCSS
$custom: #af4d90; $custom-light: #c983b0; $custom-dark: #000000;
JSON
{
"hex": "#af4d90",
"rgb": {
"r": 175,
"g": 77,
"b": 144
},
"hsl": {
"h": 318.98,
"s": 38.889,
"l": 49.412
},
"oklch": {
"l": 0.56736,
"c": 0.15035,
"h": 341.4
},
"luminance": 0.16435
}Semantic roles & 50–950 ramp
primary
#AF4D90
secondary
#95C3A4
accent
#CF7E59
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#130B10
muted
#827C7F