#AF5174#AF5174
#AF5174 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.2% C 0.128 H 358.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #AF5174 |
|---|---|
| RGB | rgb(175, 81, 116) |
| HSL | hsl(338, 37%, 50%) |
| HSV | hsv(338, 54%, 69%) |
| CMYK | cmyk(0%, 53.7%, 33.7%, 31.4%) |
| CIE-LAB | lab(47.32, 42.12, -1.42) |
| CIE-LCH | lch(47.32, 42.15, 358.07°) |
| OKLab | oklab(56.25% 0.1281 -0.0032) |
| OKLCH | oklch(56.25% 0.128 358.6) |
| XYZ | xyz(23.7751, 16.2621, 18.4064) |
| Luminance | 0.1626 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 6.39
Light Burgundy
#A8415B
ΔE00 6.41
Light Plum
#9D5783
ΔE00 6.62
Deep Rose
#C74767
ΔE00 6.68
Dark Rose
#B5485D
ΔE00 6.79
Light Maroon
#A24857
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF5174 #51AF8C
analogous
#AF51A3 #AF5174 #AF5D51
triadic
#AF5174 #74AF51 #5174AF
tetradic
#AF5174 #A3AF51 #51AF8C #5D51AF
square
#AF5174 #A3AF51 #51AF8C #5D51AF
split-complementary
#AF5174 #51AF5D #51A3AF
monochromatic
#5C2A3C #853D58 #AF5174 #C27B95 #D6A5B7
Accessibility & contrast
On white
4.94
#AF5174 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#AF5174 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF5174
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF5174 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF5174 | 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)
#606575
Deuteranopia (green-blind)
#787772
Tritanopia (blue-blind)
#BC4A5E
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #af5174; /* rgb */ color: rgb(175, 81, 116); /* oklch */ color: oklch(56.2% 0.128 358.6);
Tailwind
colors: {
custom: {
50: '#ca859c',
500: '#af5174',
950: '#000000',
},
}SCSS
$custom: #af5174; $custom-light: #ca859c; $custom-dark: #000000;
JSON
{
"hex": "#af5174",
"rgb": {
"r": 175,
"g": 81,
"b": 116
},
"hsl": {
"h": 337.66,
"s": 37.008,
"l": 50.196
},
"oklch": {
"l": 0.56247,
"c": 0.12811,
"h": 358.6
},
"luminance": 0.1626
}Semantic roles & 50–950 ramp
primary
#AF5174
secondary
#99C3B3
accent
#CDA25B
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E