#CC877F#CC877F

#CC877F is a light, moderate red. Relative luminance 0.317; OKLCH L 69.2% C 0.086 H 26.8°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#CC877F
RGBrgb(204, 135, 127)
HSLhsl(6, 43%, 65%)
HSVhsv(6, 38%, 80%)
CMYKcmyk(0%, 33.8%, 37.7%, 20%)
CIE-LABlab(63.09, 25.46, 15.18)
CIE-LCHlch(63.09, 29.65, 30.81°)
OKLaboklab(69.15% 0.0771 0.0389)
OKLCHoklch(69.15% 0.086 26.8)
XYZxyz(37.3981, 31.7003, 24.2236)
Luminance0.3170 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC877F #7FC4CC
analogous
#CC7F9D #CC877F #CCAE7F
triadic
#CC877F #7FCC87 #877FCC
tetradic
#CC877F #9DCC7F #7FC4CC #AE7FCC
square
#CC877F #9DCC7F #7FC4CC #AE7FCC
split-complementary
#CC877F #7FCCAE #7F9DCC
monochromatic
#95453B #BB5E53 #CC877F #DDB0AB #EFD9D7

Accessibility & contrast

On white

2.86
#CC877F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#CC877F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC877F
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC877F#FFFFFF#000000##000000
##CC877F1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#96907E
Deuteranopia (green-blind)
#A69E7E
Tritanopia (blue-blind)
#DA7E85
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc877f;
/* rgb */ color: rgb(204, 135, 127);
/* oklch */ color: oklch(69.2% 0.086 26.8);
Tailwind
colors: {
  custom: {
    50: '#ddaaa4',
    500: '#cc877f',
    950: '#000000',
  },
}
SCSS
$custom: #cc877f;
$custom-light: #ddaaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc877f",
  "rgb": {
    "r": 204,
    "g": 135,
    "b": 127
  },
  "hsl": {
    "h": 6.234,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69151,
    "c": 0.08637,
    "h": 26.8
  },
  "luminance": 0.31698
}

Semantic roles & 50–950 ramp

primary
#CC877F
secondary
#C6DEE1
accent
#A8B62F
background
#FDFAFA
surface
#FBF4F4
border
#D4CECE
text
#15100F
muted
#837F7F

Preview Lab

Preview with #CC877F

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

Preview Lab → · Contrast checker → · Palette generator →

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