#AF3F82#AF3F82
#AF3F82 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.4% C 0.163 H 346.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3F82 |
|---|---|
| RGB | rgb(175, 63, 130) |
| HSL | hsl(324, 47%, 47%) |
| HSV | hsv(324, 64%, 69%) |
| CMYK | cmyk(0%, 64%, 25.7%, 31.4%) |
| CIE-LAB | lab(44.64, 52.40, -13.93) |
| CIE-LCH | lch(44.64, 54.22, 345.11°) |
| OKLab | oklab(54.41% 0.1584 -0.0367) |
| OKLCH | oklch(54.41% 0.163 346.9) |
| XYZ | xyz(23.4869, 14.2830, 22.6347) |
| Luminance | 0.1428 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.95
Magenta (survey)
#C20078
ΔE00 5.76
Light Plum
#9D5783
ΔE00 6.15
Purpleish
#98568D
ΔE00 7.07
Purplish
#94568C
ΔE00 7.67
Ugly Purple
#A442A0
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3F82 #3FAF6C
analogous
#A43FAF #AF3F82 #AF3F4A
triadic
#AF3F82 #82AF3F #3F82AF
tetradic
#AF3F82 #AFA43F #3FAF6C #3F4AAF
square
#AF3F82 #AFA43F #3FAF6C #3F4AAF
split-complementary
#AF3F82 #4AAF3F #3FAFA4
monochromatic
#551F3F #822F61 #AF3F82 #C7649F #D791BB
Accessibility & contrast
On white
5.45
#AF3F82 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#AF3F82 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3F82
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3F82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3F82 | 1.00 | 5.45 | 3.86 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C5D84
Deuteranopia (green-blind)
#6C717F
Tritanopia (blue-blind)
#BB3C5B
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #af3f82; /* rgb */ color: rgb(175, 63, 130); /* oklch */ color: oklch(54.4% 0.163 346.9);
Tailwind
colors: {
custom: {
50: '#ca7ba6',
500: '#af3f82',
950: '#000000',
},
}SCSS
$custom: #af3f82; $custom-light: #ca7ba6; $custom-dark: #000000;
JSON
{
"hex": "#af3f82",
"rgb": {
"r": 175,
"g": 63,
"b": 130
},
"hsl": {
"h": 324.107,
"s": 47.059,
"l": 46.667
},
"oklch": {
"l": 0.5441,
"c": 0.16258,
"h": 346.9
},
"luminance": 0.14281
}Semantic roles & 50–950 ramp
primary
#AF3F82
secondary
#87C39F
accent
#D78751
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F