#CC4B7A#CC4B7A

#CC4B7A is a mid, vivid pink. Relative luminance 0.193; OKLCH L 60.0% C 0.168 H 1.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#CC4B7A
RGBrgb(204, 75, 122)
HSLhsl(338, 56%, 55%)
HSVhsv(338, 63%, 80%)
CMYKcmyk(0%, 63.2%, 40.2%, 20%)
CIE-LABlab(51.01, 55.08, 0.91)
CIE-LCHlch(51.01, 55.09, 0.94°)
OKLaboklab(59.96% 0.1683 0.003)
OKLCHoklch(59.96% 0.168 1)
XYZxyz(30.9328, 19.2782, 20.5007)
Luminance0.1928 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4B7A #4BCC9D
analogous
#CC4BBA #CC4B7A #CC5D4B
triadic
#CC4B7A #7ACC4B #4B7ACC
tetradic
#CC4B7A #BACC4B #4BCC9D #5D4BCC
square
#CC4B7A #BACC4B #4BCC9D #5D4BCC
split-complementary
#CC4B7A #4BCC5D #4BBACC
monochromatic
#7A2342 #AA305C #CC4B7A #DA7B9D #E7AAC0

Accessibility & contrast

On white

4.33
#CC4B7A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#CC4B7A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4B7A
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4B7A#FFFFFF#000000##000000
##CC4B7A1.004.334.864.86
#FFFFFF4.331.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#646A7B
Deuteranopia (green-blind)
#868377
Tritanopia (blue-blind)
#DC3D5D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc4b7a;
/* rgb */ color: rgb(204, 75, 122);
/* oklch */ color: oklch(60.0% 0.168 1.0);
Tailwind
colors: {
  custom: {
    50: '#e084a0',
    500: '#cc4b7a',
    950: '#000000',
  },
}
SCSS
$custom: #cc4b7a;
$custom-light: #e084a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4b7a",
  "rgb": {
    "r": 204,
    "g": 75,
    "b": 122
  },
  "hsl": {
    "h": 338.14,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59958,
    "c": 0.16835,
    "h": 1
  },
  "luminance": 0.19275
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC4B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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