#CC7987#CC7987

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

Color values

HEX#CC7987
RGBrgb(204, 121, 135)
HSLhsl(350, 45%, 64%)
HSVhsv(350, 41%, 80%)
CMYKcmyk(0%, 40.7%, 33.8%, 20%)
CIE-LABlab(60.13, 34.01, 6.43)
CIE-LCHlch(60.13, 34.61, 10.70°)
OKLaboklab(66.94% 0.1031 0.0171)
OKLCHoklch(66.94% 0.105 9.4)
XYZxyz(36.1138, 28.2643, 26.4705)
Luminance0.2826 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7987 #79CCBE
analogous
#CC79B0 #CC7987 #CC9479
triadic
#CC7987 #87CC79 #7987CC
tetradic
#CC7987 #B0CC79 #79CCBE #9479CC
square
#CC7987 #B0CC79 #79CCBE #9479CC
split-complementary
#CC7987 #79CC94 #79B0CC
monochromatic
#933847 #BB4D5F #CC7987 #DDA5AF #EED2D6

Accessibility & contrast

On white

3.16
#CC7987 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#CC7987 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC7987
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7987#FFFFFF#000000##000000
##CC79871.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#878787
Deuteranopia (green-blind)
#9C9785
Tritanopia (blue-blind)
#DA717E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cc7987;
/* rgb */ color: rgb(204, 121, 135);
/* oklch */ color: oklch(66.9% 0.105 9.4);
Tailwind
colors: {
  custom: {
    50: '#dea1a9',
    500: '#cc7987',
    950: '#000000',
  },
}
SCSS
$custom: #cc7987;
$custom-light: #dea1a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7987",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 135
  },
  "hsl": {
    "h": 349.88,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66939,
    "c": 0.10454,
    "h": 9.4
  },
  "luminance": 0.28261
}

Semantic roles & 50–950 ramp

primary
#CC7987
secondary
#C2DFDA
accent
#B8A12D
background
#FDFAFA
surface
#FBF3F4
border
#D4CDCE
text
#150F10
muted
#837F7F

Preview Lab

Preview with #CC7987

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

Preview Lab → · Contrast checker → · Palette generator →

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