#CC798B#CC798B

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

Color values

HEX#CC798B
RGBrgb(204, 121, 139)
HSLhsl(347, 45%, 64%)
HSVhsv(347, 41%, 80%)
CMYKcmyk(0%, 40.7%, 31.9%, 20%)
CIE-LABlab(60.23, 34.52, 4.28)
CIE-LCHlch(60.23, 34.79, 7.06°)
OKLaboklab(67.05% 0.1047 0.0116)
OKLCHoklch(67.05% 0.105 6.3)
XYZxyz(36.4007, 28.3790, 27.9816)
Luminance0.2838 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC798B #79CCBA
analogous
#CC79B4 #CC798B #CC9079
triadic
#CC798B #8BCC79 #798BCC
tetradic
#CC798B #B4CC79 #79CCBA #9079CC
square
#CC798B #B4CC79 #79CCBA #9079CC
split-complementary
#CC798B #79CC90 #79B4CC
monochromatic
#93384C #BB4D65 #CC798B #DDA5B1 #EED2D8

Accessibility & contrast

On white

3.15
#CC798B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC798B#FFFFFF#000000##000000
##CC798B1.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86888B
Deuteranopia (green-blind)
#9B9789
Tritanopia (blue-blind)
#D9727F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cc798b;
/* rgb */ color: rgb(204, 121, 139);
/* oklch */ color: oklch(67.1% 0.105 6.3);
Tailwind
colors: {
  custom: {
    50: '#dea1ac',
    500: '#cc798b',
    950: '#000000',
  },
}
SCSS
$custom: #cc798b;
$custom-light: #dea1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc798b",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 139
  },
  "hsl": {
    "h": 346.988,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67051,
    "c": 0.1053,
    "h": 6.3
  },
  "luminance": 0.28376
}

Semantic roles & 50–950 ramp

primary
#CC798B
secondary
#C2DFD9
accent
#B89A2D
background
#FDFAFA
surface
#FBF3F4
border
#D4CDCE
text
#150F10
muted
#837F7F

Preview Lab

Preview with #CC798B

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

Preview Lab → · Contrast checker → · Palette generator →

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