#CC4786#CC4786

#CC4786 is a mid, vivid pink. Relative luminance 0.191; OKLCH L 59.9% C 0.178 H 354.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#CC4786
RGBrgb(204, 71, 134)
HSLhsl(332, 57%, 54%)
HSVhsv(332, 65%, 80%)
CMYKcmyk(0%, 65.2%, 34.3%, 20%)
CIE-LABlab(50.77, 58.08, -6.65)
CIE-LCHlch(50.77, 58.46, 353.47°)
OKLaboklab(59.9% 0.1774 -0.0168)
OKLCHoklch(59.9% 0.178 354.6)
XYZxyz(31.4599, 19.0686, 24.5735)
Luminance0.1906 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4786 #47CC8D
analogous
#CC47C9 #CC4786 #CC4B47
triadic
#CC4786 #86CC47 #4786CC
tetradic
#CC4786 #C9CC47 #47CC8D #4B47CC
square
#CC4786 #C9CC47 #47CC8D #4B47CC
split-complementary
#CC4786 #47CC4B #47C9CC
monochromatic
#77214A #A72E68 #CC4786 #D977A6 #E7A7C5

Accessibility & contrast

On white

4.36
#CC4786 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#CC4786 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4786
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4786#FFFFFF#000000##000000
##CC47861.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6988
Deuteranopia (green-blind)
#828283
Tritanopia (blue-blind)
#DB3D61
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc4786;
/* rgb */ color: rgb(204, 71, 134);
/* oklch */ color: oklch(59.9% 0.178 354.6);
Tailwind
colors: {
  custom: {
    50: '#e082a9',
    500: '#cc4786',
    950: '#000000',
  },
}
SCSS
$custom: #cc4786;
$custom-light: #e082a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4786",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 134
  },
  "hsl": {
    "h": 331.579,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59898,
    "c": 0.17824,
    "h": 354.6
  },
  "luminance": 0.19065
}

Semantic roles & 50–950 ramp

primary
#CC4786
secondary
#9BD4B9
accent
#E09848
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CC4786

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

Preview Lab → · Contrast checker → · Palette generator →

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