#CC6786#CC6786

#CC6786 is a light, vivid pink. Relative luminance 0.243; OKLCH L 64.1% C 0.132 H 2.0°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#CC6786
RGBrgb(204, 103, 134)
HSLhsl(342, 50%, 60%)
HSVhsv(342, 50%, 80%)
CMYKcmyk(0%, 49.5%, 34.3%, 20%)
CIE-LABlab(56.35, 43.28, 1.56)
CIE-LCHlch(56.35, 43.31, 2.06°)
OKLaboklab(64.07% 0.1315 0.0046)
OKLCHoklch(64.07% 0.132 2)
XYZxyz(34.0568, 24.2623, 25.4391)
Luminance0.2426 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6786 #67CCAD
analogous
#CC67B9 #CC6786 #CC7A67
triadic
#CC6786 #86CC67 #6786CC
tetradic
#CC6786 #B9CC67 #67CCAD #7A67CC
square
#CC6786 #B9CC67 #67CCAD #7A67CC
split-complementary
#CC6786 #67CC7A #67B9CC
monochromatic
#8A2E4B #B83E63 #CC6786 #DB95AA #EBC3CF

Accessibility & contrast

On white

3.59
#CC6786 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#CC6786 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6786
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6786#FFFFFF#000000##000000
##CC67861.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#777B87
Deuteranopia (green-blind)
#918E84
Tritanopia (blue-blind)
#DB5F72
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cc6786;
/* rgb */ color: rgb(204, 103, 134);
/* oklch */ color: oklch(64.1% 0.132 2.0);
Tailwind
colors: {
  custom: {
    50: '#de95a9',
    500: '#cc6786',
    950: '#000000',
  },
}
SCSS
$custom: #cc6786;
$custom-light: #de95a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6786",
  "rgb": {
    "r": 204,
    "g": 103,
    "b": 134
  },
  "hsl": {
    "h": 341.584,
    "s": 49.754,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64066,
    "c": 0.13157,
    "h": 2
  },
  "luminance": 0.24259
}

Semantic roles & 50–950 ramp

primary
#CC6786
secondary
#B4DBCF
accent
#BD8F28
background
#FEF9FA
surface
#FCF2F4
border
#D5CCCE
text
#160D0F
muted
#847E7F

Preview Lab

Preview with #CC6786

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

Preview Lab → · Contrast checker → · Palette generator →

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