#CC4785#CC4785

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

Color values

HEX#CC4785
RGBrgb(204, 71, 133)
HSLhsl(332, 57%, 54%)
HSVhsv(332, 65%, 80%)
CMYKcmyk(0%, 65.2%, 34.8%, 20%)
CIE-LABlab(50.73, 57.96, -6.10)
CIE-LCHlch(50.73, 58.28, 353.99°)
OKLaboklab(59.86% 0.1771 -0.0154)
OKLCHoklch(59.86% 0.178 355)
XYZxyz(31.3905, 19.0408, 24.2079)
Luminance0.1904 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4785 #47CC8E
analogous
#CC47C8 #CC4785 #CC4C47
triadic
#CC4785 #85CC47 #4785CC
tetradic
#CC4785 #C8CC47 #47CC8E #4C47CC
square
#CC4785 #C8CC47 #47CC8E #4C47CC
split-complementary
#CC4785 #47CC4C #47C8CC
monochromatic
#772149 #A72E67 #CC4785 #D977A5 #E7A7C5

Accessibility & contrast

On white

4.37
#CC4785 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC4785#FFFFFF#000000##000000
##CC47851.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6987
Deuteranopia (green-blind)
#828282
Tritanopia (blue-blind)
#DB3D60
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc4785;
/* rgb */ color: rgb(204, 71, 133);
/* oklch */ color: oklch(59.9% 0.178 355.0);
Tailwind
colors: {
  custom: {
    50: '#e082a8',
    500: '#cc4785',
    950: '#000000',
  },
}
SCSS
$custom: #cc4785;
$custom-light: #e082a8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4785",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 133
  },
  "hsl": {
    "h": 332.03,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59863,
    "c": 0.17779,
    "h": 355
  },
  "luminance": 0.19037
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC4785

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

Preview Lab → · Contrast checker → · Palette generator →

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