#AF4E79#AF4E79
#AF4E79 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.0% C 0.135 H 354.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4E79 |
|---|---|
| RGB | rgb(175, 78, 121) |
| HSL | hsl(333, 38%, 50%) |
| HSV | hsv(333, 55%, 69%) |
| CMYK | cmyk(0%, 55.4%, 30.9%, 31.4%) |
| CIE-LAB | lab(46.90, 44.26, -5.06) |
| CIE-LCH | lch(46.90, 44.55, 353.48°) |
| OKLab | oklab(55.99% 0.1344 -0.0128) |
| OKLCH | oklch(55.99% 0.135 354.6) |
| XYZ | xyz(23.8558, 15.9455, 19.9069) |
| Luminance | 0.1594 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.40
Dark Pink
#CB416B
ΔE00 7.41
Light Burgundy
#A8415B
ΔE00 7.56
Deep Rose
#C74767
ΔE00 8.10
Mediumvioletred
#C71585
ΔE00 8.35
Purpleish
#98568D
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4E79 #4EAF84
analogous
#AF4EAA #AF4E79 #AF544E
triadic
#AF4E79 #79AF4E #4E79AF
tetradic
#AF4E79 #AAAF4E #4EAF84 #544EAF
square
#AF4E79 #AAAF4E #4EAF84 #544EAF
split-complementary
#AF4E79 #4EAF54 #4EAAAF
monochromatic
#5A283E #853B5C #AF4E79 #C37899 #D6A2B9
Accessibility & contrast
On white
5.01
#AF4E79 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#AF4E79 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4E79
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4E79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4E79 | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C647A
Deuteranopia (green-blind)
#757677
Tritanopia (blue-blind)
#BB485E
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #af4e79; /* rgb */ color: rgb(175, 78, 121); /* oklch */ color: oklch(56.0% 0.135 354.6);
Tailwind
colors: {
custom: {
50: '#ca839f',
500: '#af4e79',
950: '#000000',
},
}SCSS
$custom: #af4e79; $custom-light: #ca839f; $custom-dark: #000000;
JSON
{
"hex": "#af4e79",
"rgb": {
"r": 175,
"g": 78,
"b": 121
},
"hsl": {
"h": 333.402,
"s": 38.34,
"l": 49.608
},
"oklch": {
"l": 0.55989,
"c": 0.13499,
"h": 354.6
},
"luminance": 0.15943
}Semantic roles & 50–950 ramp
primary
#AF4E79
secondary
#96C3AF
accent
#CE9B5A
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E