#AF5071#AF5071
#AF5071 is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.0% C 0.129 H 0.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #AF5071 |
|---|---|
| RGB | rgb(175, 80, 113) |
| HSL | hsl(339, 37%, 50%) |
| HSV | hsv(339, 54%, 69%) |
| CMYK | cmyk(0%, 54.3%, 35.4%, 31.4%) |
| CIE-LAB | lab(47.03, 42.25, -0.01) |
| CIE-LCH | lch(47.03, 42.25, 359.98°) |
| OKLab | oklab(56.01% 0.1286 0.0005) |
| OKLCH | oklch(56.01% 0.129 0.2) |
| XYZ | xyz(23.5297, 16.0459, 17.4776) |
| Luminance | 0.1604 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 5.69
Dark Pink
#CB416B
ΔE00 5.99
Dark Rose
#B5485D
ΔE00 6.00
Deep Rose
#C74767
ΔE00 6.14
Light Maroon
#A24857
ΔE00 7.01
Light Plum
#9D5783
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF5071 #50AF8E
analogous
#AF50A0 #AF5071 #AF5F50
triadic
#AF5071 #71AF50 #5071AF
tetradic
#AF5071 #A0AF50 #50AF8E #5F50AF
square
#AF5071 #A0AF50 #50AF8E #5F50AF
split-complementary
#AF5071 #50AF5F #50A0AF
monochromatic
#5B2A3B #853D56 #AF5071 #C27A93 #D5A4B5
Accessibility & contrast
On white
4.99
#AF5071 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#AF5071 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF5071
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF5071 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF5071 | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#606472
Deuteranopia (green-blind)
#78766F
Tritanopia (blue-blind)
#BC485C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #af5071; /* rgb */ color: rgb(175, 80, 113); /* oklch */ color: oklch(56.0% 0.129 0.2);
Tailwind
colors: {
custom: {
50: '#ca8499',
500: '#af5071',
950: '#000000',
},
}SCSS
$custom: #af5071; $custom-light: #ca8499; $custom-dark: #000000;
JSON
{
"hex": "#af5071",
"rgb": {
"r": 175,
"g": 80,
"b": 113
},
"hsl": {
"h": 339.158,
"s": 37.255,
"l": 50
},
"oklch": {
"l": 0.56006,
"c": 0.12856,
"h": 0.2
},
"luminance": 0.16044
}Semantic roles & 50–950 ramp
primary
#AF5071
secondary
#98C3B4
accent
#CDA55B
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E