#CC387A#CC387A

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

Color values

HEX#CC387A
RGBrgb(204, 56, 122)
HSLhsl(333, 59%, 51%)
HSVhsv(333, 73%, 80%)
CMYKcmyk(0%, 72.5%, 40.2%, 20%)
CIE-LABlab(48.35, 62.40, -2.99)
CIE-LCHlch(48.35, 62.48, 357.26°)
OKLaboklab(57.99% 0.1915 -0.0071)
OKLCHoklch(57.99% 0.192 357.9)
XYZxyz(29.8310, 17.0746, 20.1334)
Luminance0.1707 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC387A #38CC8A
analogous
#CC38C4 #CC387A #CC4038
triadic
#CC387A #7ACC38 #387ACC
tetradic
#CC387A #C4CC38 #38CC8A #4038CC
square
#CC387A #C4CC38 #38CC8A #4038CC
split-complementary
#CC387A #38CC40 #38C4CC
monochromatic
#6E1C40 #9E295D #CC387A #D8699B #E599BB

Accessibility & contrast

On white

4.76
#CC387A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#CC387A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC387A
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC387A#FFFFFF#000000##FFFFFF
##CC387A1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56617C
Deuteranopia (green-blind)
#7F7D77
Tritanopia (blue-blind)
#DD2554
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc387a;
/* rgb */ color: rgb(204, 56, 122);
/* oklch */ color: oklch(58.0% 0.192 357.9);
Tailwind
colors: {
  custom: {
    50: '#e17ba0',
    500: '#cc387a',
    950: '#000000',
  },
}
SCSS
$custom: #cc387a;
$custom-light: #e17ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc387a",
  "rgb": {
    "r": 204,
    "g": 56,
    "b": 122
  },
  "hsl": {
    "h": 333.243,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57993,
    "c": 0.19165,
    "h": 357.9
  },
  "luminance": 0.17071
}

Semantic roles & 50–950 ramp

primary
#CC387A
secondary
#8FD1B3
accent
#E29C45
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CC387A

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

Preview Lab → · Contrast checker → · Palette generator →

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