#AF3F80#AF3F80
#AF3F80 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.3% C 0.161 H 347.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3F80 |
|---|---|
| RGB | rgb(175, 63, 128) |
| HSL | hsl(325, 47%, 47%) |
| HSV | hsv(325, 64%, 69%) |
| CMYK | cmyk(0%, 64%, 26.9%, 31.4%) |
| CIE-LAB | lab(44.56, 52.13, -12.83) |
| CIE-LCH | lch(44.56, 53.69, 346.18°) |
| OKLab | oklab(54.33% 0.1579 -0.0337) |
| OKLCH | oklch(54.33% 0.161 347.9) |
| XYZ | xyz(23.3539, 14.2298, 21.9346) |
| Luminance | 0.1423 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.99
Magenta (survey)
#C20078
ΔE00 5.63
Light Plum
#9D5783
ΔE00 6.16
Purpleish
#98568D
ΔE00 7.30
Purplish
#94568C
ΔE00 7.90
Ugly Purple
#A442A0
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3F80 #3FAF6E
analogous
#A63FAF #AF3F80 #AF3F48
triadic
#AF3F80 #80AF3F #3F80AF
tetradic
#AF3F80 #AFA63F #3FAF6E #3F48AF
square
#AF3F80 #AFA63F #3FAF6E #3F48AF
split-complementary
#AF3F80 #48AF3F #3FAFA6
monochromatic
#551F3E #822F5F #AF3F80 #C7649E #D791BA
Accessibility & contrast
On white
5.46
#AF3F80 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#AF3F80 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3F80
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3F80 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3F80 | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D5D82
Deuteranopia (green-blind)
#6C717D
Tritanopia (blue-blind)
#BB3C5A
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #af3f80; /* rgb */ color: rgb(175, 63, 128); /* oklch */ color: oklch(54.3% 0.161 347.9);
Tailwind
colors: {
custom: {
50: '#ca7ba5',
500: '#af3f80',
950: '#000000',
},
}SCSS
$custom: #af3f80; $custom-light: #ca7ba5; $custom-dark: #000000;
JSON
{
"hex": "#af3f80",
"rgb": {
"r": 175,
"g": 63,
"b": 128
},
"hsl": {
"h": 325.179,
"s": 47.059,
"l": 46.667
},
"oklch": {
"l": 0.5433,
"c": 0.16141,
"h": 347.9
},
"luminance": 0.14227
}Semantic roles & 50–950 ramp
primary
#AF3F80
secondary
#87C3A0
accent
#D78951
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F