#CC987F#CC987F

#CC987F is a light, moderate orange. Relative luminance 0.368; OKLCH L 72.3% C 0.072 H 46.8°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#CC987F
RGBrgb(204, 152, 127)
HSLhsl(19, 43%, 65%)
HSVhsv(19, 38%, 80%)
CMYKcmyk(0%, 25.5%, 37.7%, 20%)
CIE-LABlab(67.15, 16.18, 20.76)
CIE-LCHlch(67.15, 26.32, 52.07°)
OKLaboklab(72.29% 0.0493 0.0525)
OKLCHoklch(72.29% 0.072 46.8)
XYZxyz(39.9622, 36.8285, 25.0783)
Luminance0.3683 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC987F #7FB3CC
analogous
#CC7F8C #CC987F #CCBF7F
triadic
#CC987F #7FCC98 #987FCC
tetradic
#CC987F #8CCC7F #7FB3CC #BF7FCC
square
#CC987F #8CCC7F #7FB3CC #BF7FCC
split-complementary
#CC987F #7FCCBF #7F8CCC
monochromatic
#95593B #BB7553 #CC987F #DDBBAB #EFDED7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC987F#FFFFFF#000000##000000
##CC987F1.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)
#A69D7D
Deuteranopia (green-blind)
#B2A87F
Tritanopia (blue-blind)
#D98F91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cc987f;
/* rgb */ color: rgb(204, 152, 127);
/* oklch */ color: oklch(72.3% 0.072 46.8);
Tailwind
colors: {
  custom: {
    50: '#ddb6a4',
    500: '#cc987f',
    950: '#000000',
  },
}
SCSS
$custom: #cc987f;
$custom-light: #ddb6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc987f",
  "rgb": {
    "r": 204,
    "g": 152,
    "b": 127
  },
  "hsl": {
    "h": 19.481,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.72287,
    "c": 0.07203,
    "h": 46.8
  },
  "luminance": 0.36826
}

Semantic roles & 50–950 ramp

primary
#CC987F
secondary
#C6D8E1
accent
#8AB62F
background
#FDFBFA
surface
#FBF6F4
border
#D4D0CE
text
#15110F
muted
#83807F

Preview Lab

Preview with #CC987F

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

Preview Lab → · Contrast checker → · Palette generator →

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