#CC786F#CC786F

#CC786F is a light, moderate red. Relative luminance 0.274; OKLCH L 66.2% C 0.107 H 26.8°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#CC786F
RGBrgb(204, 120, 111)
HSLhsl(6, 48%, 62%)
HSVhsv(6, 46%, 80%)
CMYKcmyk(0%, 41.2%, 45.6%, 20%)
CIE-LABlab(59.36, 31.79, 19.14)
CIE-LCHlch(59.36, 37.11, 31.04°)
OKLaboklab(66.18% 0.0953 0.0482)
OKLCHoklch(66.18% 0.107 26.8)
XYZxyz(34.4895, 27.4211, 18.5122)
Luminance0.2742 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC786F #6FC3CC
analogous
#CC6F95 #CC786F #CCA66F
triadic
#CC786F #6FCC78 #786FCC
tetradic
#CC786F #95CC6F #6FC3CC #A66FCC
square
#CC786F #95CC6F #6FC3CC #A66FCC
split-complementary
#CC786F #6FCCA6 #6F95CC
monochromatic
#8E3B32 #BB4E42 #CC786F #DCA29C #ECCDC9

Accessibility & contrast

On white

3.24
#CC786F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#CC786F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC786F
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC786F#FFFFFF#000000##000000
##CC786F1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B846E
Deuteranopia (green-blind)
#9F966E
Tritanopia (blue-blind)
#DC6C76
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cc786f;
/* rgb */ color: rgb(204, 120, 111);
/* oklch */ color: oklch(66.2% 0.107 26.8);
Tailwind
colors: {
  custom: {
    50: '#dfa098',
    500: '#cc786f',
    950: '#000000',
  },
}
SCSS
$custom: #cc786f;
$custom-light: #dfa098;
$custom-dark: #000000;
JSON
{
  "hex": "#cc786f",
  "rgb": {
    "r": 204,
    "g": 120,
    "b": 111
  },
  "hsl": {
    "h": 5.806,
    "s": 47.692,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66176,
    "c": 0.10682,
    "h": 26.8
  },
  "luminance": 0.27418
}

Semantic roles & 50–950 ramp

primary
#CC786F
secondary
#BAD9DD
accent
#ADBB2B
background
#FEF9F9
surface
#FCF2F2
border
#D5CCCC
text
#160F0D
muted
#847E7E

Preview Lab

Preview with #CC786F

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

Preview Lab → · Contrast checker → · Palette generator →

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