#CC796F#CC796F

#CC796F is a light, moderate red. Relative luminance 0.277; OKLCH L 66.3% C 0.106 H 27.6°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#CC796F
RGBrgb(204, 121, 111)
HSLhsl(6, 48%, 62%)
HSVhsv(6, 46%, 80%)
CMYKcmyk(0%, 40.7%, 45.6%, 20%)
CIE-LABlab(59.58, 31.26, 19.44)
CIE-LCHlch(59.58, 36.81, 31.87°)
OKLaboklab(66.35% 0.0937 0.0489)
OKLCHoklch(66.35% 0.106 27.6)
XYZxyz(34.6104, 27.6629, 18.5525)
Luminance0.2766 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC796F #6FC2CC
analogous
#CC6F94 #CC796F #CCA86F
triadic
#CC796F #6FCC79 #796FCC
tetradic
#CC796F #94CC6F #6FC2CC #A86FCC
square
#CC796F #94CC6F #6FC2CC #A86FCC
split-complementary
#CC796F #6FCCA8 #6F94CC
monochromatic
#8E3C32 #BB4F42 #CC796F #DCA39C #ECCDC9

Accessibility & contrast

On white

3.21
#CC796F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#CC796F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC796F
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC796F#FFFFFF#000000##000000
##CC796F1.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C856E
Deuteranopia (green-blind)
#A0966E
Tritanopia (blue-blind)
#DC6D77
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cc796f;
/* rgb */ color: rgb(204, 121, 111);
/* oklch */ color: oklch(66.3% 0.106 27.6);
Tailwind
colors: {
  custom: {
    50: '#dfa198',
    500: '#cc796f',
    950: '#000000',
  },
}
SCSS
$custom: #cc796f;
$custom-light: #dfa198;
$custom-dark: #000000;
JSON
{
  "hex": "#cc796f",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 111
  },
  "hsl": {
    "h": 6.452,
    "s": 47.692,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66345,
    "c": 0.10569,
    "h": 27.6
  },
  "luminance": 0.2766
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC796F

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

Preview Lab → · Contrast checker → · Palette generator →

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