#AF4972#AF4972
#AF4972 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.1% C 0.140 H 357.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4972 |
|---|---|
| RGB | rgb(175, 73, 114) |
| HSL | hsl(336, 41%, 49%) |
| HSV | hsv(336, 58%, 69%) |
| CMYK | cmyk(0%, 58.3%, 34.9%, 31.4%) |
| CIE-LAB | lab(45.77, 45.80, -2.48) |
| CIE-LCH | lch(45.77, 45.86, 356.90°) |
| OKLab | oklab(55.07% 0.1395 -0.0059) |
| OKLCH | oklch(55.07% 0.14 357.6) |
| XYZ | xyz(23.1002, 15.0963, 17.6137) |
| Luminance | 0.1509 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 5.86
Dark Pink
#CB416B
ΔE00 6.53
Light Plum
#9D5783
ΔE00 6.79
Dark Rose
#B5485D
ΔE00 7.09
Deep Rose
#C74767
ΔE00 7.15
Light Maroon
#A24857
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4972 #49AF86
analogous
#AF49A5 #AF4972 #AF5349
triadic
#AF4972 #72AF49 #4972AF
tetradic
#AF4972 #A5AF49 #49AF86 #5349AF
square
#AF4972 #A5AF49 #49AF86 #5349AF
split-complementary
#AF4972 #49AF53 #49A5AF
monochromatic
#59253A #843756 #AF4972 #C47193 #D69CB4
Accessibility & contrast
On white
5.23
#AF4972 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#AF4972 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4972
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4972 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4972 | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#596073
Deuteranopia (green-blind)
#757370
Tritanopia (blue-blind)
#BC4159
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #af4972; /* rgb */ color: rgb(175, 73, 114); /* oklch */ color: oklch(55.1% 0.140 357.6);
Tailwind
colors: {
custom: {
50: '#ca809a',
500: '#af4972',
950: '#000000',
},
}SCSS
$custom: #af4972; $custom-light: #ca809a; $custom-dark: #000000;
JSON
{
"hex": "#af4972",
"rgb": {
"r": 175,
"g": 73,
"b": 114
},
"hsl": {
"h": 335.882,
"s": 41.129,
"l": 48.627
},
"oklch": {
"l": 0.55067,
"c": 0.13966,
"h": 357.6
},
"luminance": 0.15094
}Semantic roles & 50–950 ramp
primary
#AF4972
secondary
#91C2AF
accent
#D1A057
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E