#AF2C58#AF2C58
#AF2C58 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.0% C 0.169 H 5.5°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2C58 |
|---|---|
| RGB | rgb(175, 44, 88) |
| HSL | hsl(340, 60%, 43%) |
| HSV | hsv(340, 75%, 69%) |
| CMYK | cmyk(0%, 74.9%, 49.7%, 31.4%) |
| CIE-LAB | lab(40.61, 55.08, 6.17) |
| CIE-LCH | lch(40.61, 55.42, 6.39°) |
| OKLab | oklab(50.99% 0.1683 0.0162) |
| OKLCH | oklch(50.99% 0.169 5.5) |
| XYZ | xyz(20.3431, 11.6227, 10.4028) |
| Luminance | 0.1162 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.72
Light Burgundy
#A8415B
ΔE00 3.76
Raspberry (survey)
#B00149
ΔE00 4.10
Deep Pink
#CB0162
ΔE00 5.07
Violet Red
#A50055
ΔE00 5.67
Light Maroon
#A24857
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2C58 #2CAF83
analogous
#AF2C99 #AF2C58 #AF412C
triadic
#AF2C58 #58AF2C #2C58AF
tetradic
#AF2C58 #99AF2C #2CAF83 #412CAF
square
#AF2C58 #99AF2C #2CAF83 #412CAF
split-complementary
#AF2C58 #2CAF41 #2C99AF
monochromatic
#4D1327 #7E203F #AF2C58 #D14776 #DD789A
Accessibility & contrast
On white
6.32
#AF2C58 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#AF2C58 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2C58
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2C58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2C58 | 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)
#4C4F59
Deuteranopia (green-blind)
#6E6955
Tritanopia (blue-blind)
#BF0E3F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2c58; /* rgb */ color: rgb(175, 44, 88); /* oklch */ color: oklch(51.0% 0.169 5.5);
Tailwind
colors: {
custom: {
50: '#cd7186',
500: '#af2c58',
950: '#000000',
},
}SCSS
$custom: #af2c58; $custom-light: #cd7186; $custom-dark: #000000;
JSON
{
"hex": "#af2c58",
"rgb": {
"r": 175,
"g": 44,
"b": 88
},
"hsl": {
"h": 339.847,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.50993,
"c": 0.16905,
"h": 5.5
},
"luminance": 0.1162
}Semantic roles & 50–950 ramp
primary
#AF2C58
secondary
#72C5A9
accent
#E3AE45
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C