#CC797F#CC797F

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

Color values

HEX#CC797F
RGBrgb(204, 121, 127)
HSLhsl(356, 45%, 64%)
HSVhsv(356, 41%, 80%)
CMYKcmyk(0%, 40.7%, 37.7%, 20%)
CIE-LABlab(59.93, 33.03, 10.75)
CIE-LCHlch(59.93, 34.74, 18.03°)
OKLaboklab(66.73% 0.1001 0.028)
OKLCHoklch(66.73% 0.104 15.6)
XYZxyz(35.5716, 28.0474, 23.6148)
Luminance0.2804 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC797F #79CCC6
analogous
#CC79A8 #CC797F #CC9C79
triadic
#CC797F #7FCC79 #797FCC
tetradic
#CC797F #A8CC79 #79CCC6 #9C79CC
square
#CC797F #A8CC79 #79CCC6 #9C79CC
split-complementary
#CC797F #79CC9C #79A8CC
monochromatic
#93383E #BB4D55 #CC797F #DDA5A9 #EED2D4

Accessibility & contrast

On white

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

On black

6.61
#CC797F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC797F
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC797F#FFFFFF#000000##000000
##CC797F1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#89877F
Deuteranopia (green-blind)
#9D977D
Tritanopia (blue-blind)
#DB707B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cc797f;
/* rgb */ color: rgb(204, 121, 127);
/* oklch */ color: oklch(66.7% 0.104 15.6);
Tailwind
colors: {
  custom: {
    50: '#dea1a4',
    500: '#cc797f',
    950: '#000000',
  },
}
SCSS
$custom: #cc797f;
$custom-light: #dea1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc797f",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 127
  },
  "hsl": {
    "h": 355.663,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66726,
    "c": 0.10388,
    "h": 15.6
  },
  "luminance": 0.28044
}

Semantic roles & 50–950 ramp

primary
#CC797F
secondary
#C2DFDD
accent
#B8AE2D
background
#FDFAFA
surface
#FBF3F4
border
#D4CDCE
text
#150F0F
muted
#837F7F

Preview Lab

Preview with #CC797F

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

Preview Lab → · Contrast checker → · Palette generator →

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