#CC7798#CC7798

#CC7798 is a light, moderate pink. Relative luminance 0.283; OKLCH L 67.1% C 0.113 H 355.8°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#CC7798
RGBrgb(204, 119, 152)
HSLhsl(337, 45%, 63%)
HSVhsv(337, 42%, 80%)
CMYKcmyk(0%, 41.7%, 25.5%, 20%)
CIE-LABlab(60.16, 37.36, -3.31)
CIE-LCHlch(60.16, 37.50, 354.94°)
OKLaboklab(67.12% 0.1126 -0.0082)
OKLCHoklch(67.12% 0.113 355.8)
XYZxyz(37.1672, 28.3008, 33.2047)
Luminance0.2830 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7798 #77CCAB
analogous
#CC77C2 #CC7798 #CC8077
triadic
#CC7798 #98CC77 #7798CC
tetradic
#CC7798 #C2CC77 #77CCAB #8077CC
square
#CC7798 #C2CC77 #77CCAB #8077CC
split-complementary
#CC7798 #77CC80 #77C2CC
monochromatic
#92375A #BB4A76 #CC7798 #DDA4BA #EDD0DB

Accessibility & contrast

On white

3.15
#CC7798 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#CC7798 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC7798
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7798#FFFFFF#000000##000000
##CC77981.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#828899
Deuteranopia (green-blind)
#979796
Tritanopia (blue-blind)
#D87383
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cc7798;
/* rgb */ color: rgb(204, 119, 152);
/* oklch */ color: oklch(67.1% 0.113 355.8);
Tailwind
colors: {
  custom: {
    50: '#dda0b6',
    500: '#cc7798',
    950: '#000000',
  },
}
SCSS
$custom: #cc7798;
$custom-light: #dda0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7798",
  "rgb": {
    "r": 204,
    "g": 119,
    "b": 152
  },
  "hsl": {
    "h": 336.706,
    "s": 45.455,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67117,
    "c": 0.11287,
    "h": 355.8
  },
  "luminance": 0.28298
}

Semantic roles & 50–950 ramp

primary
#CC7798
secondary
#C0DFD3
accent
#B9822D
background
#FDF9FB
surface
#FBF2F6
border
#D4CCD0
text
#150F11
muted
#837E80

Preview Lab

Preview with #CC7798

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

Preview Lab → · Contrast checker → · Palette generator →

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