#CC787C#CC787C

#CC787C is a light, moderate red. Relative luminance 0.277; OKLCH L 66.5% C 0.105 H 17.2°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#CC787C
RGBrgb(204, 120, 124)
HSLhsl(357, 45%, 64%)
HSVhsv(357, 41%, 80%)
CMYKcmyk(0%, 41.2%, 39.2%, 20%)
CIE-LABlab(59.64, 33.22, 12.07)
CIE-LCHlch(59.64, 35.34, 19.97°)
OKLaboklab(66.48% 0.1005 0.0312)
OKLCHoklch(66.48% 0.105 17.2)
XYZxyz(35.2581, 27.7285, 22.5601)
Luminance0.2773 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC787C #78CCC8
analogous
#CC78A6 #CC787C #CC9E78
triadic
#CC787C #7CCC78 #787CCC
tetradic
#CC787C #A6CC78 #78CCC8 #9E78CC
square
#CC787C #A6CC78 #78CCC8 #9E78CC
split-complementary
#CC787C #78CC9E #78A6CC
monochromatic
#92373C #BB4C51 #CC787C #DDA4A7 #EED1D2

Accessibility & contrast

On white

3.21
#CC787C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#CC787C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC787C
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC787C#FFFFFF#000000##000000
##CC787C1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89867C
Deuteranopia (green-blind)
#9D967A
Tritanopia (blue-blind)
#DB6E7A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cc787c;
/* rgb */ color: rgb(204, 120, 124);
/* oklch */ color: oklch(66.5% 0.105 17.2);
Tailwind
colors: {
  custom: {
    50: '#dea0a1',
    500: '#cc787c',
    950: '#000000',
  },
}
SCSS
$custom: #cc787c;
$custom-light: #dea0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc787c",
  "rgb": {
    "r": 204,
    "g": 120,
    "b": 124
  },
  "hsl": {
    "h": 357.143,
    "s": 45.161,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66482,
    "c": 0.10523,
    "h": 17.2
  },
  "luminance": 0.27726
}

Semantic roles & 50–950 ramp

primary
#CC787C
secondary
#C1DFDD
accent
#B8B22D
background
#FDF9F9
surface
#FBF2F2
border
#D4CCCC
text
#150F0F
muted
#837E7E

Preview Lab

Preview with #CC787C

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

Preview Lab → · Contrast checker → · Palette generator →

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