#C52F6A#C52F6A
#C52F6A is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.6% C 0.190 H 2.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #C52F6A |
|---|---|
| RGB | rgb(197, 47, 106) |
| HSL | hsl(336, 61%, 48%) |
| HSV | hsv(336, 76%, 77%) |
| CMYK | cmyk(0%, 76.1%, 46.2%, 22.7%) |
| CIE-LAB | lab(45.56, 61.89, 2.58) |
| CIE-LCH | lch(45.56, 61.94, 2.39°) |
| OKLab | oklab(55.55% 0.1898 0.0073) |
| OKLCH | oklch(55.55% 0.19 2.2) |
| XYZ | xyz(26.6462, 14.9475, 15.1149) |
| Luminance | 0.1494 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.02
Dark Hot Pink
#D90166
ΔE00 3.65
Dark Pink
#CB416B
ΔE00 4.14
Cerise
#DE0C62
ΔE00 5.17
Deep Rose
#C74767
ΔE00 5.51
Light Burgundy
#A8415B
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C52F6A #2FC58A
analogous
#C52FB5 #C52F6A #C53F2F
triadic
#C52F6A #6AC52F #2F6AC5
tetradic
#C52F6A #B5C52F #2FC58A #3F2FC5
square
#C52F6A #B5C52F #2FC58A #3F2FC5
split-complementary
#C52F6A #2FC53F #2FB5C5
monochromatic
#621735 #94234F #C52F6A #D85A8B #E38BAE
Accessibility & contrast
On white
5.26
#C52F6A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#C52F6A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C52F6A
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C52F6A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C52F6A | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#52596B
Deuteranopia (green-blind)
#7B7667
Tritanopia (blue-blind)
#D60D49
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #c52f6a; /* rgb */ color: rgb(197, 47, 106); /* oklch */ color: oklch(55.6% 0.190 2.2);
Tailwind
colors: {
custom: {
50: '#dc7694',
500: '#c52f6a',
950: '#000000',
},
}SCSS
$custom: #c52f6a; $custom-light: #dc7694; $custom-dark: #000000;
JSON
{
"hex": "#c52f6a",
"rgb": {
"r": 197,
"g": 47,
"b": 106
},
"hsl": {
"h": 336.4,
"s": 61.475,
"l": 47.843
},
"oklch": {
"l": 0.55552,
"c": 0.18994,
"h": 2.2
},
"luminance": 0.14944
}Semantic roles & 50–950 ramp
primary
#C52F6A
secondary
#82CDB0
accent
#E5A543
background
#FEF7F9
surface
#FCEEF1
border
#D5C9CB
text
#16090D
muted
#847B7E