#CC387E#CC387E

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

Color values

HEX#CC387E
RGBrgb(204, 56, 126)
HSLhsl(332, 59%, 51%)
HSVhsv(332, 73%, 80%)
CMYKcmyk(0%, 72.5%, 38.2%, 20%)
CIE-LABlab(48.48, 62.82, -5.23)
CIE-LCHlch(48.48, 63.03, 355.24°)
OKLaboklab(58.13% 0.1928 -0.013)
OKLCHoklch(58.13% 0.193 356.2)
XYZxyz(30.0839, 17.1758, 21.4656)
Luminance0.1717 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC387E #38CC86
analogous
#CC38C8 #CC387E #CC3C38
triadic
#CC387E #7ECC38 #387ECC
tetradic
#CC387E #C8CC38 #38CC86 #3C38CC
square
#CC387E #C8CC38 #38CC86 #3C38CC
split-complementary
#CC387E #38CC3C #38C8CC
monochromatic
#6E1C43 #9E2960 #CC387E #D8699E #E599BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC387E#FFFFFF#000000##FFFFFF
##CC387E1.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)
#556280
Deuteranopia (green-blind)
#7E7D7B
Tritanopia (blue-blind)
#DC2756
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc387e;
/* rgb */ color: rgb(204, 56, 126);
/* oklch */ color: oklch(58.1% 0.193 356.2);
Tailwind
colors: {
  custom: {
    50: '#e17ba3',
    500: '#cc387e',
    950: '#000000',
  },
}
SCSS
$custom: #cc387e;
$custom-light: #e17ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc387e",
  "rgb": {
    "r": 204,
    "g": 56,
    "b": 126
  },
  "hsl": {
    "h": 331.622,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58128,
    "c": 0.19319,
    "h": 356.2
  },
  "luminance": 0.17172
}

Semantic roles & 50–950 ramp

primary
#CC387E
secondary
#8FD1B2
accent
#E29845
background
#FEF7FA
surface
#FDEEF3
border
#D5C9CD
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CC387E

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

Preview Lab → · Contrast checker → · Palette generator →

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