#AF2C56#AF2C56
#AF2C56 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.9% C 0.169 H 6.5°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2C56 |
|---|---|
| RGB | rgb(175, 44, 86) |
| HSL | hsl(341, 60%, 43%) |
| HSV | hsv(341, 75%, 69%) |
| CMYK | cmyk(0%, 74.9%, 50.9%, 31.4%) |
| CIE-LAB | lab(40.56, 54.91, 7.36) |
| CIE-LCH | lch(40.56, 55.40, 7.63°) |
| OKLab | oklab(50.94% 0.1675 0.0192) |
| OKLCH | oklch(50.94% 0.169 6.5) |
| XYZ | xyz(20.2614, 11.5900, 9.9725) |
| Luminance | 0.1159 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.49
Light Burgundy
#A8415B
ΔE00 3.65
Raspberry (survey)
#B00149
ΔE00 3.83
Deep Pink
#CB0162
ΔE00 5.28
Violet Red
#A50055
ΔE00 5.98
Light Maroon
#A24857
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2C56 #2CAF85
analogous
#AF2C97 #AF2C56 #AF432C
triadic
#AF2C56 #56AF2C #2C56AF
tetradic
#AF2C56 #97AF2C #2CAF85 #432CAF
square
#AF2C56 #97AF2C #2CAF85 #432CAF
split-complementary
#AF2C56 #2CAF43 #2C97AF
monochromatic
#4D1326 #7E203E #AF2C56 #D14773 #DD7899
Accessibility & contrast
On white
6.33
#AF2C56 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#AF2C56 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2C56
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2C56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2C56 | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4F57
Deuteranopia (green-blind)
#6F6953
Tritanopia (blue-blind)
#BF0C3E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2c56; /* rgb */ color: rgb(175, 44, 86); /* oklch */ color: oklch(50.9% 0.169 6.5);
Tailwind
colors: {
custom: {
50: '#cd7185',
500: '#af2c56',
950: '#000000',
},
}SCSS
$custom: #af2c56; $custom-light: #cd7185; $custom-dark: #000000;
JSON
{
"hex": "#af2c56",
"rgb": {
"r": 175,
"g": 44,
"b": 86
},
"hsl": {
"h": 340.763,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.50937,
"c": 0.16862,
"h": 6.5
},
"luminance": 0.11587
}Semantic roles & 50–950 ramp
primary
#AF2C56
secondary
#72C5AA
accent
#E3B045
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C