#CC4782#CC4782

#CC4782 is a mid, vivid pink. Relative luminance 0.190; OKLCH L 59.8% C 0.177 H 356.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CC4782
RGBrgb(204, 71, 130)
HSLhsl(333, 57%, 54%)
HSVhsv(333, 65%, 80%)
CMYKcmyk(0%, 65.2%, 36.3%, 20%)
CIE-LABlab(50.64, 57.62, -4.44)
CIE-LCHlch(50.64, 57.79, 355.59°)
OKLaboklab(59.76% 0.1762 -0.011)
OKLCHoklch(59.76% 0.177 356.4)
XYZxyz(31.1862, 18.9591, 23.1319)
Luminance0.1896 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4782 #47CC91
analogous
#CC47C5 #CC4782 #CC4F47
triadic
#CC4782 #82CC47 #4782CC
tetradic
#CC4782 #C5CC47 #47CC91 #4F47CC
square
#CC4782 #C5CC47 #47CC91 #4F47CC
split-complementary
#CC4782 #47CC4F #47C5CC
monochromatic
#772147 #A72E64 #CC4782 #D977A3 #E7A7C3

Accessibility & contrast

On white

4.38
#CC4782 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#CC4782 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4782
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4782#FFFFFF#000000##000000
##CC47821.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6984
Deuteranopia (green-blind)
#83827F
Tritanopia (blue-blind)
#DC3B5F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc4782;
/* rgb */ color: rgb(204, 71, 130);
/* oklch */ color: oklch(59.8% 0.177 356.4);
Tailwind
colors: {
  custom: {
    50: '#e082a6',
    500: '#cc4782',
    950: '#000000',
  },
}
SCSS
$custom: #cc4782;
$custom-light: #e082a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4782",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 130
  },
  "hsl": {
    "h": 333.383,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59761,
    "c": 0.17655,
    "h": 356.4
  },
  "luminance": 0.18956
}

Semantic roles & 50–950 ramp

primary
#CC4782
secondary
#9BD4BB
accent
#E09C48
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CC4782

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

Preview Lab → · Contrast checker → · Palette generator →

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