#CC397C#CC397C

#CC397C is a mid, vivid pink. Relative luminance 0.172; OKLCH L 58.1% C 0.191 H 357.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CC397C
RGBrgb(204, 57, 124)
HSLhsl(333, 59%, 51%)
HSVhsv(333, 72%, 80%)
CMYKcmyk(0%, 72.1%, 39.2%, 20%)
CIE-LABlab(48.54, 62.27, -3.93)
CIE-LCHlch(48.54, 62.39, 356.39°)
OKLaboklab(58.15% 0.1911 -0.0095)
OKLCHoklch(58.15% 0.191 357.1)
XYZxyz(30.0051, 17.2226, 20.8091)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC397C #39CC89
analogous
#CC39C5 #CC397C #CC3F39
triadic
#CC397C #7CCC39 #397CCC
tetradic
#CC397C #C5CC39 #39CC89 #3F39CC
square
#CC397C #C5CC39 #39CC89 #3F39CC
split-complementary
#CC397C #39CC3F #39C5CC
monochromatic
#6E1C42 #9F295F #CC397C #D96A9C #E59ABC

Accessibility & contrast

On white

4.73
#CC397C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#CC397C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC397C
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC397C#FFFFFF#000000##FFFFFF
##CC397C1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56627E
Deuteranopia (green-blind)
#7F7D79
Tritanopia (blue-blind)
#DC2756
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc397c;
/* rgb */ color: rgb(204, 57, 124);
/* oklch */ color: oklch(58.1% 0.191 357.1);
Tailwind
colors: {
  custom: {
    50: '#e17ba1',
    500: '#cc397c',
    950: '#000000',
  },
}
SCSS
$custom: #cc397c;
$custom-light: #e17ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc397c",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 332.653,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5815,
    "c": 0.19129,
    "h": 357.1
  },
  "luminance": 0.17219
}

Semantic roles & 50–950 ramp

primary
#CC397C
secondary
#90D1B3
accent
#E29B46
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #CC397C

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CC397C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva