#AF5175#AF5175
#AF5175 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.3% C 0.129 H 357.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #AF5175 |
|---|---|
| RGB | rgb(175, 81, 117) |
| HSL | hsl(337, 37%, 50%) |
| HSV | hsv(337, 54%, 69%) |
| CMYK | cmyk(0%, 53.7%, 33.1%, 31.4%) |
| CIE-LAB | lab(47.35, 42.25, -1.98) |
| CIE-LCH | lch(47.35, 42.30, 357.32°) |
| OKLab | oklab(56.28% 0.1284 -0.0046) |
| OKLCH | oklch(56.28% 0.129 357.9) |
| XYZ | xyz(23.8336, 16.2855, 18.7144) |
| Luminance | 0.1628 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 6.38
Dark Pink
#CB416B
ΔE00 6.55
Light Burgundy
#A8415B
ΔE00 6.64
Deep Rose
#C74767
ΔE00 6.90
Dark Rose
#B5485D
ΔE00 7.07
Light Maroon
#A24857
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF5175 #51AF8B
analogous
#AF51A4 #AF5175 #AF5C51
triadic
#AF5175 #75AF51 #5175AF
tetradic
#AF5175 #A4AF51 #51AF8B #5C51AF
square
#AF5175 #A4AF51 #51AF8B #5C51AF
split-complementary
#AF5175 #51AF5C #51A4AF
monochromatic
#5C2A3D #853D59 #AF5175 #C27B96 #D6A5B8
Accessibility & contrast
On white
4.93
#AF5175 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#AF5175 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF5175
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF5175 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF5175 | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F6576
Deuteranopia (green-blind)
#787773
Tritanopia (blue-blind)
#BC4A5E
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #af5175; /* rgb */ color: rgb(175, 81, 117); /* oklch */ color: oklch(56.3% 0.129 357.9);
Tailwind
colors: {
custom: {
50: '#ca859c',
500: '#af5175',
950: '#000000',
},
}SCSS
$custom: #af5175; $custom-light: #ca859c; $custom-dark: #000000;
JSON
{
"hex": "#af5175",
"rgb": {
"r": 175,
"g": 81,
"b": 117
},
"hsl": {
"h": 337.021,
"s": 37.008,
"l": 50.196
},
"oklch": {
"l": 0.5628,
"c": 0.1285,
"h": 357.9
},
"luminance": 0.16283
}Semantic roles & 50–950 ramp
primary
#AF5175
secondary
#99C3B3
accent
#CDA15B
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E