#AF3F71#AF3F71
#AF3F71 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 53.8% C 0.154 H 355.9°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3F71 |
|---|---|
| RGB | rgb(175, 63, 113) |
| HSL | hsl(333, 47%, 47%) |
| HSV | hsv(333, 64%, 69%) |
| CMYK | cmyk(0%, 64%, 35.4%, 31.4%) |
| CIE-LAB | lab(44.04, 50.24, -4.42) |
| CIE-LCH | lch(44.04, 50.44, 354.97°) |
| OKLab | oklab(53.77% 0.1535 -0.011) |
| OKLCH | oklch(53.77% 0.154 355.9) |
| XYZ | xyz(22.4386, 13.8637, 17.1139) |
| Luminance | 0.1386 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 6.07
Light Burgundy
#A8415B
ΔE00 6.33
Mediumvioletred
#C71585
ΔE00 6.73
Deep Pink
#CB0162
ΔE00 7.00
Light Plum
#9D5783
ΔE00 7.43
Dark Pink
#CB416B
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3F71 #3FAF7D
analogous
#AF3FA9 #AF3F71 #AF453F
triadic
#AF3F71 #71AF3F #3F71AF
tetradic
#AF3F71 #A9AF3F #3FAF7D #453FAF
square
#AF3F71 #A9AF3F #3FAF7D #453FAF
split-complementary
#AF3F71 #3FAF45 #3FA9AF
monochromatic
#551F37 #822F54 #AF3F71 #C76490 #D791B0
Accessibility & contrast
On white
5.57
#AF3F71 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#AF3F71 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3F71
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3F71 | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#525B72
Deuteranopia (green-blind)
#70706E
Tritanopia (blue-blind)
#BC3653
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #af3f71; /* rgb */ color: rgb(175, 63, 113); /* oklch */ color: oklch(53.8% 0.154 355.9);
Tailwind
colors: {
custom: {
50: '#cb7b99',
500: '#af3f71',
950: '#000000',
},
}SCSS
$custom: #af3f71; $custom-light: #cb7b99; $custom-dark: #000000;
JSON
{
"hex": "#af3f71",
"rgb": {
"r": 175,
"g": 63,
"b": 113
},
"hsl": {
"h": 333.214,
"s": 47.059,
"l": 46.667
},
"oklch": {
"l": 0.53771,
"c": 0.15384,
"h": 355.9
},
"luminance": 0.13861
}Semantic roles & 50–950 ramp
primary
#AF3F71
secondary
#87C3A8
accent
#D79B51
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E