#AE1F95#AE1F95
#AE1F95 is a mid, highly saturated pink. Relative luminance 0.121; OKLCH L 52.3% C 0.210 H 336.8°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #AE1F95 |
|---|---|
| RGB | rgb(174, 31, 149) |
| HSL | hsl(310, 70%, 40%) |
| HSV | hsv(310, 82%, 68%) |
| CMYK | cmyk(0%, 82.2%, 14.4%, 31.8%) |
| CIE-LAB | lab(41.45, 65.59, -30.42) |
| CIE-LCH | lch(41.45, 72.30, 335.12°) |
| OKLab | oklab(52.34% 0.1935 -0.0829) |
| OKLCH | oklch(52.34% 0.21 336.8) |
| XYZ | xyz(23.3708, 12.1508, 29.5425) |
| Luminance | 0.1215 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Barney Purple
#A00498
ΔE00 4.45
Warm Purple
#952E8F
ΔE00 4.48
Ugly Purple
#A442A0
ΔE00 5.14
Medium Purple
#9E43A2
ΔE00 5.85
Barney
#AC1DB8
ΔE00 6.31
Mediumvioletred
#C71585
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AE1F95 #1FAE38
analogous
#801FAE #AE1F95 #AE1F4D
triadic
#AE1F95 #95AE1F #1F95AE
tetradic
#AE1F95 #AE801F #1FAE38 #1F4DAE
square
#AE1F95 #AE801F #1FAE38 #1F4DAE
split-complementary
#AE1F95 #4DAE1F #1FAE80
monochromatic
#460C3C #7A1669 #AE1F95 #DA30BC #E364CD
Accessibility & contrast
On white
6.12
#AE1F95 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#AE1F95 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AE1F95
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AE1F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AE1F95 | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#245498
Deuteranopia (green-blind)
#596992
Tritanopia (blue-blind)
#B82B5A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #ae1f95; /* rgb */ color: rgb(174, 31, 149); /* oklch */ color: oklch(52.3% 0.210 336.8);
Tailwind
colors: {
custom: {
50: '#ca6eb4',
500: '#ae1f95',
950: '#000000',
},
}SCSS
$custom: #ae1f95; $custom-light: #ca6eb4; $custom-dark: #000000;
JSON
{
"hex": "#ae1f95",
"rgb": {
"r": 174,
"g": 31,
"b": 149
},
"hsl": {
"h": 310.49,
"s": 69.756,
"l": 40.196
},
"oklch": {
"l": 0.52338,
"c": 0.21048,
"h": 336.8
},
"luminance": 0.12149
}Semantic roles & 50–950 ramp
primary
#AE1F95
secondary
#60C873
accent
#ED5A3B
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80