#AF3F81#AF3F81
#AF3F81 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.4% C 0.162 H 347.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3F81 |
|---|---|
| RGB | rgb(175, 63, 129) |
| HSL | hsl(325, 47%, 47%) |
| HSV | hsv(325, 64%, 69%) |
| CMYK | cmyk(0%, 64%, 26.3%, 31.4%) |
| CIE-LAB | lab(44.60, 52.26, -13.38) |
| CIE-LCH | lch(44.60, 53.95, 345.64°) |
| OKLab | oklab(54.37% 0.1581 -0.0352) |
| OKLCH | oklch(54.37% 0.162 347.4) |
| XYZ | xyz(23.4201, 14.2563, 22.2830) |
| Luminance | 0.1425 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.96
Magenta (survey)
#C20078
ΔE00 5.69
Light Plum
#9D5783
ΔE00 6.15
Purpleish
#98568D
ΔE00 7.18
Purplish
#94568C
ΔE00 7.78
Ugly Purple
#A442A0
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3F81 #3FAF6D
analogous
#A53FAF #AF3F81 #AF3F49
triadic
#AF3F81 #81AF3F #3F81AF
tetradic
#AF3F81 #AFA53F #3FAF6D #3F49AF
square
#AF3F81 #AFA53F #3FAF6D #3F49AF
split-complementary
#AF3F81 #49AF3F #3FAFA5
monochromatic
#551F3F #822F60 #AF3F81 #C7649E #D791BA
Accessibility & contrast
On white
5.45
#AF3F81 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#AF3F81 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3F81
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3F81 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3F81 | 1.00 | 5.45 | 3.85 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C5D83
Deuteranopia (green-blind)
#6C717E
Tritanopia (blue-blind)
#BB3C5A
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #af3f81; /* rgb */ color: rgb(175, 63, 129); /* oklch */ color: oklch(54.4% 0.162 347.4);
Tailwind
colors: {
custom: {
50: '#ca7ba5',
500: '#af3f81',
950: '#000000',
},
}SCSS
$custom: #af3f81; $custom-light: #ca7ba5; $custom-dark: #000000;
JSON
{
"hex": "#af3f81",
"rgb": {
"r": 175,
"g": 63,
"b": 129
},
"hsl": {
"h": 324.643,
"s": 47.059,
"l": 46.667
},
"oklch": {
"l": 0.5437,
"c": 0.162,
"h": 347.4
},
"luminance": 0.14254
}Semantic roles & 50–950 ramp
primary
#AF3F81
secondary
#87C3A0
accent
#D78851
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F