#CC4789#CC4789

#CC4789 is a mid, vivid pink. Relative luminance 0.192; OKLCH L 60.0% C 0.180 H 353.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CC4789
RGBrgb(204, 71, 137)
HSLhsl(330, 57%, 54%)
HSVhsv(330, 65%, 80%)
CMYKcmyk(0%, 65.2%, 32.8%, 20%)
CIE-LABlab(50.87, 58.43, -8.30)
CIE-LCHlch(50.87, 59.01, 351.92°)
OKLaboklab(60% 0.1783 -0.0212)
OKLCHoklch(60% 0.18 353.2)
XYZxyz(31.6721, 19.1535, 25.6911)
Luminance0.1915 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4789 #47CC8A
analogous
#CC47CB #CC4789 #CC4847
triadic
#CC4789 #89CC47 #4789CC
tetradic
#CC4789 #CBCC47 #47CC8A #4847CC
square
#CC4789 #CBCC47 #47CC8A #4847CC
split-complementary
#CC4789 #47CC48 #47CBCC
monochromatic
#77214C #A72E6A #CC4789 #D977A8 #E7A7C6

Accessibility & contrast

On white

4.35
#CC4789 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#CC4789 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4789
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4789#FFFFFF#000000##000000
##CC47891.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6A8B
Deuteranopia (green-blind)
#818286
Tritanopia (blue-blind)
#DB3E62
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc4789;
/* rgb */ color: rgb(204, 71, 137);
/* oklch */ color: oklch(60.0% 0.180 353.2);
Tailwind
colors: {
  custom: {
    50: '#e082ab',
    500: '#cc4789',
    950: '#000000',
  },
}
SCSS
$custom: #cc4789;
$custom-light: #e082ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4789",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 137
  },
  "hsl": {
    "h": 330.226,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60003,
    "c": 0.17959,
    "h": 353.2
  },
  "luminance": 0.1915
}

Semantic roles & 50–950 ramp

primary
#CC4789
secondary
#9BD4B8
accent
#E09448
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC4789

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

Preview Lab → · Contrast checker → · Palette generator →

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