#AF4E9E#AF4E9E
#AF4E9E is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.5% C 0.159 H 334.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4E9E |
|---|---|
| RGB | rgb(175, 78, 158) |
| HSL | hsl(311, 38%, 50%) |
| HSV | hsv(311, 55%, 69%) |
| CMYK | cmyk(0%, 55.4%, 9.7%, 31.4%) |
| CIE-LAB | lab(48.30, 49.79, -25.13) |
| CIE-LCH | lch(48.30, 55.77, 333.22°) |
| OKLab | oklab(57.49% 0.1441 -0.0682) |
| OKLCH | oklch(57.49% 0.159 334.7) |
| XYZ | xyz(26.5752, 17.0333, 34.2292) |
| Luminance | 0.1703 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 4.43
Purpleish
#98568D
ΔE00 5.45
Medium Purple
#9E43A2
ΔE00 5.58
Purpley Pink
#C83CB9
ΔE00 6.00
Purplish
#94568C
ΔE00 6.14
Pinky Purple
#C94CBE
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4E9E #4EAF5F
analogous
#8F4EAF #AF4E9E #AF4E6E
triadic
#AF4E9E #9EAF4E #4E9EAF
tetradic
#AF4E9E #AF8F4E #4EAF5F #4E6EAF
square
#AF4E9E #AF8F4E #4EAF5F #4E6EAF
split-complementary
#AF4E9E #6EAF4E #4EAF8F
monochromatic
#5A2852 #853B78 #AF4E9E #C378B5 #D6A2CC
Accessibility & contrast
On white
4.77
#AF4E9E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#AF4E9E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4E9E
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4E9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4E9E | 1.00 | 4.77 | 4.41 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E6AA1
Deuteranopia (green-blind)
#6A789B
Tritanopia (blue-blind)
#B7546F
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #af4e9e; /* rgb */ color: rgb(175, 78, 158); /* oklch */ color: oklch(57.5% 0.159 334.7);
Tailwind
colors: {
custom: {
50: '#c984bb',
500: '#af4e9e',
950: '#000000',
},
}SCSS
$custom: #af4e9e; $custom-light: #c984bb; $custom-dark: #000000;
JSON
{
"hex": "#af4e9e",
"rgb": {
"r": 175,
"g": 78,
"b": 158
},
"hsl": {
"h": 310.515,
"s": 38.34,
"l": 49.608
},
"oklch": {
"l": 0.57487,
"c": 0.1594,
"h": 334.7
},
"luminance": 0.17031
}Semantic roles & 50–950 ramp
primary
#AF4E9E
secondary
#96C39E
accent
#CE6E5A
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#130B11
muted
#827C80