#CC4C7B#CC4C7B

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

Color values

HEX#CC4C7B
RGBrgb(204, 76, 123)
HSLhsl(338, 56%, 55%)
HSVhsv(338, 63%, 80%)
CMYKcmyk(0%, 62.7%, 39.7%, 20%)
CIE-LABlab(51.20, 54.76, 0.58)
CIE-LCHlch(51.20, 54.77, 0.60°)
OKLaboklab(60.11% 0.1673 0.0022)
OKLCHoklch(60.11% 0.167 0.7)
XYZxyz(31.0634, 19.4399, 20.8515)
Luminance0.1944 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4C7B #4CCC9D
analogous
#CC4CBB #CC4C7B #CC5D4C
triadic
#CC4C7B #7BCC4C #4C7BCC
tetradic
#CC4C7B #BBCC4C #4CCC9D #5D4CCC
square
#CC4C7B #BBCC4C #4CCC9D #5D4CCC
split-complementary
#CC4C7B #4CCC5D #4CBBCC
monochromatic
#7B2343 #AA315D #CC4C7B #DA7C9E #E7ABC1

Accessibility & contrast

On white

4.30
#CC4C7B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC4C7B#FFFFFF#000000##000000
##CC4C7B1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#646B7C
Deuteranopia (green-blind)
#868378
Tritanopia (blue-blind)
#DC3F5E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc4c7b;
/* rgb */ color: rgb(204, 76, 123);
/* oklch */ color: oklch(60.1% 0.167 0.7);
Tailwind
colors: {
  custom: {
    50: '#e085a1',
    500: '#cc4c7b',
    950: '#000000',
  },
}
SCSS
$custom: #cc4c7b;
$custom-light: #e085a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4c7b",
  "rgb": {
    "r": 204,
    "g": 76,
    "b": 123
  },
  "hsl": {
    "h": 337.969,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60106,
    "c": 0.16732,
    "h": 0.7
  },
  "luminance": 0.19436
}

Semantic roles & 50–950 ramp

primary
#CC4C7B
secondary
#9FD5C1
accent
#DFA849
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC4C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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