#CC386E#CC386E

#CC386E is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.6% C 0.188 H 3.2°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CC386E
RGBrgb(204, 56, 110)
HSLhsl(338, 59%, 51%)
HSVhsv(338, 73%, 80%)
CMYKcmyk(0%, 72.5%, 46.1%, 20%)
CIE-LABlab(48.00, 61.25, 3.81)
CIE-LCHlch(48.00, 61.37, 3.56°)
OKLaboklab(57.62% 0.1875 0.0104)
OKLCHoklch(57.62% 0.188 3.2)
XYZxyz(29.1328, 16.7953, 16.4565)
Luminance0.1679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC386E #38CC96
analogous
#CC38B8 #CC386E #CC4C38
triadic
#CC386E #6ECC38 #386ECC
tetradic
#CC386E #B8CC38 #38CC96 #4C38CC
square
#CC386E #B8CC38 #38CC96 #4C38CC
split-complementary
#CC386E #38CC4C #38B8CC
monochromatic
#6E1C3A #9E2953 #CC386E #D86991 #E599B5

Accessibility & contrast

On white

4.82
#CC386E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#CC386E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC386E
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC386E#FFFFFF#000000##FFFFFF
##CC386E1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A606F
Deuteranopia (green-blind)
#817C6B
Tritanopia (blue-blind)
#DE1D4F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cc386e;
/* rgb */ color: rgb(204, 56, 110);
/* oklch */ color: oklch(57.6% 0.188 3.2);
Tailwind
colors: {
  custom: {
    50: '#e17a97',
    500: '#cc386e',
    950: '#000000',
  },
}
SCSS
$custom: #cc386e;
$custom-light: #e17a97;
$custom-dark: #000000;
JSON
{
  "hex": "#cc386e",
  "rgb": {
    "r": 204,
    "g": 56,
    "b": 110
  },
  "hsl": {
    "h": 338.108,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57618,
    "c": 0.18783,
    "h": 3.2
  },
  "luminance": 0.16792
}

Semantic roles & 50–950 ramp

primary
#CC386E
secondary
#8FD1B9
accent
#E2A945
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CC386E

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

Preview Lab → · Contrast checker → · Palette generator →

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