#CC4D9D#CC4D9D

#CC4D9D is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.4% C 0.182 H 345.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CC4D9D
RGBrgb(204, 77, 157)
HSLhsl(322, 55%, 55%)
HSVhsv(322, 62%, 80%)
CMYKcmyk(0%, 62.3%, 23%, 20%)
CIE-LABlab(52.49, 58.47, -17.72)
CIE-LCHlch(52.49, 61.10, 343.14°)
OKLaboklab(61.43% 0.1759 -0.047)
OKLCHoklch(61.43% 0.182 345)
XYZxyz(33.6426, 20.5826, 34.0928)
Luminance0.2058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4D9D #4DCC7C
analogous
#BC4DCC #CC4D9D #CC4D5D
triadic
#CC4D9D #9DCC4D #4D9DCC
tetradic
#CC4D9D #CCBC4D #4DCC7C #4D5DCC
square
#CC4D9D #CCBC4D #4DCC7C #4D5DCC
split-complementary
#CC4D9D #5DCC4D #4DCCBC
monochromatic
#7B235B #AB317E #CC4D9D #DA7DB7 #E7ACD1

Accessibility & contrast

On white

4.10
#CC4D9D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CC4D9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4D9D
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4D9D#FFFFFF#000000##000000
##CC4D9D1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#59709F
Deuteranopia (green-blind)
#7E859A
Tritanopia (blue-blind)
#D94C6E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc4d9d;
/* rgb */ color: rgb(204, 77, 157);
/* oklch */ color: oklch(61.4% 0.182 345.0);
Tailwind
colors: {
  custom: {
    50: '#df86ba',
    500: '#cc4d9d',
    950: '#000000',
  },
}
SCSS
$custom: #cc4d9d;
$custom-light: #df86ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4d9d",
  "rgb": {
    "r": 204,
    "g": 77,
    "b": 157
  },
  "hsl": {
    "h": 322.205,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61434,
    "c": 0.18208,
    "h": 345
  },
  "luminance": 0.20579
}

Semantic roles & 50–950 ramp

primary
#CC4D9D
secondary
#A0D5B3
accent
#DF8049
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CC4D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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