#CC798D#CC798D

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

Color values

HEX#CC798D
RGBrgb(204, 121, 141)
HSLhsl(346, 45%, 64%)
HSVhsv(346, 41%, 80%)
CMYKcmyk(0%, 40.7%, 30.9%, 20%)
CIE-LABlab(60.28, 34.79, 3.20)
CIE-LCHlch(60.28, 34.93, 5.26°)
OKLaboklab(67.11% 0.1054 0.0088)
OKLCHoklch(67.11% 0.106 4.8)
XYZxyz(36.5482, 28.4380, 28.7583)
Luminance0.2843 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC798D #79CCB8
analogous
#CC79B6 #CC798D #CC8E79
triadic
#CC798D #8DCC79 #798DCC
tetradic
#CC798D #B6CC79 #79CCB8 #8E79CC
square
#CC798D #B6CC79 #79CCB8 #8E79CC
split-complementary
#CC798D #79CC8E #79B6CC
monochromatic
#93384E #BB4D67 #CC798D #DDA5B3 #EED2D8

Accessibility & contrast

On white

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

On black

6.69
#CC798D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC798D
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC798D#FFFFFF#000000##000000
##CC798D1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#86888E
Deuteranopia (green-blind)
#9B978B
Tritanopia (blue-blind)
#D97380
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cc798d;
/* rgb */ color: rgb(204, 121, 141);
/* oklch */ color: oklch(67.1% 0.106 4.8);
Tailwind
colors: {
  custom: {
    50: '#dea1ae',
    500: '#cc798d',
    950: '#000000',
  },
}
SCSS
$custom: #cc798d;
$custom-light: #dea1ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cc798d",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 141
  },
  "hsl": {
    "h": 345.542,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67109,
    "c": 0.10577,
    "h": 4.8
  },
  "luminance": 0.28435
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC798D

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

Preview Lab → · Contrast checker → · Palette generator →

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