#CC387C#CC387C

#CC387C is a mid, vivid pink. Relative luminance 0.171; OKLCH L 58.1% C 0.192 H 357.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#CC387C
RGBrgb(204, 56, 124)
HSLhsl(332, 59%, 51%)
HSVhsv(332, 73%, 80%)
CMYKcmyk(0%, 72.5%, 39.2%, 20%)
CIE-LABlab(48.42, 62.61, -4.11)
CIE-LCHlch(48.42, 62.74, 356.25°)
OKLaboklab(58.06% 0.1921 -0.01)
OKLCHoklch(58.06% 0.192 357)
XYZxyz(29.9562, 17.1247, 20.7928)
Luminance0.1712 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC387C #38CC88
analogous
#CC38C6 #CC387C #CC3E38
triadic
#CC387C #7CCC38 #387CCC
tetradic
#CC387C #C6CC38 #38CC88 #3E38CC
square
#CC387C #C6CC38 #38CC88 #3E38CC
split-complementary
#CC387C #38CC3E #38C6CC
monochromatic
#6E1C41 #9E295F #CC387C #D8699C #E599BC

Accessibility & contrast

On white

4.75
#CC387C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#CC387C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC387C
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC387C#FFFFFF#000000##FFFFFF
##CC387C1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56617E
Deuteranopia (green-blind)
#7E7D79
Tritanopia (blue-blind)
#DC2655
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc387c;
/* rgb */ color: rgb(204, 56, 124);
/* oklch */ color: oklch(58.1% 0.192 357.0);
Tailwind
colors: {
  custom: {
    50: '#e17ba1',
    500: '#cc387c',
    950: '#000000',
  },
}
SCSS
$custom: #cc387c;
$custom-light: #e17ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc387c",
  "rgb": {
    "r": 204,
    "g": 56,
    "b": 124
  },
  "hsl": {
    "h": 332.432,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5806,
    "c": 0.1924,
    "h": 357
  },
  "luminance": 0.17121
}

Semantic roles & 50–950 ramp

primary
#CC387C
secondary
#8FD1B3
accent
#E29A45
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #CC387C

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

Preview Lab → · Contrast checker → · Palette generator →

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