#C52F5E#C52F5E
#C52F5E is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.2% C 0.187 H 7.6°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #C52F5E |
|---|---|
| RGB | rgb(197, 47, 94) |
| HSL | hsl(341, 61%, 48%) |
| HSV | hsv(341, 76%, 77%) |
| CMYK | cmyk(0%, 76.1%, 52.3%, 22.7%) |
| CIE-LAB | lab(45.24, 60.87, 9.55) |
| CIE-LCH | lch(45.24, 61.62, 8.92°) |
| OKLab | oklab(55.21% 0.1855 0.0246) |
| OKLCH | oklch(55.21% 0.187 7.6) |
| XYZ | xyz(26.0652, 14.7152, 12.0553) |
| Luminance | 0.1471 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.80
Dark Pink
#CB416B
ΔE00 3.89
Dark Hot Pink
#D90166
ΔE00 3.93
Cerise
#DE0C62
ΔE00 4.18
Deep Rose
#C74767
ΔE00 4.29
Dark Rose
#B5485D
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C52F5E #2FC596
analogous
#C52FA9 #C52F5E #C54B2F
triadic
#C52F5E #5EC52F #2F5EC5
tetradic
#C52F5E #A9C52F #2FC596 #4B2FC5
square
#C52F5E #A9C52F #2FC596 #4B2FC5
split-complementary
#C52F5E #2FC54B #2FA9C5
monochromatic
#62172F #942346 #C52F5E #D85A81 #E38BA7
Accessibility & contrast
On white
5.33
#C52F5E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#C52F5E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C52F5E
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C52F5E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C52F5E | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#56585F
Deuteranopia (green-blind)
#7D765A
Tritanopia (blue-blind)
#D70043
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #c52f5e; /* rgb */ color: rgb(197, 47, 94); /* oklch */ color: oklch(55.2% 0.187 7.6);
Tailwind
colors: {
custom: {
50: '#dd758b',
500: '#c52f5e',
950: '#000000',
},
}SCSS
$custom: #c52f5e; $custom-light: #dd758b; $custom-dark: #000000;
JSON
{
"hex": "#c52f5e",
"rgb": {
"r": 197,
"g": 47,
"b": 94
},
"hsl": {
"h": 341.2,
"s": 61.475,
"l": 47.843
},
"oklch": {
"l": 0.55211,
"c": 0.18712,
"h": 7.6
},
"luminance": 0.14711
}Semantic roles & 50–950 ramp
primary
#C52F5E
secondary
#82CDB6
accent
#E5B243
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#16090B
muted
#847B7C