#CC798A#CC798A

#CC798A is a light, moderate red. Relative luminance 0.283; OKLCH L 67.0% C 0.105 H 7.1°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#CC798A
RGBrgb(204, 121, 138)
HSLhsl(348, 45%, 64%)
HSVhsv(348, 41%, 80%)
CMYKcmyk(0%, 40.7%, 32.4%, 20%)
CIE-LABlab(60.20, 34.40, 4.81)
CIE-LCHlch(60.20, 34.73, 7.97°)
OKLaboklab(67.02% 0.1043 0.013)
OKLCHoklch(67.02% 0.105 7.1)
XYZxyz(36.3280, 28.3499, 27.5986)
Luminance0.2835 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC798A #79CCBB
analogous
#CC79B3 #CC798A #CC9179
triadic
#CC798A #8ACC79 #798ACC
tetradic
#CC798A #B3CC79 #79CCBB #9179CC
square
#CC798A #B3CC79 #79CCBB #9179CC
split-complementary
#CC798A #79CC91 #79B3CC
monochromatic
#93384A #BB4D63 #CC798A #DDA5B1 #EED2D7

Accessibility & contrast

On white

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

On black

6.67
#CC798A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC798A
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC798A#FFFFFF#000000##000000
##CC798A1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87888A
Deuteranopia (green-blind)
#9B9788
Tritanopia (blue-blind)
#DA727F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cc798a;
/* rgb */ color: rgb(204, 121, 138);
/* oklch */ color: oklch(67.0% 0.105 7.1);
Tailwind
colors: {
  custom: {
    50: '#dea1ac',
    500: '#cc798a',
    950: '#000000',
  },
}
SCSS
$custom: #cc798a;
$custom-light: #dea1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc798a",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 138
  },
  "hsl": {
    "h": 347.711,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67023,
    "c": 0.10508,
    "h": 7.1
  },
  "luminance": 0.28347
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC798A

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

Preview Lab → · Contrast checker → · Palette generator →

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