#CC787F#CC787F

#CC787F is a light, moderate red. Relative luminance 0.278; OKLCH L 66.6% C 0.105 H 15.0°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#CC787F
RGBrgb(204, 120, 127)
HSLhsl(355, 45%, 64%)
HSVhsv(355, 41%, 80%)
CMYKcmyk(0%, 41.2%, 37.7%, 20%)
CIE-LABlab(59.71, 33.57, 10.44)
CIE-LCHlch(59.71, 35.15, 17.28°)
OKLaboklab(66.56% 0.1017 0.0272)
OKLCHoklch(66.56% 0.105 15)
XYZxyz(35.4507, 27.8056, 23.5745)
Luminance0.2780 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC787F #78CCC5
analogous
#CC78A9 #CC787F #CC9B78
triadic
#CC787F #7FCC78 #787FCC
tetradic
#CC787F #A9CC78 #78CCC5 #9B78CC
square
#CC787F #A9CC78 #78CCC5 #9B78CC
split-complementary
#CC787F #78CC9B #78A9CC
monochromatic
#92373F #BB4C55 #CC787F #DDA4A9 #EED1D3

Accessibility & contrast

On white

3.20
#CC787F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#CC787F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC787F
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC787F#FFFFFF#000000##000000
##CC787F1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#88867F
Deuteranopia (green-blind)
#9D967D
Tritanopia (blue-blind)
#DB6F7B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cc787f;
/* rgb */ color: rgb(204, 120, 127);
/* oklch */ color: oklch(66.6% 0.105 15.0);
Tailwind
colors: {
  custom: {
    50: '#dea0a4',
    500: '#cc787f',
    950: '#000000',
  },
}
SCSS
$custom: #cc787f;
$custom-light: #dea0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc787f",
  "rgb": {
    "r": 204,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 355,
    "s": 45.161,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66559,
    "c": 0.10525,
    "h": 15
  },
  "luminance": 0.27803
}

Semantic roles & 50–950 ramp

primary
#CC787F
secondary
#C1DFDC
accent
#B8AD2D
background
#FDF9FA
surface
#FBF2F4
border
#D4CCCE
text
#150F0F
muted
#837E7F

Preview Lab

Preview with #CC787F

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

Preview Lab → · Contrast checker → · Palette generator →

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