#CC396F#CC396F

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

Color values

HEX#CC396F
RGBrgb(204, 57, 111)
HSLhsl(338, 59%, 51%)
HSVhsv(338, 72%, 80%)
CMYKcmyk(0%, 72.1%, 45.6%, 20%)
CIE-LABlab(48.15, 61.00, 3.42)
CIE-LCHlch(48.15, 61.09, 3.21°)
OKLaboklab(57.74% 0.1868 0.0095)
OKLCHoklch(57.74% 0.187 2.9)
XYZxyz(29.2365, 16.9151, 16.7612)
Luminance0.1691 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC396F #39CC96
analogous
#CC39B8 #CC396F #CC4C39
triadic
#CC396F #6FCC39 #396FCC
tetradic
#CC396F #B8CC39 #39CC96 #4C39CC
square
#CC396F #B8CC39 #39CC96 #4C39CC
split-complementary
#CC396F #39CC4C #39B8CC
monochromatic
#6E1C3A #9F2954 #CC396F #D96A92 #E59AB6

Accessibility & contrast

On white

4.79
#CC396F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CC396F
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC396F#FFFFFF#000000##FFFFFF
##CC396F1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6070
Deuteranopia (green-blind)
#817D6C
Tritanopia (blue-blind)
#DD2050
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cc396f;
/* rgb */ color: rgb(204, 57, 111);
/* oklch */ color: oklch(57.7% 0.187 2.9);
Tailwind
colors: {
  custom: {
    50: '#e17b98',
    500: '#cc396f',
    950: '#000000',
  },
}
SCSS
$custom: #cc396f;
$custom-light: #e17b98;
$custom-dark: #000000;
JSON
{
  "hex": "#cc396f",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 111
  },
  "hsl": {
    "h": 337.959,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57739,
    "c": 0.18702,
    "h": 2.9
  },
  "luminance": 0.16911
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC396F

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

Preview Lab → · Contrast checker → · Palette generator →

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