#CC387B#CC387B

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

Color values

HEX#CC387B
RGBrgb(204, 56, 123)
HSLhsl(333, 59%, 51%)
HSVhsv(333, 73%, 80%)
CMYKcmyk(0%, 72.5%, 39.7%, 20%)
CIE-LABlab(48.39, 62.51, -3.55)
CIE-LCHlch(48.39, 62.61, 356.75°)
OKLaboklab(58.03% 0.1918 -0.0085)
OKLCHoklch(58.03% 0.192 357.5)
XYZxyz(29.8932, 17.0995, 20.4614)
Luminance0.1710 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC387B #38CC89
analogous
#CC38C5 #CC387B #CC3F38
triadic
#CC387B #7BCC38 #387BCC
tetradic
#CC387B #C5CC38 #38CC89 #3F38CC
square
#CC387B #C5CC38 #38CC89 #3F38CC
split-complementary
#CC387B #38CC3F #38C5CC
monochromatic
#6E1C41 #9E295E #CC387B #D8699B #E599BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC387B#FFFFFF#000000##FFFFFF
##CC387B1.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)
#56617D
Deuteranopia (green-blind)
#7F7D78
Tritanopia (blue-blind)
#DD2555
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc387b;
/* rgb */ color: rgb(204, 56, 123);
/* oklch */ color: oklch(58.0% 0.192 357.5);
Tailwind
colors: {
  custom: {
    50: '#e17ba1',
    500: '#cc387b',
    950: '#000000',
  },
}
SCSS
$custom: #cc387b;
$custom-light: #e17ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc387b",
  "rgb": {
    "r": 204,
    "g": 56,
    "b": 123
  },
  "hsl": {
    "h": 332.838,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58027,
    "c": 0.19202,
    "h": 357.5
  },
  "luminance": 0.17096
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC387B

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

Preview Lab → · Contrast checker → · Palette generator →

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