#AF3F91#AF3F91
#AF3F91 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.1% C 0.172 H 339.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3F91 |
|---|---|
| RGB | rgb(175, 63, 145) |
| HSL | hsl(316, 47%, 47%) |
| HSV | hsv(316, 64%, 69%) |
| CMYK | cmyk(0%, 64%, 17.1%, 31.4%) |
| CIE-LAB | lab(45.24, 54.53, -22.09) |
| CIE-LCH | lch(45.24, 58.83, 337.95°) |
| OKLab | oklab(55.05% 0.1617 -0.0595) |
| OKLCH | oklch(55.05% 0.172 339.8) |
| XYZ | xyz(24.5681, 14.7155, 28.3290) |
| Luminance | 0.1471 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 4.51
Medium Purple
#9E43A2
ΔE00 5.86
Mediumvioletred
#C71585
ΔE00 5.87
Purpleish
#98568D
ΔE00 6.32
Purplish
#94568C
ΔE00 6.91
Light Plum
#9D5783
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3F91 #3FAF5D
analogous
#953FAF #AF3F91 #AF3F59
triadic
#AF3F91 #91AF3F #3F91AF
tetradic
#AF3F91 #AF953F #3FAF5D #3F59AF
square
#AF3F91 #AF953F #3FAF5D #3F59AF
split-complementary
#AF3F91 #59AF3F #3FAF95
monochromatic
#551F46 #822F6C #AF3F91 #C764AD #D791C5
Accessibility & contrast
On white
5.33
#AF3F91 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#AF3F91 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3F91
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3F91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3F91 | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#456093
Deuteranopia (green-blind)
#67728E
Tritanopia (blue-blind)
#B94262
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #af3f91; /* rgb */ color: rgb(175, 63, 145); /* oklch */ color: oklch(55.1% 0.172 339.8);
Tailwind
colors: {
custom: {
50: '#ca7bb1',
500: '#af3f91',
950: '#000000',
},
}SCSS
$custom: #af3f91; $custom-light: #ca7bb1; $custom-dark: #000000;
JSON
{
"hex": "#af3f91",
"rgb": {
"r": 175,
"g": 63,
"b": 145
},
"hsl": {
"h": 316.071,
"s": 47.059,
"l": 46.667
},
"oklch": {
"l": 0.55054,
"c": 0.17231,
"h": 339.8
},
"luminance": 0.14713
}Semantic roles & 50–950 ramp
primary
#AF3F91
secondary
#87C397
accent
#D77551
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#140A10
muted
#827C7F