#AF3E92#AF3E92
#AF3E92 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.0% C 0.174 H 339.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3E92 |
|---|---|
| RGB | rgb(175, 62, 146) |
| HSL | hsl(315, 48%, 46%) |
| HSV | hsv(315, 65%, 69%) |
| CMYK | cmyk(0%, 64.6%, 16.6%, 31.4%) |
| CIE-LAB | lab(45.13, 55.10, -22.86) |
| CIE-LCH | lch(45.13, 59.65, 337.47°) |
| OKLab | oklab(54.99% 0.1632 -0.0617) |
| OKLCH | oklch(54.99% 0.174 339.3) |
| XYZ | xyz(24.5906, 14.6367, 28.7186) |
| Luminance | 0.1464 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 4.27
Medium Purple
#9E43A2
ΔE00 5.62
Mediumvioletred
#C71585
ΔE00 5.93
Purpleish
#98568D
ΔE00 6.46
Purplish
#94568C
ΔE00 7.03
Warm Purple
#952E8F
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3E92 #3EAF5B
analogous
#943EAF #AF3E92 #AF3E5A
triadic
#AF3E92 #92AF3E #3E92AF
tetradic
#AF3E92 #AF943E #3EAF5B #3E5AAF
square
#AF3E92 #AF943E #3EAF5B #3E5AAF
split-complementary
#AF3E92 #5AAF3E #3EAF94
monochromatic
#551E47 #822E6C #AF3E92 #C863AE #D890C5
Accessibility & contrast
On white
5.35
#AF3E92 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#AF3E92 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3E92
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3E92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3E92 | 1.00 | 5.35 | 3.93 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#445F95
Deuteranopia (green-blind)
#66718F
Tritanopia (blue-blind)
#B94162
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #af3e92; /* rgb */ color: rgb(175, 62, 146); /* oklch */ color: oklch(55.0% 0.174 339.3);
Tailwind
colors: {
custom: {
50: '#ca7bb2',
500: '#af3e92',
950: '#000000',
},
}SCSS
$custom: #af3e92; $custom-light: #ca7bb2; $custom-dark: #000000;
JSON
{
"hex": "#af3e92",
"rgb": {
"r": 175,
"g": 62,
"b": 146
},
"hsl": {
"h": 315.398,
"s": 47.679,
"l": 46.471
},
"oklch": {
"l": 0.54988,
"c": 0.17442,
"h": 339.3
},
"luminance": 0.14635
}Semantic roles & 50–950 ramp
primary
#AF3E92
secondary
#86C396
accent
#D77351
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#140A11
muted
#827C80