#AF4D79#AF4D79
#AF4D79 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 55.9% C 0.137 H 354.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4D79 |
|---|---|
| RGB | rgb(175, 77, 121) |
| HSL | hsl(333, 39%, 49%) |
| HSV | hsv(333, 56%, 69%) |
| CMYK | cmyk(0%, 56%, 30.9%, 31.4%) |
| CIE-LAB | lab(46.72, 44.75, -5.34) |
| CIE-LCH | lch(46.72, 45.07, 353.20°) |
| OKLab | oklab(55.85% 0.1359 -0.0135) |
| OKLCH | oklch(55.85% 0.137 354.3) |
| XYZ | xyz(23.7853, 15.8045, 19.8834) |
| Luminance | 0.1580 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.40
Dark Pink
#CB416B
ΔE00 7.48
Light Burgundy
#A8415B
ΔE00 7.57
Mediumvioletred
#C71585
ΔE00 8.11
Deep Rose
#C74767
ΔE00 8.21
Purpleish
#98568D
ΔE00 8.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4D79 #4DAF83
analogous
#AF4DAA #AF4D79 #AF524D
triadic
#AF4D79 #79AF4D #4D79AF
tetradic
#AF4D79 #AAAF4D #4DAF83 #524DAF
square
#AF4D79 #AAAF4D #4DAF83 #524DAF
split-complementary
#AF4D79 #4DAF52 #4DAAAF
monochromatic
#5A283E #853A5C #AF4D79 #C37699 #D6A1B9
Accessibility & contrast
On white
5.05
#AF4D79 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#AF4D79 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4D79
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4D79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4D79 | 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)
#5B647A
Deuteranopia (green-blind)
#757577
Tritanopia (blue-blind)
#BB475E
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #af4d79; /* rgb */ color: rgb(175, 77, 121); /* oklch */ color: oklch(55.9% 0.137 354.3);
Tailwind
colors: {
custom: {
50: '#ca839f',
500: '#af4d79',
950: '#000000',
},
}SCSS
$custom: #af4d79; $custom-light: #ca839f; $custom-dark: #000000;
JSON
{
"hex": "#af4d79",
"rgb": {
"r": 175,
"g": 77,
"b": 121
},
"hsl": {
"h": 333.061,
"s": 38.889,
"l": 49.412
},
"oklch": {
"l": 0.5585,
"c": 0.13656,
"h": 354.3
},
"luminance": 0.15802
}Semantic roles & 50–950 ramp
primary
#AF4D79
secondary
#95C3AE
accent
#CF9A59
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E