#CC396B#CC396B

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

Color values

HEX#CC396B
RGBrgb(204, 57, 107)
HSLhsl(340, 59%, 51%)
HSVhsv(340, 72%, 80%)
CMYKcmyk(0%, 72.1%, 47.5%, 20%)
CIE-LABlab(48.04, 60.64, 5.71)
CIE-LCHlch(48.04, 60.91, 5.38°)
OKLaboklab(57.62% 0.1854 0.0152)
OKLCHoklch(57.62% 0.186 4.7)
XYZxyz(29.0212, 16.8290, 15.6272)
Luminance0.1683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC396B #39CC9A
analogous
#CC39B4 #CC396B #CC5039
triadic
#CC396B #6BCC39 #396BCC
tetradic
#CC396B #B4CC39 #39CC9A #5039CC
square
#CC396B #B4CC39 #39CC9A #5039CC
split-complementary
#CC396B #39CC50 #39B4CC
monochromatic
#6E1C38 #9F2951 #CC396B #D96A8F #E59AB4

Accessibility & contrast

On white

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

On black

4.36
#CC396B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CC396B#FFFFFF#000000##FFFFFF
##CC396B1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B606C
Deuteranopia (green-blind)
#827D68
Tritanopia (blue-blind)
#DE1D4E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cc396b;
/* rgb */ color: rgb(204, 57, 107);
/* oklch */ color: oklch(57.6% 0.186 4.7);
Tailwind
colors: {
  custom: {
    50: '#e17b95',
    500: '#cc396b',
    950: '#000000',
  },
}
SCSS
$custom: #cc396b;
$custom-light: #e17b95;
$custom-dark: #000000;
JSON
{
  "hex": "#cc396b",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 107
  },
  "hsl": {
    "h": 339.592,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57623,
    "c": 0.18599,
    "h": 4.7
  },
  "luminance": 0.16825
}

Semantic roles & 50–950 ramp

primary
#CC396B
secondary
#90D1BB
accent
#E2AD46
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CC396B

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

Preview Lab → · Contrast checker → · Palette generator →

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