#AF4872#AF4872
#AF4872 is a mid, vivid pink. Relative luminance 0.150; OKLCH L 54.9% C 0.141 H 357.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4872 |
|---|---|
| RGB | rgb(175, 72, 114) |
| HSL | hsl(336, 42%, 48%) |
| HSV | hsv(336, 59%, 69%) |
| CMYK | cmyk(0%, 58.9%, 34.9%, 31.4%) |
| CIE-LAB | lab(45.59, 46.27, -2.74) |
| CIE-LCH | lch(45.59, 46.35, 356.61°) |
| OKLab | oklab(54.93% 0.141 -0.0066) |
| OKLCH | oklch(54.93% 0.141 357.3) |
| XYZ | xyz(23.0350, 14.9660, 17.5919) |
| Luminance | 0.1496 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 5.90
Dark Pink
#CB416B
ΔE00 6.62
Light Plum
#9D5783
ΔE00 6.80
Dark Rose
#B5485D
ΔE00 7.23
Deep Rose
#C74767
ΔE00 7.29
Deep Pink
#CB0162
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4872 #48AF85
analogous
#AF48A5 #AF4872 #AF5148
triadic
#AF4872 #72AF48 #4872AF
tetradic
#AF4872 #A5AF48 #48AF85 #5148AF
square
#AF4872 #A5AF48 #48AF85 #5148AF
split-complementary
#AF4872 #48AF51 #48A5AF
monochromatic
#58243A #843656 #AF4872 #C47092 #D69BB3
Accessibility & contrast
On white
5.26
#AF4872 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#AF4872 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4872
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4872 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4872 | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#596073
Deuteranopia (green-blind)
#747370
Tritanopia (blue-blind)
#BC4058
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #af4872; /* rgb */ color: rgb(175, 72, 114); /* oklch */ color: oklch(54.9% 0.141 357.3);
Tailwind
colors: {
custom: {
50: '#ca809a',
500: '#af4872',
950: '#000000',
},
}SCSS
$custom: #af4872; $custom-light: #ca809a; $custom-dark: #000000;
JSON
{
"hex": "#af4872",
"rgb": {
"r": 175,
"g": 72,
"b": 114
},
"hsl": {
"h": 335.534,
"s": 41.7,
"l": 48.431
},
"oklch": {
"l": 0.54934,
"c": 0.14117,
"h": 357.3
},
"luminance": 0.14964
}Semantic roles & 50–950 ramp
primary
#AF4872
secondary
#90C2AE
accent
#D29F56
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140A0E
muted
#827C7E