#AF215F#AF215F
#AF215F is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.3% C 0.181 H 0.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #AF215F |
|---|---|
| RGB | rgb(175, 33, 95) |
| HSL | hsl(334, 68%, 41%) |
| HSV | hsv(334, 81%, 69%) |
| CMYK | cmyk(0%, 81.1%, 45.7%, 31.4%) |
| CIE-LAB | lab(39.63, 59.03, 0.34) |
| CIE-LCH | lch(39.63, 59.03, 0.33°) |
| OKLab | oklab(50.34% 0.1815 0.0015) |
| OKLCH | oklch(50.34% 0.181 0.5) |
| XYZ | xyz(20.2903, 11.0307, 11.8849) |
| Luminance | 0.1103 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.72
Purplish Red
#B0054B
ΔE00 4.95
Deep Magenta
#A0025C
ΔE00 5.03
Deep Pink
#CB0162
ΔE00 5.10
Dark Fuchsia
#9D0759
ΔE00 5.16
Raspberry (survey)
#B00149
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF215F #21AF71
analogous
#AF21A6 #AF215F #AF2A21
triadic
#AF215F #5FAF21 #215FAF
tetradic
#AF215F #A6AF21 #21AF71 #2A21AF
square
#AF215F #A6AF21 #21AF71 #2A21AF
split-complementary
#AF215F #21AF2A #21A6AF
monochromatic
#480E27 #7C1743 #AF215F #D9347C #E3689D
Accessibility & contrast
On white
6.55
#AF215F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#AF215F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF215F
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF215F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF215F | 1.00 | 6.55 | 3.21 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444C60
Deuteranopia (green-blind)
#6A675C
Tritanopia (blue-blind)
#BE003D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af215f; /* rgb */ color: rgb(175, 33, 95); /* oklch */ color: oklch(50.3% 0.181 0.5);
Tailwind
colors: {
custom: {
50: '#cd6d8c',
500: '#af215f',
950: '#000000',
},
}SCSS
$custom: #af215f; $custom-light: #cd6d8c; $custom-dark: #000000;
JSON
{
"hex": "#af215f",
"rgb": {
"r": 175,
"g": 33,
"b": 95
},
"hsl": {
"h": 333.803,
"s": 68.269,
"l": 40.784
},
"oklch": {
"l": 0.5034,
"c": 0.18149,
"h": 0.5
},
"luminance": 0.11028
}Semantic roles & 50–950 ramp
primary
#AF215F
secondary
#64C89C
accent
#EB9F3D
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D