#CC7E8A#CC7E8A

#CC7E8A is a light, moderate red. Relative luminance 0.296; OKLCH L 67.9% C 0.098 H 10.0°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#CC7E8A
RGBrgb(204, 126, 138)
HSLhsl(351, 43%, 65%)
HSVhsv(351, 38%, 80%)
CMYKcmyk(0%, 38.2%, 32.4%, 20%)
CIE-LABlab(61.30, 31.71, 6.39)
CIE-LCHlch(61.30, 32.35, 11.40°)
OKLaboklab(67.86% 0.0962 0.017)
OKLCHoklch(67.86% 0.098 10)
XYZxyz(36.9515, 29.5968, 27.8064)
Luminance0.2959 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7E8A #7ECCC0
analogous
#CC7EB1 #CC7E8A #CC997E
triadic
#CC7E8A #8ACC7E #7E8ACC
tetradic
#CC7E8A #B1CC7E #7ECCC0 #997ECC
square
#CC7E8A #B1CC7E #7ECCC0 #997ECC
split-complementary
#CC7E8A #7ECC99 #7EB1CC
monochromatic
#953B49 #BB5262 #CC7E8A #DDAAB2 #EFD6DA

Accessibility & contrast

On white

3.04
#CC7E8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#CC7E8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC7E8A
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7E8A#FFFFFF#000000##000000
##CC7E8A1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8B8A
Deuteranopia (green-blind)
#9E9A88
Tritanopia (blue-blind)
#D97782
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cc7e8a;
/* rgb */ color: rgb(204, 126, 138);
/* oklch */ color: oklch(67.9% 0.098 10.0);
Tailwind
colors: {
  custom: {
    50: '#dda4ac',
    500: '#cc7e8a',
    950: '#000000',
  },
}
SCSS
$custom: #cc7e8a;
$custom-light: #dda4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7e8a",
  "rgb": {
    "r": 204,
    "g": 126,
    "b": 138
  },
  "hsl": {
    "h": 350.769,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67863,
    "c": 0.09765,
    "h": 10
  },
  "luminance": 0.29594
}

Semantic roles & 50–950 ramp

primary
#CC7E8A
secondary
#C6E0DC
accent
#B6A22F
background
#FDFAFA
surface
#FBF4F4
border
#D4CECE
text
#150F10
muted
#837F7F

Preview Lab

Preview with #CC7E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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