#CC387D#CC387D

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

Color values

HEX#CC387D
RGBrgb(204, 56, 125)
HSLhsl(332, 59%, 51%)
HSVhsv(332, 73%, 80%)
CMYKcmyk(0%, 72.5%, 38.7%, 20%)
CIE-LABlab(48.45, 62.71, -4.67)
CIE-LCHlch(48.45, 62.88, 355.74°)
OKLaboklab(58.09% 0.1925 -0.0115)
OKLCHoklch(58.09% 0.193 356.6)
XYZxyz(30.0197, 17.1501, 21.1275)
Luminance0.1715 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC387D #38CC87
analogous
#CC38C7 #CC387D #CC3D38
triadic
#CC387D #7DCC38 #387DCC
tetradic
#CC387D #C7CC38 #38CC87 #3D38CC
square
#CC387D #C7CC38 #38CC87 #3D38CC
split-complementary
#CC387D #38CC3D #38C7CC
monochromatic
#6E1C42 #9E295F #CC387D #D8699D #E599BD

Accessibility & contrast

On white

4.74
#CC387D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#CC387D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC387D
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC387D#FFFFFF#000000##FFFFFF
##CC387D1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55617F
Deuteranopia (green-blind)
#7E7D7A
Tritanopia (blue-blind)
#DC2656
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc387d;
/* rgb */ color: rgb(204, 56, 125);
/* oklch */ color: oklch(58.1% 0.193 356.6);
Tailwind
colors: {
  custom: {
    50: '#e17ba2',
    500: '#cc387d',
    950: '#000000',
  },
}
SCSS
$custom: #cc387d;
$custom-light: #e17ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc387d",
  "rgb": {
    "r": 204,
    "g": 56,
    "b": 125
  },
  "hsl": {
    "h": 332.027,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58094,
    "c": 0.19279,
    "h": 356.6
  },
  "luminance": 0.17146
}

Semantic roles & 50–950 ramp

primary
#CC387D
secondary
#8FD1B2
accent
#E29945
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #CC387D

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

Preview Lab → · Contrast checker → · Palette generator →

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