#AF1E5F#AF1E5F
#AF1E5F is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.1% C 0.184 H 0.2°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #AF1E5F |
|---|---|
| RGB | rgb(175, 30, 95) |
| HSL | hsl(333, 71%, 40%) |
| HSV | hsv(333, 83%, 69%) |
| CMYK | cmyk(0%, 82.9%, 45.7%, 31.4%) |
| CIE-LAB | lab(39.36, 59.80, -0.06) |
| CIE-LCH | lch(39.36, 59.80, 359.95°) |
| OKLab | oklab(50.14% 0.184 0.0005) |
| OKLCH | oklch(50.14% 0.184 0.2) |
| XYZ | xyz(20.2107, 10.8715, 11.8584) |
| Luminance | 0.1087 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.46
Deep Magenta
#A0025C
ΔE00 4.72
Dark Fuchsia
#9D0759
ΔE00 4.88
Purplish Red
#B0054B
ΔE00 5.00
Deep Pink
#CB0162
ΔE00 5.22
Raspberry (survey)
#B00149
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF1E5F #1EAF6E
analogous
#AF1EA8 #AF1E5F #AF251E
triadic
#AF1E5F #5FAF1E #1E5FAF
tetradic
#AF1E5F #A8AF1E #1EAF6E #251EAF
square
#AF1E5F #A8AF1E #1EAF6E #251EAF
split-complementary
#AF1E5F #1EAF25 #1EA8AF
monochromatic
#470C26 #7B1543 #AF1E5F #DB2F7C #E4639D
Accessibility & contrast
On white
6.62
#AF1E5F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#AF1E5F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF1E5F
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF1E5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF1E5F | 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)
#434B60
Deuteranopia (green-blind)
#69665C
Tritanopia (blue-blind)
#BE003C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af1e5f; /* rgb */ color: rgb(175, 30, 95); /* oklch */ color: oklch(50.1% 0.184 0.2);
Tailwind
colors: {
custom: {
50: '#cd6c8c',
500: '#af1e5f',
950: '#000000',
},
}SCSS
$custom: #af1e5f; $custom-light: #cd6c8c; $custom-dark: #000000;
JSON
{
"hex": "#af1e5f",
"rgb": {
"r": 175,
"g": 30,
"b": 95
},
"hsl": {
"h": 333.103,
"s": 70.732,
"l": 40.196
},
"oklch": {
"l": 0.50143,
"c": 0.18395,
"h": 0.2
},
"luminance": 0.10869
}Semantic roles & 50–950 ramp
primary
#AF1E5F
secondary
#60C99A
accent
#ED9D3A
background
#FDF6F8
surface
#FAECF0
border
#D3C7CB
text
#15080C
muted
#837A7D