#CC987C#CC987C

#CC987C is a light, moderate orange. Relative luminance 0.367; OKLCH L 72.2% C 0.074 H 49.4°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#CC987C
RGBrgb(204, 152, 124)
HSLhsl(21, 44%, 64%)
HSVhsv(21, 39%, 80%)
CMYKcmyk(0%, 25.5%, 39.2%, 20%)
CIE-LABlab(67.09, 15.83, 22.34)
CIE-LCHlch(67.09, 27.38, 54.68°)
OKLaboklab(72.22% 0.0481 0.0562)
OKLCHoklch(72.22% 0.074 49.4)
XYZxyz(39.7696, 36.7515, 24.0639)
Luminance0.3675 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC987C #7CB0CC
analogous
#CC7C88 #CC987C #CCC07C
triadic
#CC987C #7CCC98 #987CCC
tetradic
#CC987C #88CC7C #7CB0CC #C07CCC
square
#CC987C #88CC7C #7CB0CC #C07CCC
split-complementary
#CC987C #7CCCC0 #7C88CC
monochromatic
#94593A #BB7550 #CC987C #DDBBA8 #EEDDD4

Accessibility & contrast

On white

2.52
#CC987C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#CC987C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC987C
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC987C#FFFFFF#000000##000000
##CC987C1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69D7A
Deuteranopia (green-blind)
#B2A87C
Tritanopia (blue-blind)
#DA8F91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cc987c;
/* rgb */ color: rgb(204, 152, 124);
/* oklch */ color: oklch(72.2% 0.074 49.4);
Tailwind
colors: {
  custom: {
    50: '#ddb6a2',
    500: '#cc987c',
    950: '#000000',
  },
}
SCSS
$custom: #cc987c;
$custom-light: #ddb6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc987c",
  "rgb": {
    "r": 204,
    "g": 152,
    "b": 124
  },
  "hsl": {
    "h": 21,
    "s": 43.956,
    "l": 64.314
  },
  "oklch": {
    "l": 0.72223,
    "c": 0.07398,
    "h": 49.4
  },
  "luminance": 0.36749
}

Semantic roles & 50–950 ramp

primary
#CC987C
secondary
#C4D6E0
accent
#87B72E
background
#FDFBF9
surface
#FBF6F2
border
#D4D0CC
text
#15110F
muted
#83807E

Preview Lab

Preview with #CC987C

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

Preview Lab → · Contrast checker → · Palette generator →

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