#AF4191#AF4191
#AF4191 is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.3% C 0.169 H 339.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4191 |
|---|---|
| RGB | rgb(175, 65, 145) |
| HSL | hsl(316, 46%, 47%) |
| HSV | hsv(316, 63%, 69%) |
| CMYK | cmyk(0%, 62.9%, 17.1%, 31.4%) |
| CIE-LAB | lab(45.55, 53.67, -21.61) |
| CIE-LCH | lch(45.55, 57.86, 338.07°) |
| OKLab | oklab(55.28% 0.1591 -0.0582) |
| OKLCH | oklch(55.28% 0.169 339.9) |
| XYZ | xyz(24.6808, 14.9411, 28.3666) |
| Luminance | 0.1494 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 4.65
Medium Purple
#9E43A2
ΔE00 5.99
Mediumvioletred
#C71585
ΔE00 6.00
Purpleish
#98568D
ΔE00 6.07
Purplish
#94568C
ΔE00 6.69
Light Plum
#9D5783
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4191 #41AF5F
analogous
#9641AF #AF4191 #AF415A
triadic
#AF4191 #91AF41 #4191AF
tetradic
#AF4191 #AF9641 #41AF5F #415AAF
square
#AF4191 #AF9641 #41AF5F #415AAF
split-complementary
#AF4191 #5AAF41 #41AF96
monochromatic
#562047 #82306C #AF4191 #C667AC #D793C5
Accessibility & contrast
On white
5.27
#AF4191 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#AF4191 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4191
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4191 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4191 | 1.00 | 5.27 | 3.99 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#476193
Deuteranopia (green-blind)
#68728E
Tritanopia (blue-blind)
#B94463
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #af4191; /* rgb */ color: rgb(175, 65, 145); /* oklch */ color: oklch(55.3% 0.169 339.9);
Tailwind
colors: {
custom: {
50: '#ca7db1',
500: '#af4191',
950: '#000000',
},
}SCSS
$custom: #af4191; $custom-light: #ca7db1; $custom-dark: #000000;
JSON
{
"hex": "#af4191",
"rgb": {
"r": 175,
"g": 65,
"b": 145
},
"hsl": {
"h": 316.364,
"s": 45.833,
"l": 47.059
},
"oklch": {
"l": 0.55282,
"c": 0.16943,
"h": 339.9
},
"luminance": 0.14939
}Semantic roles & 50–950 ramp
primary
#AF4191
secondary
#89C299
accent
#D57652
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#140A10
muted
#827C7F