#AF3D82#AF3D82
#AF3D82 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.2% C 0.165 H 346.7°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3D82 |
|---|---|
| RGB | rgb(175, 61, 130) |
| HSL | hsl(324, 48%, 46%) |
| HSV | hsv(324, 65%, 69%) |
| CMYK | cmyk(0%, 65.1%, 25.7%, 31.4%) |
| CIE-LAB | lab(44.33, 53.25, -14.40) |
| CIE-LCH | lch(44.33, 55.16, 344.86°) |
| OKLab | oklab(54.18% 0.161 -0.038) |
| OKLCH | oklch(54.18% 0.165 346.7) |
| XYZ | xyz(23.3781, 14.0655, 22.5985) |
| Luminance | 0.1406 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.74
Magenta (survey)
#C20078
ΔE00 5.52
Light Plum
#9D5783
ΔE00 6.46
Purpleish
#98568D
ΔE00 7.24
Ugly Purple
#A442A0
ΔE00 7.64
Purplish
#94568C
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3D82 #3DAF6A
analogous
#A33DAF #AF3D82 #AF3D49
triadic
#AF3D82 #82AF3D #3D82AF
tetradic
#AF3D82 #AFA33D #3DAF6A #3D49AF
square
#AF3D82 #AFA33D #3DAF6A #3D49AF
split-complementary
#AF3D82 #49AF3D #3DAFA3
monochromatic
#541D3F #822D60 #AF3D82 #C8619F #D88FBB
Accessibility & contrast
On white
5.51
#AF3D82 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#AF3D82 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3D82
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3D82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3D82 | 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)
#4A5C84
Deuteranopia (green-blind)
#6B707F
Tritanopia (blue-blind)
#BB3A5A
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #af3d82; /* rgb */ color: rgb(175, 61, 130); /* oklch */ color: oklch(54.2% 0.165 346.7);
Tailwind
colors: {
custom: {
50: '#ca7aa6',
500: '#af3d82',
950: '#000000',
},
}SCSS
$custom: #af3d82; $custom-light: #ca7aa6; $custom-dark: #000000;
JSON
{
"hex": "#af3d82",
"rgb": {
"r": 175,
"g": 61,
"b": 130
},
"hsl": {
"h": 323.684,
"s": 48.305,
"l": 46.275
},
"oklch": {
"l": 0.54183,
"c": 0.16541,
"h": 346.7
},
"luminance": 0.14063
}Semantic roles & 50–950 ramp
primary
#AF3D82
secondary
#85C39D
accent
#D88650
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F