#AF5070#AF5070
#AF5070 is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.0% C 0.128 H 0.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #AF5070 |
|---|---|
| RGB | rgb(175, 80, 112) |
| HSL | hsl(340, 37%, 50%) |
| HSV | hsv(340, 54%, 69%) |
| CMYK | cmyk(0%, 54.3%, 36%, 31.4%) |
| CIE-LAB | lab(47.01, 42.13, 0.55) |
| CIE-LCH | lch(47.01, 42.13, 0.75°) |
| OKLab | oklab(55.97% 0.1282 0.002) |
| OKLCH | oklch(55.97% 0.128 0.9) |
| XYZ | xyz(23.4737, 16.0235, 17.1827) |
| Luminance | 0.1602 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 5.48
Dark Rose
#B5485D
ΔE00 5.70
Dark Pink
#CB416B
ΔE00 5.86
Deep Rose
#C74767
ΔE00 5.94
Light Maroon
#A24857
ΔE00 6.75
Light Plum
#9D5783
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF5070 #50AF8F
analogous
#AF50A0 #AF5070 #AF5F50
triadic
#AF5070 #70AF50 #5070AF
tetradic
#AF5070 #A0AF50 #50AF8F #5F50AF
square
#AF5070 #A0AF50 #50AF8F #5F50AF
split-complementary
#AF5070 #50AF5F #50A0AF
monochromatic
#5B2A3A #853D55 #AF5070 #C27A92 #D5A4B5
Accessibility & contrast
On white
5.00
#AF5070 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#AF5070 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF5070
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF5070 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF5070 | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#606471
Deuteranopia (green-blind)
#79766E
Tritanopia (blue-blind)
#BC485C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #af5070; /* rgb */ color: rgb(175, 80, 112); /* oklch */ color: oklch(56.0% 0.128 0.9);
Tailwind
colors: {
custom: {
50: '#ca8499',
500: '#af5070',
950: '#000000',
},
}SCSS
$custom: #af5070; $custom-light: #ca8499; $custom-dark: #000000;
JSON
{
"hex": "#af5070",
"rgb": {
"r": 175,
"g": 80,
"b": 112
},
"hsl": {
"h": 339.789,
"s": 37.255,
"l": 50
},
"oklch": {
"l": 0.55974,
"c": 0.12822,
"h": 0.9
},
"luminance": 0.16021
}Semantic roles & 50–950 ramp
primary
#AF5070
secondary
#98C3B4
accent
#CDA75B
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0D
muted
#827C7E