#AF2C52#AF2C52
#AF2C52 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.8% C 0.168 H 8.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2C52 |
|---|---|
| RGB | rgb(175, 44, 82) |
| HSL | hsl(343, 60%, 43%) |
| HSV | hsv(343, 75%, 69%) |
| CMYK | cmyk(0%, 74.9%, 53.1%, 31.4%) |
| CIE-LAB | lab(40.45, 54.57, 9.74) |
| CIE-LCH | lch(40.45, 55.44, 10.12°) |
| OKLab | oklab(50.83% 0.166 0.025) |
| OKLCH | oklch(50.83% 0.168 8.5) |
| XYZ | xyz(20.1047, 11.5273, 9.1473) |
| Luminance | 0.1153 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.35
Raspberry (survey)
#B00149
ΔE00 3.54
Light Burgundy
#A8415B
ΔE00 3.72
Light Maroon
#A24857
ΔE00 5.64
Dark Rose
#B5485D
ΔE00 5.85
Deep Pink
#CB0162
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2C52 #2CAF89
analogous
#AF2C94 #AF2C52 #AF472C
triadic
#AF2C52 #52AF2C #2C52AF
tetradic
#AF2C52 #94AF2C #2CAF89 #472CAF
square
#AF2C52 #94AF2C #2CAF89 #472CAF
split-complementary
#AF2C52 #2CAF47 #2C94AF
monochromatic
#4D1324 #7E203B #AF2C52 #D1476F #DD7896
Accessibility & contrast
On white
6.35
#AF2C52 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#AF2C52 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2C52
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2C52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2C52 | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4F53
Deuteranopia (green-blind)
#6F694F
Tritanopia (blue-blind)
#BF083C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2c52; /* rgb */ color: rgb(175, 44, 82); /* oklch */ color: oklch(50.8% 0.168 8.5);
Tailwind
colors: {
custom: {
50: '#cd7182',
500: '#af2c52',
950: '#000000',
},
}SCSS
$custom: #af2c52; $custom-light: #cd7182; $custom-dark: #000000;
JSON
{
"hex": "#af2c52",
"rgb": {
"r": 175,
"g": 44,
"b": 82
},
"hsl": {
"h": 342.595,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.50828,
"c": 0.16786,
"h": 8.5
},
"luminance": 0.11525
}Semantic roles & 50–950 ramp
primary
#AF2C52
secondary
#72C5AD
accent
#E3B545
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C