#CC787E#CC787E

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

Color values

HEX#CC787E
RGBrgb(204, 120, 126)
HSLhsl(356, 45%, 64%)
HSVhsv(356, 41%, 80%)
CMYKcmyk(0%, 41.2%, 38.2%, 20%)
CIE-LABlab(59.69, 33.45, 10.99)
CIE-LCHlch(59.69, 35.21, 18.18°)
OKLaboklab(66.53% 0.1013 0.0285)
OKLCHoklch(66.53% 0.105 15.7)
XYZxyz(35.3859, 27.7797, 23.2330)
Luminance0.2778 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC787E #78CCC6
analogous
#CC78A8 #CC787E #CC9C78
triadic
#CC787E #7ECC78 #787ECC
tetradic
#CC787E #A8CC78 #78CCC6 #9C78CC
square
#CC787E #A8CC78 #78CCC6 #9C78CC
split-complementary
#CC787E #78CC9C #78A8CC
monochromatic
#92373E #BB4C54 #CC787E #DDA4A8 #EED1D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC787E#FFFFFF#000000##000000
##CC787E1.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)
#88867E
Deuteranopia (green-blind)
#9D967C
Tritanopia (blue-blind)
#DB6F7A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cc787e;
/* rgb */ color: rgb(204, 120, 126);
/* oklch */ color: oklch(66.5% 0.105 15.7);
Tailwind
colors: {
  custom: {
    50: '#dea0a3',
    500: '#cc787e',
    950: '#000000',
  },
}
SCSS
$custom: #cc787e;
$custom-light: #dea0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc787e",
  "rgb": {
    "r": 204,
    "g": 120,
    "b": 126
  },
  "hsl": {
    "h": 355.714,
    "s": 45.161,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66533,
    "c": 0.10523,
    "h": 15.7
  },
  "luminance": 0.27777
}

Semantic roles & 50–950 ramp

primary
#CC787E
secondary
#C1DFDD
accent
#B8AE2D
background
#FDF9FA
surface
#FBF2F3
border
#D4CCCD
text
#150F0F
muted
#837E7F

Preview Lab

Preview with #CC787E

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

Preview Lab → · Contrast checker → · Palette generator →

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