#CC797D#CC797D

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

Color values

HEX#CC797D
RGBrgb(204, 121, 125)
HSLhsl(357, 45%, 64%)
HSVhsv(357, 41%, 80%)
CMYKcmyk(0%, 40.7%, 38.7%, 20%)
CIE-LABlab(59.88, 32.80, 11.84)
CIE-LCHlch(59.88, 34.87, 19.85°)
OKLaboklab(66.68% 0.0993 0.0306)
OKLCHoklch(66.68% 0.104 17.1)
XYZxyz(35.4425, 27.9958, 22.9351)
Luminance0.2799 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC797D #79CCC8
analogous
#CC79A6 #CC797D #CC9E79
triadic
#CC797D #7DCC79 #797DCC
tetradic
#CC797D #A6CC79 #79CCC8 #9E79CC
square
#CC797D #A6CC79 #79CCC8 #9E79CC
split-complementary
#CC797D #79CC9E #79A6CC
monochromatic
#93383C #BB4D52 #CC797D #DDA5A8 #EED2D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC797D#FFFFFF#000000##000000
##CC797D1.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)
#89867D
Deuteranopia (green-blind)
#9E977B
Tritanopia (blue-blind)
#DB707B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cc797d;
/* rgb */ color: rgb(204, 121, 125);
/* oklch */ color: oklch(66.7% 0.104 17.1);
Tailwind
colors: {
  custom: {
    50: '#dea1a2',
    500: '#cc797d',
    950: '#000000',
  },
}
SCSS
$custom: #cc797d;
$custom-light: #dea1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc797d",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 125
  },
  "hsl": {
    "h": 357.108,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66675,
    "c": 0.10388,
    "h": 17.1
  },
  "luminance": 0.27993
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC797D

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

Preview Lab → · Contrast checker → · Palette generator →

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