#CC386C#CC386C

#CC386C is a mid, vivid pink. Relative luminance 0.167; OKLCH L 57.6% C 0.187 H 4.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CC386C
RGBrgb(204, 56, 108)
HSLhsl(339, 59%, 51%)
HSVhsv(339, 73%, 80%)
CMYKcmyk(0%, 72.5%, 47.1%, 20%)
CIE-LABlab(47.95, 61.07, 4.96)
CIE-LCHlch(47.95, 61.27, 4.64°)
OKLaboklab(57.56% 0.1868 0.0133)
OKLCHoklch(57.56% 0.187 4.1)
XYZxyz(29.0252, 16.7523, 15.8895)
Luminance0.1675 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC386C #38CC98
analogous
#CC38B6 #CC386C #CC4E38
triadic
#CC386C #6CCC38 #386CCC
tetradic
#CC386C #B6CC38 #38CC98 #4E38CC
square
#CC386C #B6CC38 #38CC98 #4E38CC
split-complementary
#CC386C #38CC4E #38B6CC
monochromatic
#6E1C39 #9E2952 #CC386C #D86990 #E599B4

Accessibility & contrast

On white

4.83
#CC386C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#CC386C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC386C
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC386C#FFFFFF#000000##FFFFFF
##CC386C1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5F6D
Deuteranopia (green-blind)
#827C69
Tritanopia (blue-blind)
#DE1C4E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cc386c;
/* rgb */ color: rgb(204, 56, 108);
/* oklch */ color: oklch(57.6% 0.187 4.1);
Tailwind
colors: {
  custom: {
    50: '#e17a95',
    500: '#cc386c',
    950: '#000000',
  },
}
SCSS
$custom: #cc386c;
$custom-light: #e17a95;
$custom-dark: #000000;
JSON
{
  "hex": "#cc386c",
  "rgb": {
    "r": 204,
    "g": 56,
    "b": 108
  },
  "hsl": {
    "h": 338.919,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5756,
    "c": 0.1873,
    "h": 4.1
  },
  "luminance": 0.16748
}

Semantic roles & 50–950 ramp

primary
#CC386C
secondary
#8FD1BA
accent
#E2AB45
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CC386C

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

Preview Lab → · Contrast checker → · Palette generator →

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