#AF1E5A#AF1E5A
#AF1E5A is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.182 H 2.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #AF1E5A |
|---|---|
| RGB | rgb(175, 30, 90) |
| HSL | hsl(335, 71%, 40%) |
| HSV | hsv(335, 83%, 69%) |
| CMYK | cmyk(0%, 82.9%, 48.6%, 31.4%) |
| CIE-LAB | lab(39.21, 59.36, 2.90) |
| CIE-LCH | lch(39.21, 59.43, 2.80°) |
| OKLab | oklab(49.99% 0.1823 0.0081) |
| OKLCH | oklch(49.99% 0.182 2.5) |
| XYZ | xyz(19.9907, 10.7835, 10.6996) |
| Luminance | 0.1078 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.57
Purplish Red
#B0054B
ΔE00 3.72
Raspberry (survey)
#B00149
ΔE00 4.21
Deep Pink
#CB0162
ΔE00 5.01
Berry
#990F4B
ΔE00 5.15
Deep Magenta
#A0025C
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF1E5A #1EAF73
analogous
#AF1EA3 #AF1E5A #AF2A1E
triadic
#AF1E5A #5AAF1E #1E5AAF
tetradic
#AF1E5A #A3AF1E #1EAF73 #2A1EAF
square
#AF1E5A #A3AF1E #1EAF73 #2A1EAF
split-complementary
#AF1E5A #1EAF2A #1EA3AF
monochromatic
#470C24 #7B153F #AF1E5A #DB2F76 #E46399
Accessibility & contrast
On white
6.65
#AF1E5A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#AF1E5A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF1E5A
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF1E5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF1E5A | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444B5B
Deuteranopia (green-blind)
#6A6657
Tritanopia (blue-blind)
#BF003A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af1e5a; /* rgb */ color: rgb(175, 30, 90); /* oklch */ color: oklch(50.0% 0.182 2.5);
Tailwind
colors: {
custom: {
50: '#cd6c88',
500: '#af1e5a',
950: '#000000',
},
}SCSS
$custom: #af1e5a; $custom-light: #cd6c88; $custom-dark: #000000;
JSON
{
"hex": "#af1e5a",
"rgb": {
"r": 175,
"g": 30,
"b": 90
},
"hsl": {
"h": 335.172,
"s": 70.732,
"l": 40.196
},
"oklch": {
"l": 0.49985,
"c": 0.18243,
"h": 2.5
},
"luminance": 0.10781
}Semantic roles & 50–950 ramp
primary
#AF1E5A
secondary
#60C99D
accent
#EDA33A
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#15080B
muted
#837A7C