#CC796A#CC796A

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

Color values

HEX#CC796A
RGBrgb(204, 121, 106)
HSLhsl(9, 49%, 61%)
HSVhsv(9, 48%, 80%)
CMYKcmyk(0%, 40.7%, 48%, 20%)
CIE-LABlab(59.49, 30.76, 22.15)
CIE-LCHlch(59.49, 37.90, 35.76°)
OKLaboklab(66.24% 0.0917 0.0552)
OKLCHoklch(66.24% 0.107 31.1)
XYZxyz(34.3428, 27.5558, 17.1430)
Luminance0.2755 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC796A #6ABDCC
analogous
#CC6A8C #CC796A #CCAA6A
triadic
#CC796A #6ACC79 #796ACC
tetradic
#CC796A #8CCC6A #6ABDCC #AA6ACC
square
#CC796A #8CCC6A #6ABDCC #AA6ACC
split-complementary
#CC796A #6ACCAA #6A8CCC
monochromatic
#8C3E30 #B9523F #CC796A #DCA298 #EBCBC5

Accessibility & contrast

On white

3.23
#CC796A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#CC796A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC796A
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC796A#FFFFFF#000000##000000
##CC796A1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8569
Deuteranopia (green-blind)
#A09669
Tritanopia (blue-blind)
#DC6D75
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cc796a;
/* rgb */ color: rgb(204, 121, 106);
/* oklch */ color: oklch(66.2% 0.107 31.1);
Tailwind
colors: {
  custom: {
    50: '#dfa194',
    500: '#cc796a',
    950: '#000000',
  },
}
SCSS
$custom: #cc796a;
$custom-light: #dfa194;
$custom-dark: #000000;
JSON
{
  "hex": "#cc796a",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 106
  },
  "hsl": {
    "h": 9.184,
    "s": 49,
    "l": 60.784
  },
  "oklch": {
    "l": 0.66238,
    "c": 0.10703,
    "h": 31.1
  },
  "luminance": 0.27553
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC796A

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

Preview Lab → · Contrast checker → · Palette generator →

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