#CC4797#CC4797

#CC4797 is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.5% C 0.187 H 347.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CC4797
RGBrgb(204, 71, 151)
HSLhsl(324, 57%, 54%)
HSVhsv(324, 65%, 80%)
CMYKcmyk(0%, 65.2%, 26%, 20%)
CIE-LABlab(51.36, 60.16, -15.89)
CIE-LCHlch(51.36, 62.22, 345.20°)
OKLaboklab(60.53% 0.1821 -0.0419)
OKLCHoklch(60.53% 0.187 347)
XYZxyz(32.7423, 19.5815, 31.3274)
Luminance0.1958 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4797 #47CC7C
analogous
#BF47CC #CC4797 #CC4755
triadic
#CC4797 #97CC47 #4797CC
tetradic
#CC4797 #CCBF47 #47CC7C #4755CC
square
#CC4797 #CCBF47 #47CC7C #4755CC
split-complementary
#CC4797 #55CC47 #47CCBF
monochromatic
#772155 #A72E77 #CC4797 #D977B2 #E7A7CD

Accessibility & contrast

On white

4.27
#CC4797 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#CC4797 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4797
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4797#FFFFFF#000000##000000
##CC47971.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#576C99
Deuteranopia (green-blind)
#7D8394
Tritanopia (blue-blind)
#DA4469
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc4797;
/* rgb */ color: rgb(204, 71, 151);
/* oklch */ color: oklch(60.5% 0.187 347.0);
Tailwind
colors: {
  custom: {
    50: '#df83b5',
    500: '#cc4797',
    950: '#000000',
  },
}
SCSS
$custom: #cc4797;
$custom-light: #df83b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4797",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 151
  },
  "hsl": {
    "h": 323.91,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.6053,
    "c": 0.18683,
    "h": 347
  },
  "luminance": 0.19578
}

Semantic roles & 50–950 ramp

primary
#CC4797
secondary
#9BD4B2
accent
#E08448
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CC4797

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

Preview Lab → · Contrast checker → · Palette generator →

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