#CC4C7D#CC4C7D

#CC4C7D is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.2% C 0.168 H 359.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#CC4C7D
RGBrgb(204, 76, 125)
HSLhsl(337, 56%, 55%)
HSVhsv(337, 63%, 80%)
CMYKcmyk(0%, 62.7%, 38.7%, 20%)
CIE-LABlab(51.26, 54.98, -0.54)
CIE-LCHlch(51.26, 54.98, 359.44°)
OKLaboklab(60.17% 0.168 -0.0007)
OKLCHoklch(60.17% 0.168 359.8)
XYZxyz(31.1899, 19.4905, 21.5176)
Luminance0.1949 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4C7D #4CCC9B
analogous
#CC4CBD #CC4C7D #CC5B4C
triadic
#CC4C7D #7DCC4C #4C7DCC
tetradic
#CC4C7D #BDCC4C #4CCC9B #5B4CCC
square
#CC4C7D #BDCC4C #4CCC9B #5B4CCC
split-complementary
#CC4C7D #4CCC5B #4CBDCC
monochromatic
#7B2345 #AA315F #CC4C7D #DA7CA0 #E7ABC2

Accessibility & contrast

On white

4.29
#CC4C7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#CC4C7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4C7D
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4C7D#FFFFFF#000000##000000
##CC4C7D1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#636B7E
Deuteranopia (green-blind)
#86837A
Tritanopia (blue-blind)
#DC3F5F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc4c7d;
/* rgb */ color: rgb(204, 76, 125);
/* oklch */ color: oklch(60.2% 0.168 359.8);
Tailwind
colors: {
  custom: {
    50: '#e085a2',
    500: '#cc4c7d',
    950: '#000000',
  },
}
SCSS
$custom: #cc4c7d;
$custom-light: #e085a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4c7d",
  "rgb": {
    "r": 204,
    "g": 76,
    "b": 125
  },
  "hsl": {
    "h": 337.031,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60168,
    "c": 0.16799,
    "h": 359.8
  },
  "luminance": 0.19487
}

Semantic roles & 50–950 ramp

primary
#CC4C7D
secondary
#9FD5C0
accent
#DFA549
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CC4C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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