#C52A6B#C52A6B
#C52A6B is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.2% C 0.195 H 1.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #C52A6B |
|---|---|
| RGB | rgb(197, 42, 107) |
| HSL | hsl(335, 65%, 47%) |
| HSV | hsv(335, 79%, 77%) |
| CMYK | cmyk(0%, 78.7%, 45.7%, 22.7%) |
| CIE-LAB | lab(45.07, 63.45, 1.25) |
| CIE-LCH | lch(45.07, 63.47, 1.13°) |
| OKLab | oklab(55.2% 0.1949 0.0039) |
| OKLCH | oklch(55.2% 0.195 1.2) |
| XYZ | xyz(26.5099, 14.5914, 15.3275) |
| Luminance | 0.1459 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 2.74
Dark Hot Pink
#D90166
ΔE00 3.84
Dark Pink
#CB416B
ΔE00 4.97
Cerise
#DE0C62
ΔE00 5.61
Magenta (survey)
#C20078
ΔE00 5.71
Deep Rose
#C74767
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C52A6B #2AC584
analogous
#C52AB9 #C52A6B #C5372A
triadic
#C52A6B #6BC52A #2A6BC5
tetradic
#C52A6B #B9C52A #2AC584 #372AC5
square
#C52A6B #B9C52A #2AC584 #372AC5
split-complementary
#C52A6B #2AC537 #2AB9C5
monochromatic
#601434 #931F50 #C52A6B #DA528B #E585AD
Accessibility & contrast
On white
5.36
#C52A6B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#C52A6B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C52A6B
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C52A6B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C52A6B | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#50586C
Deuteranopia (green-blind)
#797567
Tritanopia (blue-blind)
#D60047
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #c52a6b; /* rgb */ color: rgb(197, 42, 107); /* oklch */ color: oklch(55.2% 0.195 1.2);
Tailwind
colors: {
custom: {
50: '#dd7495',
500: '#c52a6b',
950: '#000000',
},
}SCSS
$custom: #c52a6b; $custom-light: #dd7495; $custom-dark: #000000;
JSON
{
"hex": "#c52a6b",
"rgb": {
"r": 197,
"g": 42,
"b": 107
},
"hsl": {
"h": 334.839,
"s": 64.854,
"l": 46.863
},
"oklch": {
"l": 0.55199,
"c": 0.19493,
"h": 1.2
},
"luminance": 0.14588
}Semantic roles & 50–950 ramp
primary
#C52A6B
secondary
#7DCEAC
accent
#E8A140
background
#FEF7F9
surface
#FCEDF1
border
#D5C8CB
text
#16090D
muted
#847B7E