#AF3E91#AF3E91
#AF3E91 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.9% C 0.174 H 339.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3E91 |
|---|---|
| RGB | rgb(175, 62, 145) |
| HSL | hsl(316, 48%, 46%) |
| HSV | hsv(316, 65%, 69%) |
| CMYK | cmyk(0%, 64.6%, 17.1%, 31.4%) |
| CIE-LAB | lab(45.09, 54.95, -22.33) |
| CIE-LCH | lch(45.09, 59.31, 337.89°) |
| OKLab | oklab(54.94% 0.163 -0.0601) |
| OKLCH | oklch(54.94% 0.174 339.7) |
| XYZ | xyz(24.5132, 14.6057, 28.3107) |
| Luminance | 0.1460 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 4.46
Medium Purple
#9E43A2
ΔE00 5.80
Mediumvioletred
#C71585
ΔE00 5.81
Purpleish
#98568D
ΔE00 6.45
Purplish
#94568C
ΔE00 7.02
Warm Purple
#952E8F
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3E91 #3EAF5C
analogous
#953EAF #AF3E91 #AF3E59
triadic
#AF3E91 #91AF3E #3E91AF
tetradic
#AF3E91 #AF953E #3EAF5C #3E59AF
square
#AF3E91 #AF953E #3EAF5C #3E59AF
split-complementary
#AF3E91 #59AF3E #3EAF95
monochromatic
#551E46 #822E6C #AF3E91 #C863AD #D890C5
Accessibility & contrast
On white
5.36
#AF3E91 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#AF3E91 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3E91
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3E91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3E91 | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#445F93
Deuteranopia (green-blind)
#67718E
Tritanopia (blue-blind)
#B94162
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #af3e91; /* rgb */ color: rgb(175, 62, 145); /* oklch */ color: oklch(54.9% 0.174 339.7);
Tailwind
colors: {
custom: {
50: '#ca7bb1',
500: '#af3e91',
950: '#000000',
},
}SCSS
$custom: #af3e91; $custom-light: #ca7bb1; $custom-dark: #000000;
JSON
{
"hex": "#af3e91",
"rgb": {
"r": 175,
"g": 62,
"b": 145
},
"hsl": {
"h": 315.929,
"s": 47.679,
"l": 46.471
},
"oklch": {
"l": 0.54942,
"c": 0.17372,
"h": 339.7
},
"luminance": 0.14604
}Semantic roles & 50–950 ramp
primary
#AF3E91
secondary
#86C396
accent
#D77451
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#140A10
muted
#827C7F