#CC4791#CC4791

#CC4791 is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.3% C 0.184 H 349.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CC4791
RGBrgb(204, 71, 145)
HSLhsl(327, 57%, 54%)
HSVhsv(327, 65%, 80%)
CMYKcmyk(0%, 65.2%, 28.9%, 20%)
CIE-LABlab(51.14, 59.40, -12.66)
CIE-LCHlch(51.14, 60.73, 347.97°)
OKLaboklab(60.3% 0.1805 -0.0331)
OKLCHoklch(60.3% 0.184 349.6)
XYZxyz(32.2674, 19.3916, 28.8262)
Luminance0.1939 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4791 #47CC82
analogous
#C547CC #CC4791 #CC474F
triadic
#CC4791 #91CC47 #4791CC
tetradic
#CC4791 #CCC547 #47CC82 #474FCC
square
#CC4791 #CCC547 #47CC82 #474FCC
split-complementary
#CC4791 #4FCC47 #47CCC5
monochromatic
#772151 #A72E72 #CC4791 #D977AE #E7A7CA

Accessibility & contrast

On white

4.31
#CC4791 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#CC4791 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4791
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4791#FFFFFF#000000##000000
##CC47911.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#596B93
Deuteranopia (green-blind)
#7F828E
Tritanopia (blue-blind)
#DA4166
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc4791;
/* rgb */ color: rgb(204, 71, 145);
/* oklch */ color: oklch(60.3% 0.184 349.6);
Tailwind
colors: {
  custom: {
    50: '#df83b1',
    500: '#cc4791',
    950: '#000000',
  },
}
SCSS
$custom: #cc4791;
$custom-light: #df83b1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4791",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 145
  },
  "hsl": {
    "h": 326.617,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60297,
    "c": 0.18355,
    "h": 349.6
  },
  "luminance": 0.19388
}

Semantic roles & 50–950 ramp

primary
#CC4791
secondary
#9BD4B4
accent
#E08B48
background
#FEF8FA
surface
#FCEFF5
border
#D5CACF
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC4791

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

Preview Lab → · Contrast checker → · Palette generator →

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