#CC7F8A#CC7F8A

#CC7F8A is a light, moderate red. Relative luminance 0.299; OKLCH L 68.0% C 0.096 H 10.7°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#CC7F8A
RGBrgb(204, 127, 138)
HSLhsl(351, 43%, 65%)
HSVhsv(351, 38%, 80%)
CMYKcmyk(0%, 37.7%, 32.4%, 20%)
CIE-LABlab(61.53, 31.17, 6.71)
CIE-LCHlch(61.53, 31.89, 12.16°)
OKLaboklab(68.03% 0.0945 0.0178)
OKLCHoklch(68.03% 0.096 10.7)
XYZxyz(37.0800, 29.8538, 27.8492)
Luminance0.2985 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7F8A #7FCCC1
analogous
#CC7FB0 #CC7F8A #CC9B7F
triadic
#CC7F8A #8ACC7F #7F8ACC
tetradic
#CC7F8A #B0CC7F #7FCCC1 #9B7FCC
square
#CC7F8A #B0CC7F #7FCCC1 #9B7FCC
split-complementary
#CC7F8A #7FCC9B #7FB0CC
monochromatic
#953B48 #BB5362 #CC7F8A #DDABB2 #EFD7DA

Accessibility & contrast

On white

3.01
#CC7F8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#CC7F8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC7F8A
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7F8A#FFFFFF#000000##000000
##CC7F8A1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8C8A
Deuteranopia (green-blind)
#9F9A89
Tritanopia (blue-blind)
#D97883
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cc7f8a;
/* rgb */ color: rgb(204, 127, 138);
/* oklch */ color: oklch(68.0% 0.096 10.7);
Tailwind
colors: {
  custom: {
    50: '#dda5ac',
    500: '#cc7f8a',
    950: '#000000',
  },
}
SCSS
$custom: #cc7f8a;
$custom-light: #dda5ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7f8a",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 138
  },
  "hsl": {
    "h": 351.429,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68034,
    "c": 0.0962,
    "h": 10.7
  },
  "luminance": 0.29851
}

Semantic roles & 50–950 ramp

primary
#CC7F8A
secondary
#C6E1DD
accent
#B6A32F
background
#FDFAFA
surface
#FBF4F4
border
#D4CECE
text
#150F10
muted
#837F7F

Preview Lab

Preview with #CC7F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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