#CC787D#CC787D

#CC787D is a light, moderate red. Relative luminance 0.278; OKLCH L 66.5% C 0.105 H 16.5°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#CC787D
RGBrgb(204, 120, 125)
HSLhsl(356, 45%, 64%)
HSVhsv(356, 41%, 80%)
CMYKcmyk(0%, 41.2%, 38.7%, 20%)
CIE-LABlab(59.67, 33.33, 11.53)
CIE-LCHlch(59.67, 35.27, 19.08°)
OKLaboklab(66.51% 0.1009 0.0299)
OKLCHoklch(66.51% 0.105 16.5)
XYZxyz(35.3217, 27.7540, 22.8948)
Luminance0.2775 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC787D #78CCC7
analogous
#CC78A7 #CC787D #CC9D78
triadic
#CC787D #7DCC78 #787DCC
tetradic
#CC787D #A7CC78 #78CCC7 #9D78CC
square
#CC787D #A7CC78 #78CCC7 #9D78CC
split-complementary
#CC787D #78CC9D #78A7CC
monochromatic
#92373D #BB4C52 #CC787D #DDA4A8 #EED1D3

Accessibility & contrast

On white

3.21
#CC787D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#CC787D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC787D
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC787D#FFFFFF#000000##000000
##CC787D1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#88867D
Deuteranopia (green-blind)
#9D967B
Tritanopia (blue-blind)
#DB6F7A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cc787d;
/* rgb */ color: rgb(204, 120, 125);
/* oklch */ color: oklch(66.5% 0.105 16.5);
Tailwind
colors: {
  custom: {
    50: '#dea0a2',
    500: '#cc787d',
    950: '#000000',
  },
}
SCSS
$custom: #cc787d;
$custom-light: #dea0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc787d",
  "rgb": {
    "r": 204,
    "g": 120,
    "b": 125
  },
  "hsl": {
    "h": 356.429,
    "s": 45.161,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66507,
    "c": 0.10522,
    "h": 16.5
  },
  "luminance": 0.27751
}

Semantic roles & 50–950 ramp

primary
#CC787D
secondary
#C1DFDD
accent
#B8B02D
background
#FDF9F9
surface
#FBF2F2
border
#D4CCCC
text
#150F0F
muted
#837E7E

Preview Lab

Preview with #CC787D

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

Preview Lab → · Contrast checker → · Palette generator →

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