#CC796C#CC796C

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

Color values

HEX#CC796C
RGBrgb(204, 121, 108)
HSLhsl(8, 48%, 61%)
HSVhsv(8, 47%, 80%)
CMYKcmyk(0%, 40.7%, 47.1%, 20%)
CIE-LABlab(59.52, 30.95, 21.07)
CIE-LCHlch(59.52, 37.44, 34.24°)
OKLaboklab(66.28% 0.0925 0.0527)
OKLCHoklch(66.28% 0.106 29.7)
XYZxyz(34.4480, 27.5979, 17.6971)
Luminance0.2759 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC796C #6CBFCC
analogous
#CC6C8F #CC796C #CCA96C
triadic
#CC796C #6CCC79 #796CCC
tetradic
#CC796C #8FCC6C #6CBFCC #A96CCC
square
#CC796C #8FCC6C #6CBFCC #A96CCC
split-complementary
#CC796C #6CCCA9 #6C8FCC
monochromatic
#8D3D31 #BA5141 #CC796C #DCA299 #ECCCC7

Accessibility & contrast

On white

3.22
#CC796C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#CC796C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC796C
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC796C#FFFFFF#000000##000000
##CC796C1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C856B
Deuteranopia (green-blind)
#A0966B
Tritanopia (blue-blind)
#DC6D76
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cc796c;
/* rgb */ color: rgb(204, 121, 108);
/* oklch */ color: oklch(66.3% 0.106 29.7);
Tailwind
colors: {
  custom: {
    50: '#dfa196',
    500: '#cc796c',
    950: '#000000',
  },
}
SCSS
$custom: #cc796c;
$custom-light: #dfa196;
$custom-dark: #000000;
JSON
{
  "hex": "#cc796c",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 108
  },
  "hsl": {
    "h": 8.125,
    "s": 48.485,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6628,
    "c": 0.10645,
    "h": 29.7
  },
  "luminance": 0.27595
}

Semantic roles & 50–950 ramp

primary
#CC796C
secondary
#B8D7DC
accent
#A8BC2A
background
#FEF9F9
surface
#FCF2F2
border
#D5CCCC
text
#160F0D
muted
#847E7E

Preview Lab

Preview with #CC796C

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

Preview Lab → · Contrast checker → · Palette generator →

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