#AF2159#AF2159
#AF2159 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.180 H 3.4°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2159 |
|---|---|
| RGB | rgb(175, 33, 89) |
| HSL | hsl(336, 68%, 41%) |
| HSV | hsv(336, 81%, 69%) |
| CMYK | cmyk(0%, 81.1%, 49.1%, 31.4%) |
| CIE-LAB | lab(39.45, 58.50, 3.89) |
| CIE-LCH | lch(39.45, 58.63, 3.80°) |
| OKLab | oklab(50.15% 0.1794 0.0105) |
| OKLCH | oklch(50.15% 0.18 3.4) |
| XYZ | xyz(20.0280, 10.9257, 10.5035) |
| Luminance | 0.1092 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.45
Raspberry (survey)
#B00149
ΔE00 3.94
Violet Red
#A50055
ΔE00 3.99
Deep Pink
#CB0162
ΔE00 4.94
Berry
#990F4B
ΔE00 5.31
Light Burgundy
#A8415B
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2159 #21AF77
analogous
#AF21A0 #AF2159 #AF3021
triadic
#AF2159 #59AF21 #2159AF
tetradic
#AF2159 #A0AF21 #21AF77 #3021AF
square
#AF2159 #A0AF21 #21AF77 #3021AF
split-complementary
#AF2159 #21AF30 #21A0AF
monochromatic
#480E25 #7C173F #AF2159 #D93475 #E36898
Accessibility & contrast
On white
6.59
#AF2159 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#AF2159 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2159
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2159 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2159 | 1.00 | 6.59 | 3.18 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464B5A
Deuteranopia (green-blind)
#6B6756
Tritanopia (blue-blind)
#BF003A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2159; /* rgb */ color: rgb(175, 33, 89); /* oklch */ color: oklch(50.2% 0.180 3.4);
Tailwind
colors: {
custom: {
50: '#cd6d87',
500: '#af2159',
950: '#000000',
},
}SCSS
$custom: #af2159; $custom-light: #cd6d87; $custom-dark: #000000;
JSON
{
"hex": "#af2159",
"rgb": {
"r": 175,
"g": 33,
"b": 89
},
"hsl": {
"h": 336.338,
"s": 68.269,
"l": 40.784
},
"oklch": {
"l": 0.50153,
"c": 0.17971,
"h": 3.4
},
"luminance": 0.10923
}Semantic roles & 50–950 ramp
primary
#AF2159
secondary
#64C8A1
accent
#EBA63D
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C