#CC786B#CC786B

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

Color values

HEX#CC786B
RGBrgb(204, 120, 107)
HSLhsl(8, 49%, 61%)
HSVhsv(8, 48%, 80%)
CMYKcmyk(0%, 41.2%, 47.5%, 20%)
CIE-LABlab(59.28, 31.39, 21.31)
CIE-LCHlch(59.28, 37.94, 34.17°)
OKLaboklab(66.09% 0.0937 0.0533)
OKLCHoklch(66.09% 0.108 29.6)
XYZxyz(34.2742, 27.3350, 17.3782)
Luminance0.2733 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC786B #6BBFCC
analogous
#CC6B8E #CC786B #CCA86B
triadic
#CC786B #6BCC78 #786BCC
tetradic
#CC786B #8ECC6B #6BBFCC #A86BCC
square
#CC786B #8ECC6B #6BBFCC #A86BCC
split-complementary
#CC786B #6BCCA8 #6B8ECC
monochromatic
#8C3D30 #BA5040 #CC786B #DCA299 #EBCBC6

Accessibility & contrast

On white

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

On black

6.47
#CC786B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC786B
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC786B#FFFFFF#000000##000000
##CC786B1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc786b;
/* rgb */ color: rgb(204, 120, 107);
/* oklch */ color: oklch(66.1% 0.108 29.6);
Tailwind
colors: {
  custom: {
    50: '#dfa095',
    500: '#cc786b',
    950: '#000000',
  },
}
SCSS
$custom: #cc786b;
$custom-light: #dfa095;
$custom-dark: #000000;
JSON
{
  "hex": "#cc786b",
  "rgb": {
    "r": 204,
    "g": 120,
    "b": 107
  },
  "hsl": {
    "h": 8.041,
    "s": 48.744,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66089,
    "c": 0.1078,
    "h": 29.6
  },
  "luminance": 0.27332
}

Semantic roles & 50–950 ramp

primary
#CC786B
secondary
#B7D7DC
accent
#A8BC29
background
#FEF9F9
surface
#FCF2F1
border
#D5CCCB
text
#160F0D
muted
#847E7E

Preview Lab

Preview with #CC786B

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

Preview Lab → · Contrast checker → · Palette generator →

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