#AF4C8F#AF4C8F
#AF4C8F is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.6% C 0.151 H 341.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4C8F |
|---|---|
| RGB | rgb(175, 76, 143) |
| HSL | hsl(319, 39%, 49%) |
| HSV | hsv(319, 57%, 69%) |
| CMYK | cmyk(0%, 56.6%, 18.3%, 31.4%) |
| CIE-LAB | lab(47.32, 48.36, -17.69) |
| CIE-LCH | lch(47.32, 51.49, 339.91°) |
| OKLab | oklab(56.56% 0.1437 -0.0473) |
| OKLCH | oklch(56.56% 0.151 341.8) |
| XYZ | xyz(25.2221, 16.2681, 27.7929) |
| Luminance | 0.1627 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 4.97
Purpleish
#98568D
ΔE00 5.05
Purplish
#94568C
ΔE00 5.86
Ugly Purple
#A442A0
ΔE00 6.41
Mediumvioletred
#C71585
ΔE00 7.10
Medium Purple
#9E43A2
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4C8F #4CAF6C
analogous
#9E4CAF #AF4C8F #AF4C5E
triadic
#AF4C8F #8FAF4C #4C8FAF
tetradic
#AF4C8F #AF9E4C #4CAF6C #4C5EAF
square
#AF4C8F #AF9E4C #4CAF6C #4C5EAF
split-complementary
#AF4C8F #5EAF4C #4CAF9E
monochromatic
#5A2749 #84396C #AF4C8F #C375AA #D6A0C4
Accessibility & contrast
On white
4.94
#AF4C8F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#AF4C8F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4C8F
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4C8F | 1.00 | 4.94 | 4.25 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#526691
Deuteranopia (green-blind)
#6E768C
Tritanopia (blue-blind)
#B94D67
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #af4c8f; /* rgb */ color: rgb(175, 76, 143); /* oklch */ color: oklch(56.6% 0.151 341.8);
Tailwind
colors: {
custom: {
50: '#c983b0',
500: '#af4c8f',
950: '#000000',
},
}SCSS
$custom: #af4c8f; $custom-light: #c983b0; $custom-dark: #000000;
JSON
{
"hex": "#af4c8f",
"rgb": {
"r": 175,
"g": 76,
"b": 143
},
"hsl": {
"h": 319.394,
"s": 39.442,
"l": 49.216
},
"oklch": {
"l": 0.56561,
"c": 0.15124,
"h": 341.8
},
"luminance": 0.16266
}Semantic roles & 50–950 ramp
primary
#AF4C8F
secondary
#94C2A3
accent
#CF7F58
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B10
muted
#827C7F