#AF4772#AF4772
#AF4772 is a mid, vivid pink. Relative luminance 0.148; OKLCH L 54.8% C 0.143 H 357.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4772 |
|---|---|
| RGB | rgb(175, 71, 114) |
| HSL | hsl(335, 42%, 48%) |
| HSV | hsv(335, 59%, 69%) |
| CMYK | cmyk(0%, 59.4%, 34.9%, 31.4%) |
| CIE-LAB | lab(45.41, 46.74, -3.00) |
| CIE-LCH | lch(45.41, 46.84, 356.32°) |
| OKLab | oklab(54.8% 0.1425 -0.0073) |
| OKLCH | oklch(54.8% 0.143 357.1) |
| XYZ | xyz(22.9709, 14.8377, 17.5706) |
| Luminance | 0.1484 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 5.95
Dark Pink
#CB416B
ΔE00 6.73
Light Plum
#9D5783
ΔE00 6.82
Dark Rose
#B5485D
ΔE00 7.37
Deep Rose
#C74767
ΔE00 7.44
Magenta (survey)
#C20078
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4772 #47AF84
analogous
#AF47A6 #AF4772 #AF5047
triadic
#AF4772 #72AF47 #4772AF
tetradic
#AF4772 #A6AF47 #47AF84 #5047AF
square
#AF4772 #A6AF47 #47AF84 #5047AF
split-complementary
#AF4772 #47AF50 #47A6AF
monochromatic
#582439 #833556 #AF4772 #C46F92 #D69AB3
Accessibility & contrast
On white
5.29
#AF4772 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#AF4772 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4772
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4772 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4772 | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#585F73
Deuteranopia (green-blind)
#747370
Tritanopia (blue-blind)
#BC3F58
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #af4772; /* rgb */ color: rgb(175, 71, 114); /* oklch */ color: oklch(54.8% 0.143 357.1);
Tailwind
colors: {
custom: {
50: '#ca7f9a',
500: '#af4772',
950: '#000000',
},
}SCSS
$custom: #af4772; $custom-light: #ca7f9a; $custom-dark: #000000;
JSON
{
"hex": "#af4772",
"rgb": {
"r": 175,
"g": 71,
"b": 114
},
"hsl": {
"h": 335.192,
"s": 42.276,
"l": 48.235
},
"oklch": {
"l": 0.54802,
"c": 0.14267,
"h": 357.1
},
"luminance": 0.14835
}Semantic roles & 50–950 ramp
primary
#AF4772
secondary
#8FC2AD
accent
#D29F56
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140A0E
muted
#827C7E