#AF4D78#AF4D78
#AF4D78 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 55.8% C 0.136 H 354.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4D78 |
|---|---|
| RGB | rgb(175, 77, 120) |
| HSL | hsl(334, 39%, 49%) |
| HSV | hsv(334, 56%, 69%) |
| CMYK | cmyk(0%, 56%, 31.4%, 31.4%) |
| CIE-LAB | lab(46.68, 44.62, -4.78) |
| CIE-LCH | lch(46.68, 44.88, 353.89°) |
| OKLab | oklab(55.82% 0.1356 -0.012) |
| OKLCH | oklch(55.82% 0.136 354.9) |
| XYZ | xyz(23.7243, 15.7801, 19.5621) |
| Luminance | 0.1578 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.59
Dark Pink
#CB416B
ΔE00 7.29
Light Burgundy
#A8415B
ΔE00 7.32
Deep Rose
#C74767
ΔE00 7.98
Mediumvioletred
#C71585
ΔE00 8.26
Dark Rose
#B5485D
ΔE00 8.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4D78 #4DAF84
analogous
#AF4DA9 #AF4D78 #AF534D
triadic
#AF4D78 #78AF4D #4D78AF
tetradic
#AF4D78 #A9AF4D #4DAF84 #534DAF
square
#AF4D78 #A9AF4D #4DAF84 #534DAF
split-complementary
#AF4D78 #4DAF53 #4DA9AF
monochromatic
#5A283E #853A5B #AF4D78 #C37698 #D6A1B8
Accessibility & contrast
On white
5.05
#AF4D78 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#AF4D78 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4D78
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4D78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4D78 | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B6379
Deuteranopia (green-blind)
#757576
Tritanopia (blue-blind)
#BB475D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #af4d78; /* rgb */ color: rgb(175, 77, 120); /* oklch */ color: oklch(55.8% 0.136 354.9);
Tailwind
colors: {
custom: {
50: '#ca839e',
500: '#af4d78',
950: '#000000',
},
}SCSS
$custom: #af4d78; $custom-light: #ca839e; $custom-dark: #000000;
JSON
{
"hex": "#af4d78",
"rgb": {
"r": 175,
"g": 77,
"b": 120
},
"hsl": {
"h": 333.673,
"s": 38.889,
"l": 49.412
},
"oklch": {
"l": 0.55815,
"c": 0.13609,
"h": 354.9
},
"luminance": 0.15778
}Semantic roles & 50–950 ramp
primary
#AF4D78
secondary
#95C3AF
accent
#CF9B59
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E