#AF4871#AF4871
#AF4871 is a mid, vivid pink. Relative luminance 0.149; OKLCH L 54.9% C 0.141 H 357.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4871 |
|---|---|
| RGB | rgb(175, 72, 113) |
| HSL | hsl(336, 42%, 48%) |
| HSV | hsv(336, 59%, 69%) |
| CMYK | cmyk(0%, 58.9%, 35.4%, 31.4%) |
| CIE-LAB | lab(45.56, 46.15, -2.18) |
| CIE-LCH | lch(45.56, 46.20, 357.30°) |
| OKLab | oklab(54.9% 0.1407 -0.0051) |
| OKLCH | oklch(54.9% 0.141 357.9) |
| XYZ | xyz(22.9784, 14.9433, 17.2938) |
| Luminance | 0.1494 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 5.63
Dark Pink
#CB416B
ΔE00 6.46
Dark Rose
#B5485D
ΔE00 6.95
Light Plum
#9D5783
ΔE00 7.01
Deep Rose
#C74767
ΔE00 7.08
Light Maroon
#A24857
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4871 #48AF86
analogous
#AF48A4 #AF4871 #AF5348
triadic
#AF4871 #71AF48 #4871AF
tetradic
#AF4871 #A4AF48 #48AF86 #5348AF
square
#AF4871 #A4AF48 #48AF86 #5348AF
split-complementary
#AF4871 #48AF53 #48A4AF
monochromatic
#582439 #843655 #AF4871 #C47092 #D69BB3
Accessibility & contrast
On white
5.27
#AF4871 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#AF4871 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4871
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4871 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4871 | 1.00 | 5.27 | 3.99 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#596072
Deuteranopia (green-blind)
#74736F
Tritanopia (blue-blind)
#BC4058
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #af4871; /* rgb */ color: rgb(175, 72, 113); /* oklch */ color: oklch(54.9% 0.141 357.9);
Tailwind
colors: {
custom: {
50: '#ca8099',
500: '#af4871',
950: '#000000',
},
}SCSS
$custom: #af4871; $custom-light: #ca8099; $custom-dark: #000000;
JSON
{
"hex": "#af4871",
"rgb": {
"r": 175,
"g": 72,
"b": 113
},
"hsl": {
"h": 336.117,
"s": 41.7,
"l": 48.431
},
"oklch": {
"l": 0.54901,
"c": 0.14076,
"h": 357.9
},
"luminance": 0.14941
}Semantic roles & 50–950 ramp
primary
#AF4871
secondary
#90C2AE
accent
#D2A056
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140A0E
muted
#827C7E