#CC797A#CC797A

#CC797A is a light, moderate red. Relative luminance 0.279; OKLCH L 66.6% C 0.104 H 19.4°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#CC797A
RGBrgb(204, 121, 122)
HSLhsl(359, 45%, 64%)
HSVhsv(359, 41%, 80%)
CMYKcmyk(0%, 40.7%, 40.2%, 20%)
CIE-LABlab(59.82, 32.45, 13.46)
CIE-LCHlch(59.82, 35.13, 22.53°)
OKLaboklab(66.6% 0.0981 0.0346)
OKLCHoklch(66.6% 0.104 19.4)
XYZxyz(35.2538, 27.9203, 21.9410)
Luminance0.2792 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC797A #79CCCB
analogous
#CC79A3 #CC797A #CCA179
triadic
#CC797A #7ACC79 #797ACC
tetradic
#CC797A #A3CC79 #79CCCB #A179CC
square
#CC797A #A3CC79 #79CCCB #A179CC
split-complementary
#CC797A #79CCA1 #79A3CC
monochromatic
#933839 #BB4D4E #CC797A #DDA5A6 #EED2D2

Accessibility & contrast

On white

3.19
#CC797A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#CC797A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC797A
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC797A#FFFFFF#000000##000000
##CC797A1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A867A
Deuteranopia (green-blind)
#9E9679
Tritanopia (blue-blind)
#DB6F7A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cc797a;
/* rgb */ color: rgb(204, 121, 122);
/* oklch */ color: oklch(66.6% 0.104 19.4);
Tailwind
colors: {
  custom: {
    50: '#dea1a0',
    500: '#cc797a',
    950: '#000000',
  },
}
SCSS
$custom: #cc797a;
$custom-light: #dea1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc797a",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 122
  },
  "hsl": {
    "h": 359.277,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.666,
    "c": 0.10401,
    "h": 19.4
  },
  "luminance": 0.27917
}

Semantic roles & 50–950 ramp

primary
#CC797A
secondary
#C2DFDF
accent
#B8B62D
background
#FDFAF9
surface
#FBF3F2
border
#D4CDCC
text
#150F0E
muted
#837F7E

Preview Lab

Preview with #CC797A

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

Preview Lab → · Contrast checker → · Palette generator →

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