#C52F6E#C52F6E
#C52F6E is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.7% C 0.191 H 0.4°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #C52F6E |
|---|---|
| RGB | rgb(197, 47, 110) |
| HSL | hsl(335, 61%, 48%) |
| HSV | hsv(335, 76%, 77%) |
| CMYK | cmyk(0%, 76.1%, 44.2%, 22.7%) |
| CIE-LAB | lab(45.68, 62.25, 0.29) |
| CIE-LCH | lch(45.68, 62.25, 0.26°) |
| OKLab | oklab(55.68% 0.1911 0.0014) |
| OKLCH | oklch(55.68% 0.191 0.4) |
| XYZ | xyz(26.8591, 15.0327, 16.2361) |
| Luminance | 0.1503 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.48
Dark Hot Pink
#D90166
ΔE00 4.15
Dark Pink
#CB416B
ΔE00 4.72
Magenta (survey)
#C20078
ΔE00 5.74
Cerise
#DE0C62
ΔE00 5.84
Deep Rose
#C74767
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C52F6E #2FC586
analogous
#C52FB9 #C52F6E #C53B2F
triadic
#C52F6E #6EC52F #2F6EC5
tetradic
#C52F6E #B9C52F #2FC586 #3B2FC5
square
#C52F6E #B9C52F #2FC586 #3B2FC5
split-complementary
#C52F6E #2FC53B #2FB9C5
monochromatic
#621737 #942352 #C52F6E #D85A8F #E38BB0
Accessibility & contrast
On white
5.24
#C52F6E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#C52F6E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C52F6E
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C52F6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C52F6E | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#515A70
Deuteranopia (green-blind)
#7A776B
Tritanopia (blue-blind)
#D6114B
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #c52f6e; /* rgb */ color: rgb(197, 47, 110); /* oklch */ color: oklch(55.7% 0.191 0.4);
Tailwind
colors: {
custom: {
50: '#dc7697',
500: '#c52f6e',
950: '#000000',
},
}SCSS
$custom: #c52f6e; $custom-light: #dc7697; $custom-dark: #000000;
JSON
{
"hex": "#c52f6e",
"rgb": {
"r": 197,
"g": 47,
"b": 110
},
"hsl": {
"h": 334.8,
"s": 61.475,
"l": 47.843
},
"oklch": {
"l": 0.55676,
"c": 0.19116,
"h": 0.4
},
"luminance": 0.15029
}Semantic roles & 50–950 ramp
primary
#C52F6E
secondary
#82CDAE
accent
#E5A143
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090D
muted
#847B7E