#AF4C97#AF4C97
#AF4C97 is a mid, vivid pink. Relative luminance 0.165; OKLCH L 56.9% C 0.157 H 337.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4C97 |
|---|---|
| RGB | rgb(175, 76, 151) |
| HSL | hsl(315, 39%, 49%) |
| HSV | hsv(315, 57%, 69%) |
| CMYK | cmyk(0%, 56.6%, 13.7%, 31.4%) |
| CIE-LAB | lab(47.65, 49.60, -21.97) |
| CIE-LCH | lch(47.65, 54.25, 336.11°) |
| OKLab | oklab(56.91% 0.1455 -0.0593) |
| OKLCH | oklch(56.91% 0.157 337.8) |
| XYZ | xyz(25.8499, 16.5192, 31.0992) |
| Luminance | 0.1652 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 4.96
Purpleish
#98568D
ΔE00 5.07
Purplish
#94568C
ΔE00 5.83
Light Plum
#9D5783
ΔE00 6.12
Medium Purple
#9E43A2
ΔE00 6.21
Purpley Pink
#C83CB9
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4C97 #4CAF64
analogous
#964CAF #AF4C97 #AF4C66
triadic
#AF4C97 #97AF4C #4C97AF
tetradic
#AF4C97 #AF964C #4CAF64 #4C66AF
square
#AF4C97 #AF964C #4CAF64 #4C66AF
split-complementary
#AF4C97 #66AF4C #4CAF96
monochromatic
#5A274D #843972 #AF4C97 #C375B0 #D6A0C9
Accessibility & contrast
On white
4.88
#AF4C97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#AF4C97 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4C97
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4C97 | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F6799
Deuteranopia (green-blind)
#6C7794
Tritanopia (blue-blind)
#B8506B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #af4c97; /* rgb */ color: rgb(175, 76, 151); /* oklch */ color: oklch(56.9% 0.157 337.8);
Tailwind
colors: {
custom: {
50: '#c983b5',
500: '#af4c97',
950: '#000000',
},
}SCSS
$custom: #af4c97; $custom-light: #c983b5; $custom-dark: #000000;
JSON
{
"hex": "#af4c97",
"rgb": {
"r": 175,
"g": 76,
"b": 151
},
"hsl": {
"h": 314.545,
"s": 39.442,
"l": 49.216
},
"oklch": {
"l": 0.56907,
"c": 0.15708,
"h": 337.8
},
"luminance": 0.16517
}Semantic roles & 50–950 ramp
primary
#AF4C97
secondary
#94C2A0
accent
#CF7558
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#130B11
muted
#827C80