#CC978B#CC978B

#CC978B is a light, moderate red. Relative luminance 0.368; OKLCH L 72.4% C 0.067 H 33.1°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#CC978B
RGBrgb(204, 151, 139)
HSLhsl(11, 39%, 67%)
HSVhsv(11, 32%, 80%)
CMYKcmyk(0%, 26%, 31.9%, 20%)
CIE-LABlab(67.15, 18.23, 14.11)
CIE-LCHlch(67.15, 23.05, 37.75°)
OKLaboklab(72.37% 0.0558 0.0364)
OKLCHoklch(72.37% 0.067 33.1)
XYZxyz(40.6297, 36.8369, 29.3913)
Luminance0.3684 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC978B #8BC0CC
analogous
#CC8BA0 #CC978B #CCB88B
triadic
#CC978B #8BCC97 #978BCC
tetradic
#CC978B #A0CC8B #8BC0CC #B88BCC
square
#CC978B #A0CC8B #8BC0CC #B88BCC
split-complementary
#CC978B #8BCCB8 #8BA0CC
monochromatic
#995343 #B97160 #CC978B #DFBDB6 #F1E3E0

Accessibility & contrast

On white

2.51
#CC978B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#CC978B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC978B
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC978B#FFFFFF#000000##000000
##CC978B1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39D8A
Deuteranopia (green-blind)
#AFA88B
Tritanopia (blue-blind)
#D89094
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cc978b;
/* rgb */ color: rgb(204, 151, 139);
/* oklch */ color: oklch(72.4% 0.067 33.1);
Tailwind
colors: {
  custom: {
    50: '#ddb5ac',
    500: '#cc978b',
    950: '#000000',
  },
}
SCSS
$custom: #cc978b;
$custom-light: #ddb5ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc978b",
  "rgb": {
    "r": 204,
    "g": 151,
    "b": 139
  },
  "hsl": {
    "h": 11.077,
    "s": 38.922,
    "l": 67.255
  },
  "oklch": {
    "l": 0.72374,
    "c": 0.06662,
    "h": 33.1
  },
  "luminance": 0.36835
}

Semantic roles & 50–950 ramp

primary
#CC978B
secondary
#CFE0E4
accent
#9BB234
background
#FDFBFA
surface
#FBF6F4
border
#D4D0CE
text
#151110
muted
#83807F

Preview Lab

Preview with #CC978B

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

Preview Lab → · Contrast checker → · Palette generator →

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