#CC798C#CC798C

#CC798C is a light, moderate red. Relative luminance 0.284; OKLCH L 67.1% C 0.106 H 5.5°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#CC798C
RGBrgb(204, 121, 140)
HSLhsl(346, 45%, 64%)
HSVhsv(346, 41%, 80%)
CMYKcmyk(0%, 40.7%, 31.4%, 20%)
CIE-LABlab(60.26, 34.66, 3.74)
CIE-LCHlch(60.26, 34.86, 6.16°)
OKLaboklab(67.08% 0.105 0.0102)
OKLCHoklch(67.08% 0.106 5.5)
XYZxyz(36.4741, 28.4084, 28.3682)
Luminance0.2841 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC798C #79CCB9
analogous
#CC79B5 #CC798C #CC8F79
triadic
#CC798C #8CCC79 #798CCC
tetradic
#CC798C #B5CC79 #79CCB9 #8F79CC
square
#CC798C #B5CC79 #79CCB9 #8F79CC
split-complementary
#CC798C #79CC8F #79B5CC
monochromatic
#93384D #BB4D66 #CC798C #DDA5B2 #EED2D8

Accessibility & contrast

On white

3.14
#CC798C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#CC798C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC798C
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC798C#FFFFFF#000000##000000
##CC798C1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86888D
Deuteranopia (green-blind)
#9B978A
Tritanopia (blue-blind)
#D97280
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cc798c;
/* rgb */ color: rgb(204, 121, 140);
/* oklch */ color: oklch(67.1% 0.106 5.5);
Tailwind
colors: {
  custom: {
    50: '#dea1ad',
    500: '#cc798c',
    950: '#000000',
  },
}
SCSS
$custom: #cc798c;
$custom-light: #dea1ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cc798c",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 140
  },
  "hsl": {
    "h": 346.265,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6708,
    "c": 0.10552,
    "h": 5.5
  },
  "luminance": 0.28406
}

Semantic roles & 50–950 ramp

primary
#CC798C
secondary
#C2DFD8
accent
#B8982D
background
#FDFAFA
surface
#FBF3F4
border
#D4CDCE
text
#150F10
muted
#837F7F

Preview Lab

Preview with #CC798C

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

Preview Lab → · Contrast checker → · Palette generator →

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