#AF4C7D#AF4C7D
#AF4C7D is a mid, vivid pink. Relative luminance 0.158; OKLCH L 55.9% C 0.140 H 351.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4C7D |
|---|---|
| RGB | rgb(175, 76, 125) |
| HSL | hsl(330, 39%, 49%) |
| HSV | hsv(330, 57%, 69%) |
| CMYK | cmyk(0%, 56.6%, 28.6%, 31.4%) |
| CIE-LAB | lab(46.67, 45.77, -7.84) |
| CIE-LCH | lch(46.67, 46.44, 350.28°) |
| OKLab | oklab(55.86% 0.1387 -0.0202) |
| OKLCH | oklch(55.86% 0.14 351.7) |
| XYZ | xyz(23.9663, 15.7658, 21.1790) |
| Luminance | 0.1576 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 4.83
Mediumvioletred
#C71585
ΔE00 7.41
Purpleish
#98568D
ΔE00 7.42
Magenta (survey)
#C20078
ΔE00 7.96
Purplish
#94568C
ΔE00 8.08
Dark Pink
#CB416B
ΔE00 8.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4C7D #4CAF7E
analogous
#AF4CAF #AF4C7D #AF4D4C
triadic
#AF4C7D #7DAF4C #4C7DAF
tetradic
#AF4C7D #AFAF4C #4CAF7E #4D4CAF
square
#AF4C7D #AFAF4C #4CAF7E #4D4CAF
split-complementary
#AF4C7D #4CAF4D #4CAFAF
monochromatic
#5A2740 #84395F #AF4C7D #C3759C #D6A0BA
Accessibility & contrast
On white
5.06
#AF4C7D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#AF4C7D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4C7D
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4C7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4C7D | 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)
#59647F
Deuteranopia (green-blind)
#73757B
Tritanopia (blue-blind)
#BB485F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #af4c7d; /* rgb */ color: rgb(175, 76, 125); /* oklch */ color: oklch(55.9% 0.140 351.7);
Tailwind
colors: {
custom: {
50: '#ca82a2',
500: '#af4c7d',
950: '#000000',
},
}SCSS
$custom: #af4c7d; $custom-light: #ca82a2; $custom-dark: #000000;
JSON
{
"hex": "#af4c7d",
"rgb": {
"r": 175,
"g": 76,
"b": 125
},
"hsl": {
"h": 330.303,
"s": 39.442,
"l": 49.216
},
"oklch": {
"l": 0.55855,
"c": 0.14014,
"h": 351.7
},
"luminance": 0.15764
}Semantic roles & 50–950 ramp
primary
#AF4C7D
secondary
#94C2AC
accent
#CF9558
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0F
muted
#827C7E