#AF2D57#AF2D57
#AF2D57 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.1% C 0.168 H 6.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2D57 |
|---|---|
| RGB | rgb(175, 45, 87) |
| HSL | hsl(341, 59%, 43%) |
| HSV | hsv(341, 74%, 69%) |
| CMYK | cmyk(0%, 74.3%, 50.3%, 31.4%) |
| CIE-LAB | lab(40.71, 54.65, 6.94) |
| CIE-LCH | lch(40.71, 55.09, 7.24°) |
| OKLab | oklab(51.05% 0.1668 0.0181) |
| OKLCH | oklch(51.05% 0.168 6.2) |
| XYZ | xyz(20.3396, 11.6816, 10.1987) |
| Luminance | 0.1168 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.55
Purplish Red
#B0054B
ΔE00 3.70
Raspberry (survey)
#B00149
ΔE00 4.04
Deep Pink
#CB0162
ΔE00 5.22
Violet Red
#A50055
ΔE00 5.99
Light Maroon
#A24857
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2D57 #2DAF85
analogous
#AF2D98 #AF2D57 #AF442D
triadic
#AF2D57 #57AF2D #2D57AF
tetradic
#AF2D57 #98AF2D #2DAF85 #442DAF
square
#AF2D57 #98AF2D #2DAF85 #442DAF
split-complementary
#AF2D57 #2DAF44 #2D98AF
monochromatic
#4E1427 #7E203F #AF2D57 #D04975 #DD7A9A
Accessibility & contrast
On white
6.30
#AF2D57 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#AF2D57 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2D57
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2D57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2D57 | 1.00 | 6.30 | 3.34 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4F58
Deuteranopia (green-blind)
#6F6954
Tritanopia (blue-blind)
#BF0F3F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2d57; /* rgb */ color: rgb(175, 45, 87); /* oklch */ color: oklch(51.1% 0.168 6.2);
Tailwind
colors: {
custom: {
50: '#cd7186',
500: '#af2d57',
950: '#000000',
},
}SCSS
$custom: #af2d57; $custom-light: #cd7186; $custom-dark: #000000;
JSON
{
"hex": "#af2d57",
"rgb": {
"r": 175,
"g": 45,
"b": 87
},
"hsl": {
"h": 340.615,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.51055,
"c": 0.16778,
"h": 6.2
},
"luminance": 0.11679
}Semantic roles & 50–950 ramp
primary
#AF2D57
secondary
#73C5AA
accent
#E2B046
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C