#AF2C5E#AF2C5E
#AF2C5E is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.2% C 0.171 H 2.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2C5E |
|---|---|
| RGB | rgb(175, 44, 94) |
| HSL | hsl(337, 60%, 43%) |
| HSV | hsv(337, 75%, 69%) |
| CMYK | cmyk(0%, 74.9%, 46.3%, 31.4%) |
| CIE-LAB | lab(40.78, 55.62, 2.63) |
| CIE-LCH | lch(40.78, 55.68, 2.71°) |
| OKLab | oklab(51.17% 0.1705 0.0074) |
| OKLCH | oklch(51.17% 0.171 2.5) |
| XYZ | xyz(20.6019, 11.7262, 11.7660) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.53
Purplish Red
#B0054B
ΔE00 4.78
Deep Pink
#CB0162
ΔE00 4.82
Violet Red
#A50055
ΔE00 5.08
Raspberry (survey)
#B00149
ΔE00 5.24
Berry
#990F4B
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2C5E #2CAF7D
analogous
#AF2C9F #AF2C5E #AF3B2C
triadic
#AF2C5E #5EAF2C #2C5EAF
tetradic
#AF2C5E #9FAF2C #2CAF7D #3B2CAF
square
#AF2C5E #9FAF2C #2CAF7D #3B2CAF
split-complementary
#AF2C5E #2CAF3B #2C9FAF
monochromatic
#4D1329 #7E2044 #AF2C5E #D1477C #DD789F
Accessibility & contrast
On white
6.28
#AF2C5E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#AF2C5E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2C5E
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2C5E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2C5E | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A505F
Deuteranopia (green-blind)
#6D695B
Tritanopia (blue-blind)
#BE1341
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2c5e; /* rgb */ color: rgb(175, 44, 94); /* oklch */ color: oklch(51.2% 0.171 2.5);
Tailwind
colors: {
custom: {
50: '#cc718b',
500: '#af2c5e',
950: '#000000',
},
}SCSS
$custom: #af2c5e; $custom-light: #cc718b; $custom-dark: #000000;
JSON
{
"hex": "#af2c5e",
"rgb": {
"r": 175,
"g": 44,
"b": 94
},
"hsl": {
"h": 337.099,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.51172,
"c": 0.17061,
"h": 2.5
},
"luminance": 0.11723
}Semantic roles & 50–950 ramp
primary
#AF2C5E
secondary
#72C5A5
accent
#E3A745
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D