#CC797E#CC797E

#CC797E is a light, moderate red. Relative luminance 0.280; OKLCH L 66.7% C 0.104 H 16.4°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#CC797E
RGBrgb(204, 121, 126)
HSLhsl(356, 45%, 64%)
HSVhsv(356, 41%, 80%)
CMYKcmyk(0%, 40.7%, 38.2%, 20%)
CIE-LABlab(59.91, 32.91, 11.29)
CIE-LCHlch(59.91, 34.80, 18.94°)
OKLaboklab(66.7% 0.0997 0.0293)
OKLCHoklch(66.7% 0.104 16.4)
XYZxyz(35.5068, 28.0214, 23.2733)
Luminance0.2802 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC797E #79CCC7
analogous
#CC79A7 #CC797E #CC9D79
triadic
#CC797E #7ECC79 #797ECC
tetradic
#CC797E #A7CC79 #79CCC7 #9D79CC
square
#CC797E #A7CC79 #79CCC7 #9D79CC
split-complementary
#CC797E #79CC9D #79A7CC
monochromatic
#93383D #BB4D53 #CC797E #DDA5A9 #EED2D3

Accessibility & contrast

On white

3.18
#CC797E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#CC797E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC797E
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC797E#FFFFFF#000000##000000
##CC797E1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89867E
Deuteranopia (green-blind)
#9D977C
Tritanopia (blue-blind)
#DB707B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cc797e;
/* rgb */ color: rgb(204, 121, 126);
/* oklch */ color: oklch(66.7% 0.104 16.4);
Tailwind
colors: {
  custom: {
    50: '#dea1a3',
    500: '#cc797e',
    950: '#000000',
  },
}
SCSS
$custom: #cc797e;
$custom-light: #dea1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc797e",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 126
  },
  "hsl": {
    "h": 356.386,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.667,
    "c": 0.10388,
    "h": 16.4
  },
  "luminance": 0.28018
}

Semantic roles & 50–950 ramp

primary
#CC797E
secondary
#C2DFDD
accent
#B8B02D
background
#FDFAFA
surface
#FBF3F3
border
#D4CDCD
text
#150F0F
muted
#837F7F

Preview Lab

Preview with #CC797E

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

Preview Lab → · Contrast checker → · Palette generator →

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