#AF4E90#AF4E90
#AF4E90 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 56.9% C 0.149 H 341.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4E90 |
|---|---|
| RGB | rgb(175, 78, 144) |
| HSL | hsl(319, 38%, 50%) |
| HSV | hsv(319, 55%, 69%) |
| CMYK | cmyk(0%, 55.4%, 17.7%, 31.4%) |
| CIE-LAB | lab(47.72, 47.55, -17.68) |
| CIE-LCH | lch(47.72, 50.73, 339.61°) |
| OKLab | oklab(56.87% 0.141 -0.0473) |
| OKLCH | oklch(56.87% 0.149 341.5) |
| XYZ | xyz(25.4381, 16.5784, 28.2403) |
| Luminance | 0.1658 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 4.84
Purpleish
#98568D
ΔE00 4.92
Purplish
#94568C
ΔE00 5.76
Ugly Purple
#A442A0
ΔE00 6.56
Mediumvioletred
#C71585
ΔE00 7.48
Medium Purple
#9E43A2
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4E90 #4EAF6D
analogous
#9E4EAF #AF4E90 #AF4E60
triadic
#AF4E90 #90AF4E #4E90AF
tetradic
#AF4E90 #AF9E4E #4EAF6D #4E60AF
square
#AF4E90 #AF9E4E #4EAF6D #4E60AF
split-complementary
#AF4E90 #60AF4E #4EAF9E
monochromatic
#5A284A #853B6D #AF4E90 #C378AB #D6A2C5
Accessibility & contrast
On white
4.87
#AF4E90 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#AF4E90 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4E90
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4E90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4E90 | 1.00 | 4.87 | 4.32 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#546792
Deuteranopia (green-blind)
#6F778D
Tritanopia (blue-blind)
#B94F68
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #af4e90; /* rgb */ color: rgb(175, 78, 144); /* oklch */ color: oklch(56.9% 0.149 341.5);
Tailwind
colors: {
custom: {
50: '#c984b0',
500: '#af4e90',
950: '#000000',
},
}SCSS
$custom: #af4e90; $custom-light: #c984b0; $custom-dark: #000000;
JSON
{
"hex": "#af4e90",
"rgb": {
"r": 175,
"g": 78,
"b": 144
},
"hsl": {
"h": 319.175,
"s": 38.34,
"l": 49.608
},
"oklch": {
"l": 0.5687,
"c": 0.14873,
"h": 341.5
},
"luminance": 0.16576
}Semantic roles & 50–950 ramp
primary
#AF4E90
secondary
#96C3A4
accent
#CE7F5A
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#130B10
muted
#827C7F