#AF4F71#AF4F71
#AF4F71 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 55.9% C 0.130 H 359.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4F71 |
|---|---|
| RGB | rgb(175, 79, 113) |
| HSL | hsl(339, 38%, 50%) |
| HSV | hsv(339, 55%, 69%) |
| CMYK | cmyk(0%, 54.9%, 35.4%, 31.4%) |
| CIE-LAB | lab(46.84, 42.75, -0.29) |
| CIE-LCH | lch(46.84, 42.75, 359.61°) |
| OKLab | oklab(55.86% 0.1301 -0.0002) |
| OKLCH | oklch(55.86% 0.13 359.9) |
| XYZ | xyz(23.4570, 15.9005, 17.4533) |
| Luminance | 0.1590 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 5.64
Dark Pink
#CB416B
ΔE00 6.00
Dark Rose
#B5485D
ΔE00 6.09
Deep Rose
#C74767
ΔE00 6.23
Light Maroon
#A24857
ΔE00 7.07
Light Plum
#9D5783
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4F71 #4FAF8D
analogous
#AF4FA1 #AF4F71 #AF5D4F
triadic
#AF4F71 #71AF4F #4F71AF
tetradic
#AF4F71 #A1AF4F #4FAF8D #5D4FAF
square
#AF4F71 #A1AF4F #4FAF8D #5D4FAF
split-complementary
#AF4F71 #4FAF5D #4FA1AF
monochromatic
#5B293B #853C56 #AF4F71 #C27993 #D5A3B5
Accessibility & contrast
On white
5.02
#AF4F71 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#AF4F71 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4F71
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4F71 | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F6472
Deuteranopia (green-blind)
#78766F
Tritanopia (blue-blind)
#BC475C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #af4f71; /* rgb */ color: rgb(175, 79, 113); /* oklch */ color: oklch(55.9% 0.130 359.9);
Tailwind
colors: {
custom: {
50: '#ca8499',
500: '#af4f71',
950: '#000000',
},
}SCSS
$custom: #af4f71; $custom-light: #ca8499; $custom-dark: #000000;
JSON
{
"hex": "#af4f71",
"rgb": {
"r": 175,
"g": 79,
"b": 113
},
"hsl": {
"h": 338.75,
"s": 37.795,
"l": 49.804
},
"oklch": {
"l": 0.55863,
"c": 0.1301,
"h": 359.9
},
"luminance": 0.15898
}Semantic roles & 50–950 ramp
primary
#AF4F71
secondary
#97C3B3
accent
#CEA55A
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E