#AF3C91#AF3C91
#AF3C91 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.7% C 0.176 H 339.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3C91 |
|---|---|
| RGB | rgb(175, 60, 145) |
| HSL | hsl(316, 49%, 46%) |
| HSV | hsv(316, 66%, 69%) |
| CMYK | cmyk(0%, 65.7%, 17.1%, 31.4%) |
| CIE-LAB | lab(44.79, 55.78, -22.79) |
| CIE-LCH | lch(44.79, 60.25, 337.78°) |
| OKLab | oklab(54.72% 0.1655 -0.0614) |
| OKLCH | oklch(54.72% 0.177 339.6) |
| XYZ | xyz(24.4064, 14.3922, 28.2752) |
| Luminance | 0.1439 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 4.38
Medium Purple
#9E43A2
ΔE00 5.71
Mediumvioletred
#C71585
ΔE00 5.72
Purpleish
#98568D
ΔE00 6.70
Warm Purple
#952E8F
ΔE00 6.98
Purplish
#94568C
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3C91 #3CAF5A
analogous
#933CAF #AF3C91 #AF3C57
triadic
#AF3C91 #91AF3C #3C91AF
tetradic
#AF3C91 #AF933C #3CAF5A #3C57AF
square
#AF3C91 #AF933C #3CAF5A #3C57AF
split-complementary
#AF3C91 #57AF3C #3CAF93
monochromatic
#541D45 #812C6B #AF3C91 #C860AD #D88DC5
Accessibility & contrast
On white
5.42
#AF3C91 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#AF3C91 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3C91
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3C91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3C91 | 1.00 | 5.42 | 3.88 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#425E94
Deuteranopia (green-blind)
#66718E
Tritanopia (blue-blind)
#B93F61
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #af3c91; /* rgb */ color: rgb(175, 60, 145); /* oklch */ color: oklch(54.7% 0.176 339.6);
Tailwind
colors: {
custom: {
50: '#ca7ab1',
500: '#af3c91',
950: '#000000',
},
}SCSS
$custom: #af3c91; $custom-light: #ca7ab1; $custom-dark: #000000;
JSON
{
"hex": "#af3c91",
"rgb": {
"r": 175,
"g": 60,
"b": 145
},
"hsl": {
"h": 315.652,
"s": 48.936,
"l": 46.078
},
"oklch": {
"l": 0.54723,
"c": 0.1765,
"h": 339.6
},
"luminance": 0.1439
}Semantic roles & 50–950 ramp
primary
#AF3C91
secondary
#84C394
accent
#D8734F
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#140A10
muted
#827C7F