#CC386F#CC386F

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

Color values

HEX#CC386F
RGBrgb(204, 56, 111)
HSLhsl(338, 59%, 51%)
HSVhsv(338, 73%, 80%)
CMYKcmyk(0%, 72.5%, 45.6%, 20%)
CIE-LABlab(48.03, 61.34, 3.24)
CIE-LCHlch(48.03, 61.43, 3.02°)
OKLaboklab(57.65% 0.1879 0.009)
OKLCHoklch(57.65% 0.188 2.7)
XYZxyz(29.1876, 16.8172, 16.7449)
Luminance0.1681 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC386F #38CC95
analogous
#CC38B9 #CC386F #CC4B38
triadic
#CC386F #6FCC38 #386FCC
tetradic
#CC386F #B9CC38 #38CC95 #4B38CC
square
#CC386F #B9CC38 #38CC95 #4B38CC
split-complementary
#CC386F #38CC4B #38B9CC
monochromatic
#6E1C3A #9E2954 #CC386F #D86992 #E599B6

Accessibility & contrast

On white

4.81
#CC386F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CC386F
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC386F#FFFFFF#000000##FFFFFF
##CC386F1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596070
Deuteranopia (green-blind)
#817C6C
Tritanopia (blue-blind)
#DD1E4F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cc386f;
/* rgb */ color: rgb(204, 56, 111);
/* oklch */ color: oklch(57.6% 0.188 2.7);
Tailwind
colors: {
  custom: {
    50: '#e17a98',
    500: '#cc386f',
    950: '#000000',
  },
}
SCSS
$custom: #cc386f;
$custom-light: #e17a98;
$custom-dark: #000000;
JSON
{
  "hex": "#cc386f",
  "rgb": {
    "r": 204,
    "g": 56,
    "b": 111
  },
  "hsl": {
    "h": 337.703,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57648,
    "c": 0.1881,
    "h": 2.7
  },
  "luminance": 0.16813
}

Semantic roles & 50–950 ramp

primary
#CC386F
secondary
#8FD1B8
accent
#E2A845
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CC386F

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

Preview Lab → · Contrast checker → · Palette generator →

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