#AF4770#AF4770
#AF4770 is a mid, vivid pink. Relative luminance 0.148; OKLCH L 54.7% C 0.142 H 358.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4770 |
|---|---|
| RGB | rgb(175, 71, 112) |
| HSL | hsl(336, 42%, 48%) |
| HSV | hsv(336, 59%, 69%) |
| CMYK | cmyk(0%, 59.4%, 36%, 31.4%) |
| CIE-LAB | lab(45.35, 46.50, -1.87) |
| CIE-LCH | lch(45.35, 46.54, 357.69°) |
| OKLab | oklab(54.74% 0.1418 -0.0043) |
| OKLCH | oklch(54.74% 0.142 358.3) |
| XYZ | xyz(22.8583, 14.7927, 16.9776) |
| Luminance | 0.1479 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 5.41
Dark Pink
#CB416B
ΔE00 6.40
Dark Rose
#B5485D
ΔE00 6.81
Deep Rose
#C74767
ΔE00 7.01
Light Plum
#9D5783
ΔE00 7.23
Light Maroon
#A24857
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4770 #47AF86
analogous
#AF47A4 #AF4770 #AF5247
triadic
#AF4770 #70AF47 #4770AF
tetradic
#AF4770 #A4AF47 #47AF86 #5247AF
square
#AF4770 #A4AF47 #47AF86 #5247AF
split-complementary
#AF4770 #47AF52 #47A4AF
monochromatic
#582438 #833554 #AF4770 #C46F91 #D69AB2
Accessibility & contrast
On white
5.31
#AF4770 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#AF4770 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4770
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4770 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4770 | 1.00 | 5.31 | 3.96 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#585F71
Deuteranopia (green-blind)
#74736E
Tritanopia (blue-blind)
#BC3F57
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #af4770; /* rgb */ color: rgb(175, 71, 112); /* oklch */ color: oklch(54.7% 0.142 358.3);
Tailwind
colors: {
custom: {
50: '#ca7f99',
500: '#af4770',
950: '#000000',
},
}SCSS
$custom: #af4770; $custom-light: #ca7f99; $custom-dark: #000000;
JSON
{
"hex": "#af4770",
"rgb": {
"r": 175,
"g": 71,
"b": 112
},
"hsl": {
"h": 336.346,
"s": 42.276,
"l": 48.235
},
"oklch": {
"l": 0.54736,
"c": 0.14187,
"h": 358.3
},
"luminance": 0.1479
}Semantic roles & 50–950 ramp
primary
#AF4770
secondary
#8FC2AE
accent
#D2A156
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140A0D
muted
#827C7E