#CC396E#CC396E

#CC396E is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.7% C 0.187 H 3.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CC396E
RGBrgb(204, 57, 110)
HSLhsl(338, 59%, 51%)
HSVhsv(338, 72%, 80%)
CMYKcmyk(0%, 72.1%, 46.1%, 20%)
CIE-LABlab(48.13, 60.91, 3.99)
CIE-LCHlch(48.13, 61.04, 3.75°)
OKLaboklab(57.71% 0.1864 0.0109)
OKLCHoklch(57.71% 0.187 3.3)
XYZxyz(29.1818, 16.8932, 16.4729)
Luminance0.1689 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC396E #39CC97
analogous
#CC39B8 #CC396E #CC4D39
triadic
#CC396E #6ECC39 #396ECC
tetradic
#CC396E #B8CC39 #39CC97 #4D39CC
square
#CC396E #B8CC39 #39CC97 #4D39CC
split-complementary
#CC396E #39CC4D #39B8CC
monochromatic
#6E1C3A #9F2953 #CC396E #D96A92 #E59AB5

Accessibility & contrast

On white

4.80
#CC396E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#CC396E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC396E
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC396E#FFFFFF#000000##FFFFFF
##CC396E1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A606F
Deuteranopia (green-blind)
#827D6B
Tritanopia (blue-blind)
#DE1F4F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cc396e;
/* rgb */ color: rgb(204, 57, 110);
/* oklch */ color: oklch(57.7% 0.187 3.3);
Tailwind
colors: {
  custom: {
    50: '#e17b97',
    500: '#cc396e',
    950: '#000000',
  },
}
SCSS
$custom: #cc396e;
$custom-light: #e17b97;
$custom-dark: #000000;
JSON
{
  "hex": "#cc396e",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 110
  },
  "hsl": {
    "h": 338.367,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5771,
    "c": 0.18675,
    "h": 3.3
  },
  "luminance": 0.16889
}

Semantic roles & 50–950 ramp

primary
#CC396E
secondary
#90D1B9
accent
#E2AA46
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CC396E

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

Preview Lab → · Contrast checker → · Palette generator →

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