#CC8A7F#CC8A7F

#CC8A7F is a light, moderate red. Relative luminance 0.325; OKLCH L 69.7% C 0.083 H 29.8°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#CC8A7F
RGBrgb(204, 138, 127)
HSLhsl(9, 43%, 65%)
HSVhsv(9, 38%, 80%)
CMYKcmyk(0%, 32.4%, 37.7%, 20%)
CIE-LABlab(63.79, 23.83, 16.15)
CIE-LCHlch(63.79, 28.79, 34.14°)
OKLaboklab(69.69% 0.0722 0.0413)
OKLCHoklch(69.69% 0.083 29.8)
XYZxyz(37.8226, 32.5493, 24.3651)
Luminance0.3255 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8A7F #7FC1CC
analogous
#CC7F9B #CC8A7F #CCB07F
triadic
#CC8A7F #7FCC8A #8A7FCC
tetradic
#CC8A7F #9BCC7F #7FC1CC #B07FCC
square
#CC8A7F #9BCC7F #7FC1CC #B07FCC
split-complementary
#CC8A7F #7FCCB0 #7F9BCC
monochromatic
#95483B #BB6253 #CC8A7F #DDB2AB #EFDAD7

Accessibility & contrast

On white

2.80
#CC8A7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#CC8A7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8A7F
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8A7F#FFFFFF#000000##000000
##CC8A7F1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#98937E
Deuteranopia (green-blind)
#A8A07E
Tritanopia (blue-blind)
#DA8187
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cc8a7f;
/* rgb */ color: rgb(204, 138, 127);
/* oklch */ color: oklch(69.7% 0.083 29.8);
Tailwind
colors: {
  custom: {
    50: '#ddaca4',
    500: '#cc8a7f',
    950: '#000000',
  },
}
SCSS
$custom: #cc8a7f;
$custom-light: #ddaca4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8a7f",
  "rgb": {
    "r": 204,
    "g": 138,
    "b": 127
  },
  "hsl": {
    "h": 8.571,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69691,
    "c": 0.08316,
    "h": 29.8
  },
  "luminance": 0.32547
}

Semantic roles & 50–950 ramp

primary
#CC8A7F
secondary
#C6DDE1
accent
#A3B62F
background
#FDFAFA
surface
#FBF4F4
border
#D4CECE
text
#15100F
muted
#837F7F

Preview Lab

Preview with #CC8A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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