#CC397A#CC397A
#CC397A is a mid, vivid pink. Relative luminance 0.172; OKLCH L 58.1% C 0.191 H 358.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #CC397A |
|---|---|
| RGB | rgb(204, 57, 122) |
| HSL | hsl(333, 59%, 51%) |
| HSV | hsv(333, 72%, 80%) |
| CMYK | cmyk(0%, 72.1%, 40.2%, 20%) |
| CIE-LAB | lab(48.48, 62.06, -2.81) |
| CIE-LCH | lch(48.48, 62.12, 357.41°) |
| OKLab | oklab(58.08% 0.1904 -0.0066) |
| OKLCH | oklch(58.08% 0.191 358) |
| XYZ | xyz(29.8799, 17.1725, 20.1497) |
| Luminance | 0.1717 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 4.70
Dark Pink
#CB416B
ΔE00 4.77
Dark Hot Pink
#D90166
ΔE00 5.44
Deep Pink
#CB0162
ΔE00 6.13
Mediumvioletred
#C71585
ΔE00 6.37
Deep Rose
#C74767
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC397A #39CC8B
analogous
#CC39C4 #CC397A #CC4139
triadic
#CC397A #7ACC39 #397ACC
tetradic
#CC397A #C4CC39 #39CC8B #4139CC
square
#CC397A #C4CC39 #39CC8B #4139CC
split-complementary
#CC397A #39CC41 #39C4CC
monochromatic
#6E1C41 #9F295D #CC397A #D96A9B #E59ABB
Accessibility & contrast
On white
4.74
#CC397A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#CC397A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CC397A
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC397A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CC397A | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#57617C
Deuteranopia (green-blind)
#7F7D77
Tritanopia (blue-blind)
#DD2655
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #cc397a; /* rgb */ color: rgb(204, 57, 122); /* oklch */ color: oklch(58.1% 0.191 358.0);
Tailwind
colors: {
custom: {
50: '#e17ba0',
500: '#cc397a',
950: '#000000',
},
}SCSS
$custom: #cc397a; $custom-light: #e17ba0; $custom-dark: #000000;
JSON
{
"hex": "#cc397a",
"rgb": {
"r": 204,
"g": 57,
"b": 122
},
"hsl": {
"h": 333.469,
"s": 59.036,
"l": 51.176
},
"oklch": {
"l": 0.58084,
"c": 0.19054,
"h": 358
},
"luminance": 0.17169
}Semantic roles & 50–950 ramp
primary
#CC397A
secondary
#90D1B4
accent
#E29D46
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160A0E
muted
#847C7E