#CC396C#CC396C

#CC396C is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.7% C 0.186 H 4.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#CC396C
RGBrgb(204, 57, 108)
HSLhsl(339, 59%, 51%)
HSVhsv(339, 72%, 80%)
CMYKcmyk(0%, 72.1%, 47.1%, 20%)
CIE-LABlab(48.07, 60.73, 5.13)
CIE-LCHlch(48.07, 60.94, 4.83°)
OKLaboklab(57.65% 0.1857 0.0138)
OKLCHoklch(57.65% 0.186 4.2)
XYZxyz(29.0741, 16.8502, 15.9059)
Luminance0.1685 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC396C #39CC99
analogous
#CC39B5 #CC396C #CC4F39
triadic
#CC396C #6CCC39 #396CCC
tetradic
#CC396C #B5CC39 #39CC99 #4F39CC
square
#CC396C #B5CC39 #39CC99 #4F39CC
split-complementary
#CC396C #39CC4F #39B5CC
monochromatic
#6E1C39 #9F2952 #CC396C #D96A90 #E59AB4

Accessibility & contrast

On white

4.81
#CC396C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#CC396C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC396C
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC396C#FFFFFF#000000##FFFFFF
##CC396C1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B606D
Deuteranopia (green-blind)
#827D69
Tritanopia (blue-blind)
#DE1E4E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cc396c;
/* rgb */ color: rgb(204, 57, 108);
/* oklch */ color: oklch(57.7% 0.186 4.2);
Tailwind
colors: {
  custom: {
    50: '#e17b95',
    500: '#cc396c',
    950: '#000000',
  },
}
SCSS
$custom: #cc396c;
$custom-light: #e17b95;
$custom-dark: #000000;
JSON
{
  "hex": "#cc396c",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 108
  },
  "hsl": {
    "h": 339.184,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57652,
    "c": 0.18623,
    "h": 4.2
  },
  "luminance": 0.16846
}

Semantic roles & 50–950 ramp

primary
#CC396C
secondary
#90D1BA
accent
#E2AC46
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CC396C

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

Preview Lab → · Contrast checker → · Palette generator →

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