#AF2160#AF2160
#AF2160 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.4% C 0.182 H 0.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2160 |
|---|---|
| RGB | rgb(175, 33, 96) |
| HSL | hsl(333, 68%, 41%) |
| HSV | hsv(333, 81%, 69%) |
| CMYK | cmyk(0%, 81.1%, 45.1%, 31.4%) |
| CIE-LAB | lab(39.66, 59.13, -0.25) |
| CIE-LCH | lch(39.66, 59.13, 359.75°) |
| OKLab | oklab(50.37% 0.1818 0) |
| OKLCH | oklch(50.37% 0.182 0) |
| XYZ | xyz(20.3360, 11.0490, 12.1259) |
| Luminance | 0.1105 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.75
Deep Magenta
#A0025C
ΔE00 4.91
Dark Fuchsia
#9D0759
ΔE00 5.08
Deep Pink
#CB0162
ΔE00 5.17
Purplish Red
#B0054B
ΔE00 5.20
Raspberry (survey)
#B00149
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2160 #21AF70
analogous
#AF21A7 #AF2160 #AF2921
triadic
#AF2160 #60AF21 #2160AF
tetradic
#AF2160 #A7AF21 #21AF70 #2921AF
square
#AF2160 #A7AF21 #21AF70 #2921AF
split-complementary
#AF2160 #21AF29 #21A7AF
monochromatic
#480E28 #7C1744 #AF2160 #D9347D #E3689E
Accessibility & contrast
On white
6.54
#AF2160 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#AF2160 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2160
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2160 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2160 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444C61
Deuteranopia (green-blind)
#6A675D
Tritanopia (blue-blind)
#BE003E
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2160; /* rgb */ color: rgb(175, 33, 96); /* oklch */ color: oklch(50.4% 0.182 0.0);
Tailwind
colors: {
custom: {
50: '#cd6d8d',
500: '#af2160',
950: '#000000',
},
}SCSS
$custom: #af2160; $custom-light: #cd6d8d; $custom-dark: #000000;
JSON
{
"hex": "#af2160",
"rgb": {
"r": 175,
"g": 33,
"b": 96
},
"hsl": {
"h": 333.38,
"s": 68.269,
"l": 40.784
},
"oklch": {
"l": 0.50373,
"c": 0.18181,
"h": 0
},
"luminance": 0.11046
}Semantic roles & 50–950 ramp
primary
#AF2160
secondary
#64C89C
accent
#EB9E3D
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D