#AF3C86#AF3C86
#AF3C86 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.2% C 0.169 H 344.7°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3C86 |
|---|---|
| RGB | rgb(175, 60, 134) |
| HSL | hsl(321, 49%, 46%) |
| HSV | hsv(321, 66%, 69%) |
| CMYK | cmyk(0%, 65.7%, 23.4%, 31.4%) |
| CIE-LAB | lab(44.33, 54.21, -16.83) |
| CIE-LCH | lch(44.33, 56.76, 342.75°) |
| OKLab | oklab(54.24% 0.1632 -0.0447) |
| OKLCH | oklch(54.24% 0.169 344.7) |
| XYZ | xyz(23.5990, 14.0692, 24.0224) |
| Luminance | 0.1407 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.73
Magenta (survey)
#C20078
ΔE00 5.82
Ugly Purple
#A442A0
ΔE00 6.68
Light Plum
#9D5783
ΔE00 6.74
Purpleish
#98568D
ΔE00 7.00
Purplish
#94568C
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3C86 #3CAF65
analogous
#9E3CAF #AF3C86 #AF3C4D
triadic
#AF3C86 #86AF3C #3C86AF
tetradic
#AF3C86 #AF9E3C #3CAF65 #3C4DAF
square
#AF3C86 #AF9E3C #3CAF65 #3C4DAF
split-complementary
#AF3C86 #4DAF3C #3CAF9E
monochromatic
#541D40 #812C63 #AF3C86 #C860A3 #D88DBD
Accessibility & contrast
On white
5.51
#AF3C86 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#AF3C86 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3C86
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3C86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3C86 | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#485D88
Deuteranopia (green-blind)
#697083
Tritanopia (blue-blind)
#BA3B5B
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #af3c86; /* rgb */ color: rgb(175, 60, 134); /* oklch */ color: oklch(54.2% 0.169 344.7);
Tailwind
colors: {
custom: {
50: '#ca7aa9',
500: '#af3c86',
950: '#000000',
},
}SCSS
$custom: #af3c86; $custom-light: #ca7aa9; $custom-dark: #000000;
JSON
{
"hex": "#af3c86",
"rgb": {
"r": 175,
"g": 60,
"b": 134
},
"hsl": {
"h": 321.391,
"s": 48.936,
"l": 46.078
},
"oklch": {
"l": 0.54238,
"c": 0.16923,
"h": 344.7
},
"luminance": 0.14067
}Semantic roles & 50–950 ramp
primary
#AF3C86
secondary
#84C39A
accent
#D8804F
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F