#AF2552#AF2552
#AF2552 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.2% C 0.175 H 7.3°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2552 |
|---|---|
| RGB | rgb(175, 37, 82) |
| HSL | hsl(340, 65%, 42%) |
| HSV | hsv(340, 79%, 69%) |
| CMYK | cmyk(0%, 78.9%, 53.1%, 31.4%) |
| CIE-LAB | lab(39.66, 56.80, 8.63) |
| CIE-LCH | lch(39.66, 57.45, 8.64°) |
| OKLab | oklab(50.24% 0.1732 0.0222) |
| OKLCH | oklch(50.24% 0.175 7.3) |
| XYZ | xyz(19.8656, 11.0491, 9.0676) |
| Luminance | 0.1105 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.44
Raspberry (survey)
#B00149
ΔE00 2.74
Light Burgundy
#A8415B
ΔE00 4.53
Deep Pink
#CB0162
ΔE00 5.56
Violet Red
#A50055
ΔE00 5.65
Berry
#990F4B
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2552 #25AF82
analogous
#AF2597 #AF2552 #AF3D25
triadic
#AF2552 #52AF25 #2552AF
tetradic
#AF2552 #97AF25 #25AF82 #3D25AF
square
#AF2552 #97AF25 #25AF82 #3D25AF
split-complementary
#AF2552 #25AF3D #2597AF
monochromatic
#4A1023 #7C1A3A #AF2552 #D63C6E #E06E93
Accessibility & contrast
On white
6.54
#AF2552 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#AF2552 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2552
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2552 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2552 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494C53
Deuteranopia (green-blind)
#6D674F
Tritanopia (blue-blind)
#BF0039
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2552; /* rgb */ color: rgb(175, 37, 82); /* oklch */ color: oklch(50.2% 0.175 7.3);
Tailwind
colors: {
custom: {
50: '#cd6e82',
500: '#af2552',
950: '#000000',
},
}SCSS
$custom: #af2552; $custom-light: #cd6e82; $custom-dark: #000000;
JSON
{
"hex": "#af2552",
"rgb": {
"r": 175,
"g": 37,
"b": 82
},
"hsl": {
"h": 340.435,
"s": 65.094,
"l": 41.569
},
"oklch": {
"l": 0.50244,
"c": 0.1746,
"h": 7.3
},
"luminance": 0.11046
}Semantic roles & 50–950 ramp
primary
#AF2552
secondary
#69C7A8
accent
#E8B140
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C