#AF4E71#AF4E71
#AF4E71 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 55.7% C 0.132 H 359.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4E71 |
|---|---|
| RGB | rgb(175, 78, 113) |
| HSL | hsl(338, 38%, 50%) |
| HSV | hsv(338, 55%, 69%) |
| CMYK | cmyk(0%, 55.4%, 35.4%, 31.4%) |
| CIE-LAB | lab(46.65, 43.25, -0.57) |
| CIE-LCH | lch(46.65, 43.25, 359.25°) |
| OKLab | oklab(55.72% 0.1316 -0.0009) |
| OKLCH | oklch(55.72% 0.132 359.6) |
| XYZ | xyz(23.3854, 15.7573, 17.4295) |
| Luminance | 0.1575 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 5.60
Dark Pink
#CB416B
ΔE00 6.04
Dark Rose
#B5485D
ΔE00 6.19
Deep Rose
#C74767
ΔE00 6.33
Light Maroon
#A24857
ΔE00 7.13
Light Plum
#9D5783
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4E71 #4EAF8C
analogous
#AF4EA1 #AF4E71 #AF5C4E
triadic
#AF4E71 #71AF4E #4E71AF
tetradic
#AF4E71 #A1AF4E #4EAF8C #5C4EAF
square
#AF4E71 #A1AF4E #4EAF8C #5C4EAF
split-complementary
#AF4E71 #4EAF5C #4EA1AF
monochromatic
#5A283A #853B56 #AF4E71 #C37893 #D6A2B5
Accessibility & contrast
On white
5.06
#AF4E71 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#AF4E71 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4E71
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4E71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4E71 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E6372
Deuteranopia (green-blind)
#77756F
Tritanopia (blue-blind)
#BC465B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #af4e71; /* rgb */ color: rgb(175, 78, 113); /* oklch */ color: oklch(55.7% 0.132 359.6);
Tailwind
colors: {
custom: {
50: '#ca8399',
500: '#af4e71',
950: '#000000',
},
}SCSS
$custom: #af4e71; $custom-light: #ca8399; $custom-dark: #000000;
JSON
{
"hex": "#af4e71",
"rgb": {
"r": 175,
"g": 78,
"b": 113
},
"hsl": {
"h": 338.351,
"s": 38.34,
"l": 49.608
},
"oklch": {
"l": 0.55721,
"c": 0.13164,
"h": 359.6
},
"luminance": 0.15755
}Semantic roles & 50–950 ramp
primary
#AF4E71
secondary
#96C3B3
accent
#CEA45A
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E