#CC3786#CC3786

#CC3786 is a mid, vivid pink. Relative luminance 0.173; OKLCH L 58.3% C 0.198 H 352.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CC3786
RGBrgb(204, 55, 134)
HSLhsl(328, 59%, 51%)
HSVhsv(328, 73%, 80%)
CMYKcmyk(0%, 73%, 34.3%, 20%)
CIE-LABlab(48.63, 64.01, -9.85)
CIE-LCHlch(48.63, 64.77, 351.25°)
OKLaboklab(58.33% 0.1961 -0.0253)
OKLCHoklch(58.33% 0.198 352.6)
XYZxyz(30.5729, 17.2946, 24.2778)
Luminance0.1729 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3786 #37CC7D
analogous
#C837CC #CC3786 #CC373B
triadic
#CC3786 #86CC37 #3786CC
tetradic
#CC3786 #CCC837 #37CC7D #373BCC
square
#CC3786 #CCC837 #37CC7D #373BCC
split-complementary
#CC3786 #3BCC37 #37CCC8
monochromatic
#6D1C47 #9E2866 #CC3786 #D868A4 #E599C1

Accessibility & contrast

On white

4.71
#CC3786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#CC3786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3786
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3786#FFFFFF#000000##FFFFFF
##CC37861.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526288
Deuteranopia (green-blind)
#7C7D83
Tritanopia (blue-blind)
#DC2A5A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc3786;
/* rgb */ color: rgb(204, 55, 134);
/* oklch */ color: oklch(58.3% 0.198 352.6);
Tailwind
colors: {
  custom: {
    50: '#e07ba9',
    500: '#cc3786',
    950: '#000000',
  },
}
SCSS
$custom: #cc3786;
$custom-light: #e07ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3786",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 134
  },
  "hsl": {
    "h": 328.188,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58325,
    "c": 0.19773,
    "h": 352.6
  },
  "luminance": 0.17291
}

Semantic roles & 50–950 ramp

primary
#CC3786
secondary
#8ED0AD
accent
#E38F45
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CC3786

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

Preview Lab → · Contrast checker → · Palette generator →

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