#CC787B#CC787B

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

Color values

HEX#CC787B
RGBrgb(204, 120, 123)
HSLhsl(358, 45%, 64%)
HSVhsv(358, 41%, 80%)
CMYKcmyk(0%, 41.2%, 39.7%, 20%)
CIE-LABlab(59.62, 33.10, 12.61)
CIE-LCHlch(59.62, 35.42, 20.86°)
OKLaboklab(66.46% 0.1001 0.0325)
OKLCHoklch(66.46% 0.105 18)
XYZxyz(35.1952, 27.7034, 22.2287)
Luminance0.2770 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC787B #78CCC9
analogous
#CC78A5 #CC787B #CC9F78
triadic
#CC787B #7BCC78 #787BCC
tetradic
#CC787B #A5CC78 #78CCC9 #9F78CC
square
#CC787B #A5CC78 #78CCC9 #9F78CC
split-complementary
#CC787B #78CC9F #78A5CC
monochromatic
#92373B #BB4C50 #CC787B #DDA4A6 #EED1D2

Accessibility & contrast

On white

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

On black

6.54
#CC787B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC787B
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC787B#FFFFFF#000000##000000
##CC787B1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#89867B
Deuteranopia (green-blind)
#9D9679
Tritanopia (blue-blind)
#DB6E79
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cc787b;
/* rgb */ color: rgb(204, 120, 123);
/* oklch */ color: oklch(66.5% 0.105 18.0);
Tailwind
colors: {
  custom: {
    50: '#dea0a1',
    500: '#cc787b',
    950: '#000000',
  },
}
SCSS
$custom: #cc787b;
$custom-light: #dea0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc787b",
  "rgb": {
    "r": 204,
    "g": 120,
    "b": 123
  },
  "hsl": {
    "h": 357.857,
    "s": 45.161,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66457,
    "c": 0.10527,
    "h": 18
  },
  "luminance": 0.277
}

Semantic roles & 50–950 ramp

primary
#CC787B
secondary
#C1DFDE
accent
#B8B32D
background
#FDF9F9
surface
#FBF2F2
border
#D4CCCC
text
#150F0E
muted
#837E7E

Preview Lab

Preview with #CC787B

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

Preview Lab → · Contrast checker → · Palette generator →

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