#AF4D91#AF4D91
#AF4D91 is a mid, vivid pink. Relative luminance 0.165; OKLCH L 56.8% C 0.151 H 340.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4D91 |
|---|---|
| RGB | rgb(175, 77, 145) |
| HSL | hsl(318, 39%, 49%) |
| HSV | hsv(318, 56%, 69%) |
| CMYK | cmyk(0%, 56%, 17.1%, 31.4%) |
| CIE-LAB | lab(47.58, 48.18, -18.49) |
| CIE-LCH | lch(47.58, 51.61, 339.00°) |
| OKLab | oklab(56.78% 0.1427 -0.0495) |
| OKLCH | oklch(56.78% 0.151 340.9) |
| XYZ | xyz(25.4444, 16.4681, 28.6211) |
| Luminance | 0.1647 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 4.93
Light Plum
#9D5783
ΔE00 5.09
Purplish
#94568C
ΔE00 5.76
Ugly Purple
#A442A0
ΔE00 6.19
Mediumvioletred
#C71585
ΔE00 7.38
Medium Purple
#9E43A2
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4D91 #4DAF6B
analogous
#9C4DAF #AF4D91 #AF4D60
triadic
#AF4D91 #91AF4D #4D91AF
tetradic
#AF4D91 #AF9C4D #4DAF6B #4D60AF
square
#AF4D91 #AF9C4D #4DAF6B #4D60AF
split-complementary
#AF4D91 #60AF4D #4DAF9C
monochromatic
#5A284B #853A6E #AF4D91 #C376AB #D6A1C5
Accessibility & contrast
On white
4.89
#AF4D91 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#AF4D91 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4D91
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4D91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4D91 | 1.00 | 4.89 | 4.29 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#526793
Deuteranopia (green-blind)
#6E778E
Tritanopia (blue-blind)
#B84F68
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #af4d91; /* rgb */ color: rgb(175, 77, 145); /* oklch */ color: oklch(56.8% 0.151 340.9);
Tailwind
colors: {
custom: {
50: '#c983b1',
500: '#af4d91',
950: '#000000',
},
}SCSS
$custom: #af4d91; $custom-light: #c983b1; $custom-dark: #000000;
JSON
{
"hex": "#af4d91",
"rgb": {
"r": 175,
"g": 77,
"b": 145
},
"hsl": {
"h": 318.367,
"s": 38.889,
"l": 49.412
},
"oklch": {
"l": 0.56778,
"c": 0.15106,
"h": 340.9
},
"luminance": 0.16466
}Semantic roles & 50–950 ramp
primary
#AF4D91
secondary
#95C3A3
accent
#CF7D59
background
#FCF8FA
surface
#F9EFF5
border
#D2CACF
text
#130B10
muted
#827C7F