#AF2F57#AF2F57
#AF2F57 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.2% C 0.166 H 6.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F57 |
|---|---|
| RGB | rgb(175, 47, 87) |
| HSL | hsl(341, 58%, 44%) |
| HSV | hsv(341, 73%, 69%) |
| CMYK | cmyk(0%, 73.1%, 50.3%, 31.4%) |
| CIE-LAB | lab(40.96, 53.95, 7.30) |
| CIE-LCH | lch(40.96, 54.44, 7.70°) |
| OKLab | oklab(51.24% 0.1646 0.019) |
| OKLCH | oklch(51.24% 0.166 6.6) |
| XYZ | xyz(20.4178, 11.8379, 10.2247) |
| Luminance | 0.1183 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.24
Purplish Red
#B0054B
ΔE00 3.93
Raspberry (survey)
#B00149
ΔE00 4.24
Deep Pink
#CB0162
ΔE00 5.33
Light Maroon
#A24857
ΔE00 5.68
Dark Rose
#B5485D
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F57 #2FAF87
analogous
#AF2F97 #AF2F57 #AF472F
triadic
#AF2F57 #57AF2F #2F57AF
tetradic
#AF2F57 #97AF2F #2FAF87 #472FAF
square
#AF2F57 #97AF2F #2FAF87 #472FAF
split-complementary
#AF2F57 #2FAF47 #2F97AF
monochromatic
#4F1527 #7F223F #AF2F57 #CF4C75 #DC7C9A
Accessibility & contrast
On white
6.24
#AF2F57 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#AF2F57 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F57
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F57 | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E5058
Deuteranopia (green-blind)
#6F6A54
Tritanopia (blue-blind)
#BF1440
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af2f57; /* rgb */ color: rgb(175, 47, 87); /* oklch */ color: oklch(51.2% 0.166 6.6);
Tailwind
colors: {
custom: {
50: '#cd7286',
500: '#af2f57',
950: '#000000',
},
}SCSS
$custom: #af2f57; $custom-light: #cd7286; $custom-dark: #000000;
JSON
{
"hex": "#af2f57",
"rgb": {
"r": 175,
"g": 47,
"b": 87
},
"hsl": {
"h": 341.25,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.51241,
"c": 0.16565,
"h": 6.6
},
"luminance": 0.11835
}Semantic roles & 50–950 ramp
primary
#AF2F57
secondary
#75C4AC
accent
#E1B147
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14090B
muted
#837B7C