#C52F62#C52F62
#C52F62 is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.3% C 0.188 H 5.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #C52F62 |
|---|---|
| RGB | rgb(197, 47, 98) |
| HSL | hsl(340, 61%, 48%) |
| HSV | hsv(340, 76%, 77%) |
| CMYK | cmyk(0%, 76.1%, 50.3%, 22.7%) |
| CIE-LAB | lab(45.34, 61.20, 7.22) |
| CIE-LCH | lch(45.34, 61.62, 6.73°) |
| OKLab | oklab(55.32% 0.187 0.0189) |
| OKLCH | oklch(55.32% 0.188 5.8) |
| XYZ | xyz(26.2494, 14.7888, 13.0252) |
| Luminance | 0.1479 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.18
Dark Hot Pink
#D90166
ΔE00 3.50
Dark Pink
#CB416B
ΔE00 3.66
Cerise
#DE0C62
ΔE00 4.26
Deep Rose
#C74767
ΔE00 4.49
Dark Rose
#B5485D
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C52F62 #2FC592
analogous
#C52FAD #C52F62 #C5472F
triadic
#C52F62 #62C52F #2F62C5
tetradic
#C52F62 #ADC52F #2FC592 #472FC5
square
#C52F62 #ADC52F #2FC592 #472FC5
split-complementary
#C52F62 #2FC547 #2FADC5
monochromatic
#621731 #942349 #C52F62 #D85A84 #E38BA9
Accessibility & contrast
On white
5.31
#C52F62 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#C52F62 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C52F62
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C52F62 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C52F62 | 1.00 | 5.31 | 3.96 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#555863
Deuteranopia (green-blind)
#7C765E
Tritanopia (blue-blind)
#D70245
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #c52f62; /* rgb */ color: rgb(197, 47, 98); /* oklch */ color: oklch(55.3% 0.188 5.8);
Tailwind
colors: {
custom: {
50: '#dd758e',
500: '#c52f62',
950: '#000000',
},
}SCSS
$custom: #c52f62; $custom-light: #dd758e; $custom-dark: #000000;
JSON
{
"hex": "#c52f62",
"rgb": {
"r": 197,
"g": 47,
"b": 98
},
"hsl": {
"h": 339.6,
"s": 61.475,
"l": 47.843
},
"oklch": {
"l": 0.55319,
"c": 0.18792,
"h": 5.8
},
"luminance": 0.14785
}Semantic roles & 50–950 ramp
primary
#C52F62
secondary
#82CDB4
accent
#E5AE43
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#16090C
muted
#847B7D