#AF4571#AF4571
#AF4571 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.5% C 0.145 H 357.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4571 |
|---|---|
| RGB | rgb(175, 69, 113) |
| HSL | hsl(335, 43%, 48%) |
| HSV | hsv(335, 61%, 69%) |
| CMYK | cmyk(0%, 60.6%, 35.4%, 31.4%) |
| CIE-LAB | lab(45.03, 47.55, -2.95) |
| CIE-LCH | lch(45.03, 47.64, 356.45°) |
| OKLab | oklab(54.51% 0.145 -0.0071) |
| OKLCH | oklch(54.51% 0.145 357.2) |
| XYZ | xyz(22.7892, 14.5649, 17.2307) |
| Luminance | 0.1456 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 5.80
Dark Pink
#CB416B
ΔE00 6.78
Light Plum
#9D5783
ΔE00 7.08
Magenta (survey)
#C20078
ΔE00 7.30
Dark Rose
#B5485D
ΔE00 7.39
Deep Pink
#CB0162
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4571 #45AF83
analogous
#AF45A6 #AF4571 #AF4E45
triadic
#AF4571 #71AF45 #4571AF
tetradic
#AF4571 #A6AF45 #45AF83 #4E45AF
square
#AF4571 #A6AF45 #45AF83 #4E45AF
split-complementary
#AF4571 #45AF4E #45A6AF
monochromatic
#572238 #833455 #AF4571 #C56C91 #D698B2
Accessibility & contrast
On white
5.37
#AF4571 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#AF4571 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4571
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4571 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4571 | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#565E72
Deuteranopia (green-blind)
#73726F
Tritanopia (blue-blind)
#BC3D56
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #af4571; /* rgb */ color: rgb(175, 69, 113); /* oklch */ color: oklch(54.5% 0.145 357.2);
Tailwind
colors: {
custom: {
50: '#ca7e99',
500: '#af4571',
950: '#000000',
},
}SCSS
$custom: #af4571; $custom-light: #ca7e99; $custom-dark: #000000;
JSON
{
"hex": "#af4571",
"rgb": {
"r": 175,
"g": 69,
"b": 113
},
"hsl": {
"h": 335.094,
"s": 43.443,
"l": 47.843
},
"oklch": {
"l": 0.5451,
"c": 0.14522,
"h": 357.2
},
"luminance": 0.14562
}Semantic roles & 50–950 ramp
primary
#AF4571
secondary
#8DC2AC
accent
#D39F55
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E