#C52F5F#C52F5F
#C52F5F is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.2% C 0.187 H 7.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #C52F5F |
|---|---|
| RGB | rgb(197, 47, 95) |
| HSL | hsl(341, 61%, 48%) |
| HSV | hsv(341, 76%, 77%) |
| CMYK | cmyk(0%, 76.1%, 51.8%, 22.7%) |
| CIE-LAB | lab(45.27, 60.95, 8.97) |
| CIE-LCH | lch(45.27, 61.61, 8.37°) |
| OKLab | oklab(55.24% 0.1859 0.0232) |
| OKLCH | oklch(55.24% 0.187 7.1) |
| XYZ | xyz(26.1104, 14.7332, 12.2931) |
| Luminance | 0.1473 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.62
Dark Hot Pink
#D90166
ΔE00 3.80
Dark Pink
#CB416B
ΔE00 3.80
Cerise
#DE0C62
ΔE00 4.17
Deep Rose
#C74767
ΔE00 4.32
Dark Rose
#B5485D
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C52F5F #2FC595
analogous
#C52FAA #C52F5F #C54A2F
triadic
#C52F5F #5FC52F #2F5FC5
tetradic
#C52F5F #AAC52F #2FC595 #4A2FC5
square
#C52F5F #AAC52F #2FC595 #4A2FC5
split-complementary
#C52F5F #2FC54A #2FAAC5
monochromatic
#62172F #942347 #C52F5F #D85A82 #E38BA7
Accessibility & contrast
On white
5.32
#C52F5F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#C52F5F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C52F5F
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C52F5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C52F5F | 1.00 | 5.32 | 3.95 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#555860
Deuteranopia (green-blind)
#7D765B
Tritanopia (blue-blind)
#D70044
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #c52f5f; /* rgb */ color: rgb(197, 47, 95); /* oklch */ color: oklch(55.2% 0.187 7.1);
Tailwind
colors: {
custom: {
50: '#dd758c',
500: '#c52f5f',
950: '#000000',
},
}SCSS
$custom: #c52f5f; $custom-light: #dd758c; $custom-dark: #000000;
JSON
{
"hex": "#c52f5f",
"rgb": {
"r": 197,
"g": 47,
"b": 95
},
"hsl": {
"h": 340.8,
"s": 61.475,
"l": 47.843
},
"oklch": {
"l": 0.55238,
"c": 0.18731,
"h": 7.1
},
"luminance": 0.1473
}Semantic roles & 50–950 ramp
primary
#C52F5F
secondary
#82CDB5
accent
#E5B143
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#16090C
muted
#847B7D