#CC797B#CC797B

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

Color values

HEX#CC797B
RGBrgb(204, 121, 123)
HSLhsl(359, 45%, 64%)
HSVhsv(359, 41%, 80%)
CMYKcmyk(0%, 40.7%, 39.7%, 20%)
CIE-LABlab(59.84, 32.56, 12.92)
CIE-LCHlch(59.84, 35.03, 21.64°)
OKLaboklab(66.63% 0.0985 0.0333)
OKLCHoklch(66.63% 0.104 18.7)
XYZxyz(35.3161, 27.9452, 22.2690)
Luminance0.2794 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC797B #79CCCA
analogous
#CC79A4 #CC797B #CCA079
triadic
#CC797B #7BCC79 #797BCC
tetradic
#CC797B #A4CC79 #79CCCA #A079CC
square
#CC797B #A4CC79 #79CCCA #A079CC
split-complementary
#CC797B #79CCA0 #79A4CC
monochromatic
#93383A #BB4D4F #CC797B #DDA5A7 #EED2D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC797B#FFFFFF#000000##000000
##CC797B1.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)
#8A867B
Deuteranopia (green-blind)
#9E967A
Tritanopia (blue-blind)
#DB6F7A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cc797b;
/* rgb */ color: rgb(204, 121, 123);
/* oklch */ color: oklch(66.6% 0.104 18.7);
Tailwind
colors: {
  custom: {
    50: '#dea1a1',
    500: '#cc797b',
    950: '#000000',
  },
}
SCSS
$custom: #cc797b;
$custom-light: #dea1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc797b",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 123
  },
  "hsl": {
    "h": 358.554,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66625,
    "c": 0.10395,
    "h": 18.7
  },
  "luminance": 0.27942
}

Semantic roles & 50–950 ramp

primary
#CC797B
secondary
#C2DFDE
accent
#B8B52D
background
#FDFAF9
surface
#FBF3F2
border
#D4CDCC
text
#150F0E
muted
#837F7E

Preview Lab

Preview with #CC797B

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

Preview Lab → · Contrast checker → · Palette generator →

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