#AF1E5E#AF1E5E
#AF1E5E is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.1% C 0.184 H 0.6°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #AF1E5E |
|---|---|
| RGB | rgb(175, 30, 94) |
| HSL | hsl(334, 71%, 40%) |
| HSV | hsv(334, 83%, 69%) |
| CMYK | cmyk(0%, 82.9%, 46.3%, 31.4%) |
| CIE-LAB | lab(39.33, 59.71, 0.53) |
| CIE-LCH | lch(39.33, 59.71, 0.51°) |
| OKLab | oklab(50.11% 0.1836 0.002) |
| OKLCH | oklch(50.11% 0.184 0.6) |
| XYZ | xyz(20.1655, 10.8534, 11.6206) |
| Luminance | 0.1085 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.44
Purplish Red
#B0054B
ΔE00 4.75
Deep Magenta
#A0025C
ΔE00 4.84
Dark Fuchsia
#9D0759
ΔE00 4.97
Deep Pink
#CB0162
ΔE00 5.15
Raspberry (survey)
#B00149
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF1E5E #1EAF6F
analogous
#AF1EA7 #AF1E5E #AF261E
triadic
#AF1E5E #5EAF1E #1E5EAF
tetradic
#AF1E5E #A7AF1E #1EAF6F #261EAF
square
#AF1E5E #A7AF1E #1EAF6F #261EAF
split-complementary
#AF1E5E #1EAF26 #1EA7AF
monochromatic
#470C26 #7B1542 #AF1E5E #DB2F7B #E4639C
Accessibility & contrast
On white
6.62
#AF1E5E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#AF1E5E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF1E5E
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF1E5E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF1E5E | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434B5F
Deuteranopia (green-blind)
#6A665B
Tritanopia (blue-blind)
#BE003C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af1e5e; /* rgb */ color: rgb(175, 30, 94); /* oklch */ color: oklch(50.1% 0.184 0.6);
Tailwind
colors: {
custom: {
50: '#cd6c8b',
500: '#af1e5e',
950: '#000000',
},
}SCSS
$custom: #af1e5e; $custom-light: #cd6c8b; $custom-dark: #000000;
JSON
{
"hex": "#af1e5e",
"rgb": {
"r": 175,
"g": 30,
"b": 94
},
"hsl": {
"h": 333.517,
"s": 70.732,
"l": 40.196
},
"oklch": {
"l": 0.50111,
"c": 0.18363,
"h": 0.6
},
"luminance": 0.10851
}Semantic roles & 50–950 ramp
primary
#AF1E5E
secondary
#60C99B
accent
#ED9E3A
background
#FDF6F8
surface
#FAECF0
border
#D3C7CB
text
#15080C
muted
#837A7D