#AF2C57#AF2C57
#AF2C57 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.0% C 0.169 H 6.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2C57 |
|---|---|
| RGB | rgb(175, 44, 87) |
| HSL | hsl(340, 60%, 43%) |
| HSV | hsv(340, 75%, 69%) |
| CMYK | cmyk(0%, 74.9%, 50.3%, 31.4%) |
| CIE-LAB | lab(40.58, 54.99, 6.77) |
| CIE-LCH | lch(40.58, 55.41, 7.01°) |
| OKLab | oklab(50.97% 0.1679 0.0177) |
| OKLCH | oklch(50.97% 0.169 6) |
| XYZ | xyz(20.3019, 11.6062, 10.1861) |
| Luminance | 0.1160 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.60
Light Burgundy
#A8415B
ΔE00 3.70
Raspberry (survey)
#B00149
ΔE00 3.95
Deep Pink
#CB0162
ΔE00 5.17
Violet Red
#A50055
ΔE00 5.82
Light Maroon
#A24857
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2C57 #2CAF84
analogous
#AF2C98 #AF2C57 #AF422C
triadic
#AF2C57 #57AF2C #2C57AF
tetradic
#AF2C57 #98AF2C #2CAF84 #422CAF
square
#AF2C57 #98AF2C #2CAF84 #422CAF
split-complementary
#AF2C57 #2CAF42 #2C98AF
monochromatic
#4D1326 #7E203F #AF2C57 #D14774 #DD7899
Accessibility & contrast
On white
6.32
#AF2C57 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#AF2C57 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2C57
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2C57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2C57 | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4F58
Deuteranopia (green-blind)
#6E6954
Tritanopia (blue-blind)
#BF0D3E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2c57; /* rgb */ color: rgb(175, 44, 87); /* oklch */ color: oklch(51.0% 0.169 6.0);
Tailwind
colors: {
custom: {
50: '#cd7186',
500: '#af2c57',
950: '#000000',
},
}SCSS
$custom: #af2c57; $custom-light: #cd7186; $custom-dark: #000000;
JSON
{
"hex": "#af2c57",
"rgb": {
"r": 175,
"g": 44,
"b": 87
},
"hsl": {
"h": 340.305,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.50965,
"c": 0.16883,
"h": 6
},
"luminance": 0.11603
}Semantic roles & 50–950 ramp
primary
#AF2C57
secondary
#72C5AA
accent
#E3AF45
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C