#AF387E#AF387E
#AF387E is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.5% C 0.170 H 348.1°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #AF387E |
|---|---|
| RGB | rgb(175, 56, 126) |
| HSL | hsl(325, 52%, 45%) |
| HSV | hsv(325, 68%, 69%) |
| CMYK | cmyk(0%, 68%, 28%, 31.4%) |
| CIE-LAB | lab(43.44, 54.76, -13.31) |
| CIE-LCH | lch(43.44, 56.35, 346.34°) |
| OKLab | oklab(53.48% 0.1663 -0.035) |
| OKLCH | oklch(53.48% 0.17 348.1) |
| XYZ | xyz(22.8603, 13.4511, 21.1270) |
| Luminance | 0.1345 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.41
Magenta (survey)
#C20078
ΔE00 4.69
Light Plum
#9D5783
ΔE00 7.22
Red Violet
#9E0168
ΔE00 7.91
Purpleish
#98568D
ΔE00 8.11
Ugly Purple
#A442A0
ΔE00 8.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF387E #38AF69
analogous
#A438AF #AF387E #AF3842
triadic
#AF387E #7EAF38 #387EAF
tetradic
#AF387E #AFA438 #38AF69 #3842AF
square
#AF387E #AFA438 #38AF69 #3842AF
split-complementary
#AF387E #42AF38 #38AFA4
monochromatic
#521A3B #81295D #AF387E #CA5A9C #D988B8
Accessibility & contrast
On white
5.69
#AF387E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#AF387E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF387E
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF387E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF387E | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#485980
Deuteranopia (green-blind)
#6A6E7B
Tritanopia (blue-blind)
#BB3456
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #af387e; /* rgb */ color: rgb(175, 56, 126); /* oklch */ color: oklch(53.5% 0.170 348.1);
Tailwind
colors: {
custom: {
50: '#cb77a3',
500: '#af387e',
950: '#000000',
},
}SCSS
$custom: #af387e; $custom-light: #cb77a3; $custom-dark: #000000;
JSON
{
"hex": "#af387e",
"rgb": {
"r": 175,
"g": 56,
"b": 126
},
"hsl": {
"h": 324.706,
"s": 51.515,
"l": 45.294
},
"oklch": {
"l": 0.53477,
"c": 0.16991,
"h": 348.1
},
"luminance": 0.13449
}Semantic roles & 50–950 ramp
primary
#AF387E
secondary
#80C39B
accent
#DB874D
background
#FCF7FA
surface
#F9EEF3
border
#D2C9CD
text
#14090F
muted
#827B7F