#CC786A#CC786A

#CC786A is a light, moderate red. Relative luminance 0.273; OKLCH L 66.1% C 0.108 H 30.3°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#CC786A
RGBrgb(204, 120, 106)
HSLhsl(9, 49%, 61%)
HSVhsv(9, 48%, 80%)
CMYKcmyk(0%, 41.2%, 48%, 20%)
CIE-LABlab(59.26, 31.29, 21.85)
CIE-LCHlch(59.26, 38.17, 34.93°)
OKLaboklab(66.07% 0.0933 0.0545)
OKLCHoklch(66.07% 0.108 30.3)
XYZxyz(34.2219, 27.3141, 17.1027)
Luminance0.2731 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC786A #6ABECC
analogous
#CC6A8D #CC786A #CCA96A
triadic
#CC786A #6ACC78 #786ACC
tetradic
#CC786A #8DCC6A #6ABECC #A96ACC
square
#CC786A #8DCC6A #6ABECC #A96ACC
split-complementary
#CC786A #6ACCA9 #6A8DCC
monochromatic
#8C3D30 #B9513F #CC786A #DCA198 #EBCBC5

Accessibility & contrast

On white

3.25
#CC786A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#CC786A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC786A
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC786A#FFFFFF#000000##000000
##CC786A1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8469
Deuteranopia (green-blind)
#A09569
Tritanopia (blue-blind)
#DC6C75
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cc786a;
/* rgb */ color: rgb(204, 120, 106);
/* oklch */ color: oklch(66.1% 0.108 30.3);
Tailwind
colors: {
  custom: {
    50: '#dfa094',
    500: '#cc786a',
    950: '#000000',
  },
}
SCSS
$custom: #cc786a;
$custom-light: #dfa094;
$custom-dark: #000000;
JSON
{
  "hex": "#cc786a",
  "rgb": {
    "r": 204,
    "g": 120,
    "b": 106
  },
  "hsl": {
    "h": 8.571,
    "s": 49,
    "l": 60.784
  },
  "oklch": {
    "l": 0.66068,
    "c": 0.10808,
    "h": 30.3
  },
  "luminance": 0.27311
}

Semantic roles & 50–950 ramp

primary
#CC786A
secondary
#B6D6DB
accent
#A7BC29
background
#FEF9F9
surface
#FCF2F1
border
#D5CCCB
text
#160F0D
muted
#847E7E

Preview Lab

Preview with #CC786A

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

Preview Lab → · Contrast checker → · Palette generator →

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