#AF516E#AF516E
#AF516E is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.1% C 0.126 H 2.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #AF516E |
|---|---|
| RGB | rgb(175, 81, 110) |
| HSL | hsl(341, 37%, 50%) |
| HSV | hsv(341, 54%, 69%) |
| CMYK | cmyk(0%, 53.7%, 37.1%, 31.4%) |
| CIE-LAB | lab(47.14, 41.38, 1.96) |
| CIE-LCH | lch(47.14, 41.43, 2.71°) |
| OKLab | oklab(56.06% 0.1259 0.0056) |
| OKLCH | oklch(56.06% 0.126 2.6) |
| XYZ | xyz(23.4373, 16.1270, 16.6273) |
| Luminance | 0.1613 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Rose
#B5485D
ΔE00 5.05
Light Burgundy
#A8415B
ΔE00 5.18
Deep Rose
#C74767
ΔE00 5.51
Dark Pink
#CB416B
ΔE00 5.68
Light Maroon
#A24857
ΔE00 6.19
Dusky Rose
#BA6873
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF516E #51AF92
analogous
#AF519D #AF516E #AF6351
triadic
#AF516E #6EAF51 #516EAF
tetradic
#AF516E #9DAF51 #51AF92 #6351AF
square
#AF516E #9DAF51 #51AF92 #6351AF
split-complementary
#AF516E #51AF63 #519DAF
monochromatic
#5C2A39 #853D54 #AF516E #C27B91 #D6A5B4
Accessibility & contrast
On white
4.97
#AF516E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#AF516E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF516E
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF516E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF516E | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#61656F
Deuteranopia (green-blind)
#79766C
Tritanopia (blue-blind)
#BC495C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #af516e; /* rgb */ color: rgb(175, 81, 110); /* oklch */ color: oklch(56.1% 0.126 2.6);
Tailwind
colors: {
custom: {
50: '#ca8597',
500: '#af516e',
950: '#000000',
},
}SCSS
$custom: #af516e; $custom-light: #ca8597; $custom-dark: #000000;
JSON
{
"hex": "#af516e",
"rgb": {
"r": 175,
"g": 81,
"b": 110
},
"hsl": {
"h": 341.489,
"s": 37.008,
"l": 50.196
},
"oklch": {
"l": 0.56057,
"c": 0.12604,
"h": 2.6
},
"luminance": 0.16125
}Semantic roles & 50–950 ramp
primary
#AF516E
secondary
#99C3B6
accent
#CDAA5B
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0D
muted
#827C7E