#CC4781#CC4781

#CC4781 is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.7% C 0.176 H 356.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CC4781
RGBrgb(204, 71, 129)
HSLhsl(334, 57%, 54%)
HSVhsv(334, 65%, 80%)
CMYKcmyk(0%, 65.2%, 36.8%, 20%)
CIE-LABlab(50.61, 57.51, -3.89)
CIE-LCHlch(50.61, 57.64, 356.13°)
OKLaboklab(59.73% 0.1759 -0.0095)
OKLCHoklch(59.73% 0.176 356.9)
XYZxyz(31.1194, 18.9324, 22.7801)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4781 #47CC92
analogous
#CC47C3 #CC4781 #CC5047
triadic
#CC4781 #81CC47 #4781CC
tetradic
#CC4781 #C3CC47 #47CC92 #5047CC
square
#CC4781 #C3CC47 #47CC92 #5047CC
split-complementary
#CC4781 #47CC50 #47C3CC
monochromatic
#772147 #A72E63 #CC4781 #D977A2 #E7A7C3

Accessibility & contrast

On white

4.39
#CC4781 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC4781#FFFFFF#000000##000000
##CC47811.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6983
Deuteranopia (green-blind)
#83827E
Tritanopia (blue-blind)
#DC3B5E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc4781;
/* rgb */ color: rgb(204, 71, 129);
/* oklch */ color: oklch(59.7% 0.176 356.9);
Tailwind
colors: {
  custom: {
    50: '#e082a5',
    500: '#cc4781',
    950: '#000000',
  },
}
SCSS
$custom: #cc4781;
$custom-light: #e082a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4781",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 129
  },
  "hsl": {
    "h": 333.835,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59728,
    "c": 0.17615,
    "h": 356.9
  },
  "luminance": 0.18929
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC4781

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

Preview Lab → · Contrast checker → · Palette generator →

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