#CC978E#CC978E

#CC978E is a light, moderate red. Relative luminance 0.369; OKLCH L 72.4% C 0.066 H 29.7°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#CC978E
RGBrgb(204, 151, 142)
HSLhsl(9, 38%, 68%)
HSVhsv(9, 30%, 80%)
CMYKcmyk(0%, 26%, 30.4%, 20%)
CIE-LABlab(67.22, 18.62, 12.54)
CIE-LCHlch(67.22, 22.45, 33.95°)
OKLaboklab(72.45% 0.057 0.0325)
OKLCHoklch(72.45% 0.066 29.7)
XYZxyz(40.8519, 36.9258, 30.5616)
Luminance0.3692 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC978E #8EC3CC
analogous
#CC8EA4 #CC978E #CCB68E
triadic
#CC978E #8ECC97 #978ECC
tetradic
#CC978E #A4CC8E #8EC3CC #B68ECC
square
#CC978E #A4CC8E #8EC3CC #B68ECC
split-complementary
#CC978E #8ECCB6 #8EA4CC
monochromatic
#9A5246 #B97064 #CC978E #DFBEB8 #F2E5E2

Accessibility & contrast

On white

2.50
#CC978E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#CC978E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC978E
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC978E#FFFFFF#000000##000000
##CC978E1.002.508.388.38
#FFFFFF2.501.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29D8D
Deuteranopia (green-blind)
#AFA88D
Tritanopia (blue-blind)
#D89095
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cc978e;
/* rgb */ color: rgb(204, 151, 142);
/* oklch */ color: oklch(72.4% 0.066 29.7);
Tailwind
colors: {
  custom: {
    50: '#ddb5af',
    500: '#cc978e',
    950: '#000000',
  },
}
SCSS
$custom: #cc978e;
$custom-light: #ddb5af;
$custom-dark: #000000;
JSON
{
  "hex": "#cc978e",
  "rgb": {
    "r": 204,
    "g": 151,
    "b": 142
  },
  "hsl": {
    "h": 8.71,
    "s": 37.805,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72448,
    "c": 0.06561,
    "h": 29.7
  },
  "luminance": 0.36924
}

Semantic roles & 50–950 ramp

primary
#CC978E
secondary
#D1E2E4
accent
#9FB135
background
#FDFBFA
surface
#FBF6F4
border
#D4D0CE
text
#151110
muted
#83807F

Preview Lab

Preview with #CC978E

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

Preview Lab → · Contrast checker → · Palette generator →

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