#AF4A71#AF4A71
#AF4A71 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.2% C 0.138 H 358.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4A71 |
|---|---|
| RGB | rgb(175, 74, 113) |
| HSL | hsl(337, 41%, 49%) |
| HSV | hsv(337, 58%, 69%) |
| CMYK | cmyk(0%, 57.7%, 35.4%, 31.4%) |
| CIE-LAB | lab(45.92, 45.20, -1.65) |
| CIE-LCH | lch(45.92, 45.23, 357.91°) |
| OKLab | oklab(55.17% 0.1377 -0.0037) |
| OKLCH | oklch(55.17% 0.138 358.4) |
| XYZ | xyz(23.1098, 15.2062, 17.3376) |
| Luminance | 0.1520 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 5.57
Dark Pink
#CB416B
ΔE00 6.28
Dark Rose
#B5485D
ΔE00 6.67
Deep Rose
#C74767
ΔE00 6.80
Light Plum
#9D5783
ΔE00 7.01
Light Maroon
#A24857
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4A71 #4AAF88
analogous
#AF4AA4 #AF4A71 #AF564A
triadic
#AF4A71 #71AF4A #4A71AF
tetradic
#AF4A71 #A4AF4A #4AAF88 #564AAF
square
#AF4A71 #A4AF4A #4AAF88 #564AAF
split-complementary
#AF4A71 #4AAF56 #4AA4AF
monochromatic
#592639 #843855 #AF4A71 #C47392 #D69EB3
Accessibility & contrast
On white
5.20
#AF4A71 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#AF4A71 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4A71
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4A71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4A71 | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B6172
Deuteranopia (green-blind)
#75746F
Tritanopia (blue-blind)
#BC4259
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #af4a71; /* rgb */ color: rgb(175, 74, 113); /* oklch */ color: oklch(55.2% 0.138 358.4);
Tailwind
colors: {
custom: {
50: '#ca8199',
500: '#af4a71',
950: '#000000',
},
}SCSS
$custom: #af4a71; $custom-light: #ca8199; $custom-dark: #000000;
JSON
{
"hex": "#af4a71",
"rgb": {
"r": 175,
"g": 74,
"b": 113
},
"hsl": {
"h": 336.832,
"s": 40.562,
"l": 48.824
},
"oklch": {
"l": 0.55168,
"c": 0.13775,
"h": 358.4
},
"luminance": 0.15204
}Semantic roles & 50–950 ramp
primary
#AF4A71
secondary
#92C2B0
accent
#D0A257
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E