#AF4D77#AF4D77
#AF4D77 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 55.8% C 0.136 H 355.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4D77 |
|---|---|
| RGB | rgb(175, 77, 119) |
| HSL | hsl(334, 39%, 49%) |
| HSV | hsv(334, 56%, 69%) |
| CMYK | cmyk(0%, 56%, 32%, 31.4%) |
| CIE-LAB | lab(46.65, 44.49, -4.22) |
| CIE-LCH | lch(46.65, 44.69, 354.59°) |
| OKLab | oklab(55.78% 0.1352 -0.0105) |
| OKLCH | oklch(55.78% 0.136 355.5) |
| XYZ | xyz(23.6639, 15.7559, 19.2441) |
| Luminance | 0.1575 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.78
Light Burgundy
#A8415B
ΔE00 7.07
Dark Pink
#CB416B
ΔE00 7.10
Deep Rose
#C74767
ΔE00 7.75
Dark Rose
#B5485D
ΔE00 8.02
Mediumvioletred
#C71585
ΔE00 8.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4D77 #4DAF85
analogous
#AF4DA8 #AF4D77 #AF544D
triadic
#AF4D77 #77AF4D #4D77AF
tetradic
#AF4D77 #A8AF4D #4DAF85 #544DAF
square
#AF4D77 #A8AF4D #4DAF85 #544DAF
split-complementary
#AF4D77 #4DAF54 #4DA8AF
monochromatic
#5A283D #853A5A #AF4D77 #C37697 #D6A1B7
Accessibility & contrast
On white
5.06
#AF4D77 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#AF4D77 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4D77
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4D77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4D77 | 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)
#5B6378
Deuteranopia (green-blind)
#757575
Tritanopia (blue-blind)
#BB475D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #af4d77; /* rgb */ color: rgb(175, 77, 119); /* oklch */ color: oklch(55.8% 0.136 355.5);
Tailwind
colors: {
custom: {
50: '#ca839e',
500: '#af4d77',
950: '#000000',
},
}SCSS
$custom: #af4d77; $custom-light: #ca839e; $custom-dark: #000000;
JSON
{
"hex": "#af4d77",
"rgb": {
"r": 175,
"g": 77,
"b": 119
},
"hsl": {
"h": 334.286,
"s": 38.889,
"l": 49.412
},
"oklch": {
"l": 0.55781,
"c": 0.13564,
"h": 355.5
},
"luminance": 0.15754
}Semantic roles & 50–950 ramp
primary
#AF4D77
secondary
#95C3AF
accent
#CF9C59
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E