#CC4C7C#CC4C7C

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

Color values

HEX#CC4C7C
RGBrgb(204, 76, 124)
HSLhsl(338, 56%, 55%)
HSVhsv(338, 63%, 80%)
CMYKcmyk(0%, 62.7%, 39.2%, 20%)
CIE-LABlab(51.23, 54.87, 0.02)
CIE-LCHlch(51.23, 54.87, 0.02°)
OKLaboklab(60.14% 0.1677 0.0007)
OKLCHoklch(60.14% 0.168 0.2)
XYZxyz(31.1263, 19.4650, 21.1828)
Luminance0.1946 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4C7C #4CCC9C
analogous
#CC4CBC #CC4C7C #CC5C4C
triadic
#CC4C7C #7CCC4C #4C7CCC
tetradic
#CC4C7C #BCCC4C #4CCC9C #5C4CCC
square
#CC4C7C #BCCC4C #4CCC9C #5C4CCC
split-complementary
#CC4C7C #4CCC5C #4CBCCC
monochromatic
#7B2344 #AA315E #CC4C7C #DA7C9F #E7ABC2

Accessibility & contrast

On white

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

On black

4.89
#CC4C7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4C7C
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4C7C#FFFFFF#000000##000000
##CC4C7C1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#646B7D
Deuteranopia (green-blind)
#868379
Tritanopia (blue-blind)
#DC3F5F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc4c7c;
/* rgb */ color: rgb(204, 76, 124);
/* oklch */ color: oklch(60.1% 0.168 0.2);
Tailwind
colors: {
  custom: {
    50: '#e085a1',
    500: '#cc4c7c',
    950: '#000000',
  },
}
SCSS
$custom: #cc4c7c;
$custom-light: #e085a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4c7c",
  "rgb": {
    "r": 204,
    "g": 76,
    "b": 124
  },
  "hsl": {
    "h": 337.5,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60137,
    "c": 0.16765,
    "h": 0.2
  },
  "luminance": 0.19461
}

Semantic roles & 50–950 ramp

primary
#CC4C7C
secondary
#9FD5C1
accent
#DFA749
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CC4C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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