#C52872#C52872
#C52872 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.3% C 0.199 H 357.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #C52872 |
|---|---|
| RGB | rgb(197, 40, 114) |
| HSL | hsl(332, 66%, 46%) |
| HSV | hsv(332, 80%, 77%) |
| CMYK | cmyk(0%, 79.7%, 42.1%, 22.7%) |
| CIE-LAB | lab(45.09, 64.65, -3.04) |
| CIE-LCH | lch(45.09, 64.72, 357.30°) |
| OKLab | oklab(55.28% 0.1989 -0.0072) |
| OKLCH | oklch(55.28% 0.199 357.9) |
| XYZ | xyz(26.8241, 14.6064, 17.3231) |
| Luminance | 0.1460 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.98
Magenta (survey)
#C20078
ΔE00 4.12
Mediumvioletred
#C71585
ΔE00 4.96
Dark Hot Pink
#D90166
ΔE00 5.05
Dark Pink
#CB416B
ΔE00 6.29
Cerise
#DE0C62
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C52872 #28C57B
analogous
#C528C1 #C52872 #C52D28
triadic
#C52872 #72C528 #2872C5
tetradic
#C52872 #C1C528 #28C57B #2D28C5
square
#C52872 #C1C528 #28C57B #2D28C5
split-complementary
#C52872 #28C52D #28C1C5
monochromatic
#5F1337 #921E55 #C52872 #DB4F91 #E682B1
Accessibility & contrast
On white
5.36
#C52872 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#C52872 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C52872
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C52872 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C52872 | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C5874
Deuteranopia (green-blind)
#77756E
Tritanopia (blue-blind)
#D6034A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #c52872; /* rgb */ color: rgb(197, 40, 114); /* oklch */ color: oklch(55.3% 0.199 357.9);
Tailwind
colors: {
custom: {
50: '#dc739a',
500: '#c52872',
950: '#000000',
},
}SCSS
$custom: #c52872; $custom-light: #dc739a; $custom-dark: #000000;
JSON
{
"hex": "#c52872",
"rgb": {
"r": 197,
"g": 40,
"b": 114
},
"hsl": {
"h": 331.72,
"s": 66.245,
"l": 46.471
},
"oklch": {
"l": 0.55284,
"c": 0.19904,
"h": 357.9
},
"luminance": 0.14603
}Semantic roles & 50–950 ramp
primary
#C52872
secondary
#7ACEA7
accent
#E9993F
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090E
muted
#847B7E