#CC797C#CC797C

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

Color values

HEX#CC797C
RGBrgb(204, 121, 124)
HSLhsl(358, 45%, 64%)
HSVhsv(358, 41%, 80%)
CMYKcmyk(0%, 40.7%, 39.2%, 20%)
CIE-LABlab(59.86, 32.68, 12.38)
CIE-LCHlch(59.86, 34.95, 20.75°)
OKLaboklab(66.65% 0.0989 0.032)
OKLCHoklch(66.65% 0.104 17.9)
XYZxyz(35.3790, 27.9703, 22.6004)
Luminance0.2797 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC797C #79CCC9
analogous
#CC79A5 #CC797C #CC9F79
triadic
#CC797C #7CCC79 #797CCC
tetradic
#CC797C #A5CC79 #79CCC9 #9F79CC
square
#CC797C #A5CC79 #79CCC9 #9F79CC
split-complementary
#CC797C #79CC9F #79A5CC
monochromatic
#93383B #BB4D51 #CC797C #DDA5A7 #EED2D3

Accessibility & contrast

On white

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

On black

6.59
#CC797C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC797C
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC797C#FFFFFF#000000##000000
##CC797C1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#89867C
Deuteranopia (green-blind)
#9E977B
Tritanopia (blue-blind)
#DB6F7A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cc797c;
/* rgb */ color: rgb(204, 121, 124);
/* oklch */ color: oklch(66.6% 0.104 17.9);
Tailwind
colors: {
  custom: {
    50: '#dea1a1',
    500: '#cc797c',
    950: '#000000',
  },
}
SCSS
$custom: #cc797c;
$custom-light: #dea1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc797c",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 124
  },
  "hsl": {
    "h": 357.831,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6665,
    "c": 0.10391,
    "h": 17.9
  },
  "luminance": 0.27967
}

Semantic roles & 50–950 ramp

primary
#CC797C
secondary
#C2DFDE
accent
#B8B32D
background
#FDFAF9
surface
#FBF3F2
border
#D4CDCC
text
#150F0F
muted
#837F7E

Preview Lab

Preview with #CC797C

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

Preview Lab → · Contrast checker → · Palette generator →

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