#AF4471#AF4471
#AF4471 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.4% C 0.147 H 356.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4471 |
|---|---|
| RGB | rgb(175, 68, 113) |
| HSL | hsl(335, 44%, 48%) |
| HSV | hsv(335, 61%, 69%) |
| CMYK | cmyk(0%, 61.1%, 35.4%, 31.4%) |
| CIE-LAB | lab(44.86, 48.01, -3.20) |
| CIE-LCH | lch(44.86, 48.12, 356.18°) |
| OKLab | oklab(54.38% 0.1465 -0.0078) |
| OKLCH | oklch(54.38% 0.147 356.9) |
| XYZ | xyz(22.7282, 14.4429, 17.2104) |
| Luminance | 0.1444 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 5.88
Dark Pink
#CB416B
ΔE00 6.90
Magenta (survey)
#C20078
ΔE00 7.08
Light Plum
#9D5783
ΔE00 7.12
Deep Pink
#CB0162
ΔE00 7.32
Dark Rose
#B5485D
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4471 #44AF82
analogous
#AF44A7 #AF4471 #AF4C44
triadic
#AF4471 #71AF44 #4471AF
tetradic
#AF4471 #A7AF44 #44AF82 #4C44AF
square
#AF4471 #A7AF44 #44AF82 #4C44AF
split-complementary
#AF4471 #44AF4C #44A7AF
monochromatic
#572238 #833355 #AF4471 #C56B91 #D797B2
Accessibility & contrast
On white
5.40
#AF4471 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#AF4471 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4471
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4471 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4471 | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#565E72
Deuteranopia (green-blind)
#72726E
Tritanopia (blue-blind)
#BC3C56
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #af4471; /* rgb */ color: rgb(175, 68, 113); /* oklch */ color: oklch(54.4% 0.147 356.9);
Tailwind
colors: {
custom: {
50: '#cb7d99',
500: '#af4471',
950: '#000000',
},
}SCSS
$custom: #af4471; $custom-light: #cb7d99; $custom-dark: #000000;
JSON
{
"hex": "#af4471",
"rgb": {
"r": 175,
"g": 68,
"b": 113
},
"hsl": {
"h": 334.766,
"s": 44.033,
"l": 47.647
},
"oklch": {
"l": 0.54383,
"c": 0.14668,
"h": 356.9
},
"luminance": 0.1444
}Semantic roles & 50–950 ramp
primary
#AF4471
secondary
#8CC2AC
accent
#D49E54
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E