#CC387F#CC387F

#CC387F is a mid, vivid pink. Relative luminance 0.172; OKLCH L 58.2% C 0.194 H 355.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CC387F
RGBrgb(204, 56, 127)
HSLhsl(331, 59%, 51%)
HSVhsv(331, 73%, 80%)
CMYKcmyk(0%, 72.5%, 37.7%, 20%)
CIE-LABlab(48.51, 62.92, -5.79)
CIE-LCHlch(48.51, 63.19, 354.75°)
OKLaboklab(58.16% 0.1931 -0.0144)
OKLCHoklch(58.16% 0.194 355.7)
XYZxyz(30.1488, 17.2017, 21.8072)
Luminance0.1720 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC387F #38CC85
analogous
#CC38C9 #CC387F #CC3B38
triadic
#CC387F #7FCC38 #387FCC
tetradic
#CC387F #C9CC38 #38CC85 #3B38CC
square
#CC387F #C9CC38 #38CC85 #3B38CC
split-complementary
#CC387F #38CC3B #38C9CC
monochromatic
#6E1C43 #9E2961 #CC387F #D8699E #E599BE

Accessibility & contrast

On white

4.73
#CC387F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#CC387F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC387F
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC387F#FFFFFF#000000##FFFFFF
##CC387F1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556281
Deuteranopia (green-blind)
#7E7D7C
Tritanopia (blue-blind)
#DC2857
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc387f;
/* rgb */ color: rgb(204, 56, 127);
/* oklch */ color: oklch(58.2% 0.194 355.7);
Tailwind
colors: {
  custom: {
    50: '#e17ba4',
    500: '#cc387f',
    950: '#000000',
  },
}
SCSS
$custom: #cc387f;
$custom-light: #e17ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc387f",
  "rgb": {
    "r": 204,
    "g": 56,
    "b": 127
  },
  "hsl": {
    "h": 331.216,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58163,
    "c": 0.19359,
    "h": 355.7
  },
  "luminance": 0.17198
}

Semantic roles & 50–950 ramp

primary
#CC387F
secondary
#8FD1B1
accent
#E29745
background
#FEF7FA
surface
#FDEEF3
border
#D5C9CD
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CC387F

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

Preview Lab → · Contrast checker → · Palette generator →

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