#AF4A72#AF4A72
#AF4A72 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.2% C 0.138 H 357.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4A72 |
|---|---|
| RGB | rgb(175, 74, 114) |
| HSL | hsl(336, 41%, 49%) |
| HSV | hsv(336, 58%, 69%) |
| CMYK | cmyk(0%, 57.7%, 34.9%, 31.4%) |
| CIE-LAB | lab(45.95, 45.32, -2.22) |
| CIE-LCH | lch(45.95, 45.37, 357.20°) |
| OKLab | oklab(55.2% 0.1381 -0.0052) |
| OKLCH | oklch(55.2% 0.138 357.8) |
| XYZ | xyz(23.1664, 15.2288, 17.6357) |
| Luminance | 0.1523 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 5.83
Dark Pink
#CB416B
ΔE00 6.44
Light Plum
#9D5783
ΔE00 6.79
Dark Rose
#B5485D
ΔE00 6.96
Deep Rose
#C74767
ΔE00 7.02
Light Maroon
#A24857
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4A72 #4AAF87
analogous
#AF4AA5 #AF4A72 #AF554A
triadic
#AF4A72 #72AF4A #4A72AF
tetradic
#AF4A72 #A5AF4A #4AAF87 #554AAF
square
#AF4A72 #A5AF4A #4AAF87 #554AAF
split-complementary
#AF4A72 #4AAF55 #4AA5AF
monochromatic
#59263A #843856 #AF4A72 #C47393 #D69EB4
Accessibility & contrast
On white
5.19
#AF4A72 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#AF4A72 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4A72
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4A72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4A72 | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A6173
Deuteranopia (green-blind)
#757470
Tritanopia (blue-blind)
#BC4259
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #af4a72; /* rgb */ color: rgb(175, 74, 114); /* oklch */ color: oklch(55.2% 0.138 357.8);
Tailwind
colors: {
custom: {
50: '#ca819a',
500: '#af4a72',
950: '#000000',
},
}SCSS
$custom: #af4a72; $custom-light: #ca819a; $custom-dark: #000000;
JSON
{
"hex": "#af4a72",
"rgb": {
"r": 175,
"g": 74,
"b": 114
},
"hsl": {
"h": 336.238,
"s": 40.562,
"l": 48.824
},
"oklch": {
"l": 0.55201,
"c": 0.13815,
"h": 357.8
},
"luminance": 0.15226
}Semantic roles & 50–950 ramp
primary
#AF4A72
secondary
#92C2AF
accent
#D0A057
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E