#AF3F84#AF3F84
#AF3F84 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.5% C 0.164 H 345.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3F84 |
|---|---|
| RGB | rgb(175, 63, 132) |
| HSL | hsl(323, 47%, 47%) |
| HSV | hsv(323, 64%, 69%) |
| CMYK | cmyk(0%, 64%, 24.6%, 31.4%) |
| CIE-LAB | lab(44.71, 52.67, -15.03) |
| CIE-LCH | lch(44.71, 54.77, 344.07°) |
| OKLab | oklab(54.49% 0.1589 -0.0398) |
| OKLCH | oklch(54.49% 0.164 345.9) |
| XYZ | xyz(23.6224, 14.3372, 23.3486) |
| Luminance | 0.1434 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.94
Magenta (survey)
#C20078
ΔE00 5.92
Light Plum
#9D5783
ΔE00 6.19
Purpleish
#98568D
ΔE00 6.86
Ugly Purple
#A442A0
ΔE00 7.31
Purplish
#94568C
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3F84 #3FAF6A
analogous
#A23FAF #AF3F84 #AF3F4C
triadic
#AF3F84 #84AF3F #3F84AF
tetradic
#AF3F84 #AFA23F #3FAF6A #3F4CAF
square
#AF3F84 #AFA23F #3FAF6A #3F4CAF
split-complementary
#AF3F84 #4CAF3F #3FAFA2
monochromatic
#551F40 #822F62 #AF3F84 #C764A1 #D791BC
Accessibility & contrast
On white
5.43
#AF3F84 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#AF3F84 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3F84
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3F84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3F84 | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B5E86
Deuteranopia (green-blind)
#6B7181
Tritanopia (blue-blind)
#BA3D5C
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #af3f84; /* rgb */ color: rgb(175, 63, 132); /* oklch */ color: oklch(54.5% 0.164 345.9);
Tailwind
colors: {
custom: {
50: '#ca7ba7',
500: '#af3f84',
950: '#000000',
},
}SCSS
$custom: #af3f84; $custom-light: #ca7ba7; $custom-dark: #000000;
JSON
{
"hex": "#af3f84",
"rgb": {
"r": 175,
"g": 63,
"b": 132
},
"hsl": {
"h": 323.036,
"s": 47.059,
"l": 46.667
},
"oklch": {
"l": 0.54492,
"c": 0.16377,
"h": 345.9
},
"luminance": 0.14335
}Semantic roles & 50–950 ramp
primary
#AF3F84
secondary
#87C39E
accent
#D78451
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F