#AF5173#AF5173
#AF5173 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.2% C 0.128 H 359.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #AF5173 |
|---|---|
| RGB | rgb(175, 81, 115) |
| HSL | hsl(338, 37%, 50%) |
| HSV | hsv(338, 54%, 69%) |
| CMYK | cmyk(0%, 53.7%, 34.3%, 31.4%) |
| CIE-LAB | lab(47.29, 42.00, -0.86) |
| CIE-LCH | lch(47.29, 42.01, 358.83°) |
| OKLab | oklab(56.22% 0.1277 -0.0017) |
| OKLCH | oklch(56.22% 0.128 359.2) |
| XYZ | xyz(23.7173, 16.2389, 18.1017) |
| Luminance | 0.1624 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 6.19
Dark Pink
#CB416B
ΔE00 6.25
Deep Rose
#C74767
ΔE00 6.47
Dark Rose
#B5485D
ΔE00 6.50
Light Plum
#9D5783
ΔE00 6.87
Light Maroon
#A24857
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF5173 #51AF8D
analogous
#AF51A2 #AF5173 #AF5E51
triadic
#AF5173 #73AF51 #5173AF
tetradic
#AF5173 #A2AF51 #51AF8D #5E51AF
square
#AF5173 #A2AF51 #51AF8D #5E51AF
split-complementary
#AF5173 #51AF5E #51A2AF
monochromatic
#5C2A3C #853D57 #AF5173 #C27B95 #D6A5B6
Accessibility & contrast
On white
4.94
#AF5173 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#AF5173 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF5173
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF5173 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF5173 | 1.00 | 4.94 | 4.25 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#606574
Deuteranopia (green-blind)
#787771
Tritanopia (blue-blind)
#BC4A5E
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #af5173; /* rgb */ color: rgb(175, 81, 115); /* oklch */ color: oklch(56.2% 0.128 359.2);
Tailwind
colors: {
custom: {
50: '#ca859b',
500: '#af5173',
950: '#000000',
},
}SCSS
$custom: #af5173; $custom-light: #ca859b; $custom-dark: #000000;
JSON
{
"hex": "#af5173",
"rgb": {
"r": 175,
"g": 81,
"b": 115
},
"hsl": {
"h": 338.298,
"s": 37.008,
"l": 50.196
},
"oklch": {
"l": 0.56215,
"c": 0.12773,
"h": 359.2
},
"luminance": 0.16237
}Semantic roles & 50–950 ramp
primary
#AF5173
secondary
#99C3B4
accent
#CDA45B
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E