#C52F6F#C52F6F
#C52F6F is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.7% C 0.191 H 360.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #C52F6F |
|---|---|
| RGB | rgb(197, 47, 111) |
| HSL | hsl(334, 61%, 48%) |
| HSV | hsv(334, 76%, 77%) |
| CMYK | cmyk(0%, 76.1%, 43.7%, 22.7%) |
| CIE-LAB | lab(45.71, 62.35, -0.29) |
| CIE-LCH | lch(45.71, 62.35, 359.74°) |
| OKLab | oklab(55.71% 0.1915 0) |
| OKLCH | oklch(55.71% 0.191 0) |
| XYZ | xyz(26.9138, 15.0546, 16.5244) |
| Luminance | 0.1505 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.63
Dark Hot Pink
#D90166
ΔE00 4.31
Dark Pink
#CB416B
ΔE00 4.88
Magenta (survey)
#C20078
ΔE00 5.55
Cerise
#DE0C62
ΔE00 6.03
Mediumvioletred
#C71585
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C52F6F #2FC585
analogous
#C52FBA #C52F6F #C53A2F
triadic
#C52F6F #6FC52F #2F6FC5
tetradic
#C52F6F #BAC52F #2FC585 #3A2FC5
square
#C52F6F #BAC52F #2FC585 #3A2FC5
split-complementary
#C52F6F #2FC53A #2FBAC5
monochromatic
#621737 #942353 #C52F6F #D85A8F #E38BB1
Accessibility & contrast
On white
5.24
#C52F6F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#C52F6F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C52F6F
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C52F6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C52F6F | 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)
#515A71
Deuteranopia (green-blind)
#7A776C
Tritanopia (blue-blind)
#D6124B
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #c52f6f; /* rgb */ color: rgb(197, 47, 111); /* oklch */ color: oklch(55.7% 0.191 360.0);
Tailwind
colors: {
custom: {
50: '#dc7698',
500: '#c52f6f',
950: '#000000',
},
}SCSS
$custom: #c52f6f; $custom-light: #dc7698; $custom-dark: #000000;
JSON
{
"hex": "#c52f6f",
"rgb": {
"r": 197,
"g": 47,
"b": 111
},
"hsl": {
"h": 334.4,
"s": 61.475,
"l": 47.843
},
"oklch": {
"l": 0.55707,
"c": 0.19148,
"h": 360
},
"luminance": 0.15051
}Semantic roles & 50–950 ramp
primary
#C52F6F
secondary
#82CDAD
accent
#E5A043
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090D
muted
#847B7E