#CC4E9D#CC4E9D

#CC4E9D is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.5% C 0.181 H 345.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CC4E9D
RGBrgb(204, 78, 157)
HSLhsl(322, 55%, 55%)
HSVhsv(322, 62%, 80%)
CMYKcmyk(0%, 61.8%, 23%, 20%)
CIE-LABlab(52.65, 58.05, -17.49)
CIE-LCHlch(52.65, 60.62, 343.24°)
OKLaboklab(61.55% 0.1746 -0.0464)
OKLCHoklch(61.55% 0.181 345.1)
XYZxyz(33.7131, 20.7237, 34.1163)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4E9D #4ECC7D
analogous
#BC4ECC #CC4E9D #CC4E5E
triadic
#CC4E9D #9DCC4E #4E9DCC
tetradic
#CC4E9D #CCBC4E #4ECC7D #4E5ECC
square
#CC4E9D #CCBC4E #4ECC7D #4E5ECC
split-complementary
#CC4E9D #5ECC4E #4ECCBC
monochromatic
#7C245B #AB317E #CC4E9D #DA7EB7 #E7ADD2

Accessibility & contrast

On white

4.08
#CC4E9D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#CC4E9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4E9D
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4E9D#FFFFFF#000000##000000
##CC4E9D1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A709F
Deuteranopia (green-blind)
#7F859A
Tritanopia (blue-blind)
#D94D6F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc4e9d;
/* rgb */ color: rgb(204, 78, 157);
/* oklch */ color: oklch(61.5% 0.181 345.1);
Tailwind
colors: {
  custom: {
    50: '#df87ba',
    500: '#cc4e9d',
    950: '#000000',
  },
}
SCSS
$custom: #cc4e9d;
$custom-light: #df87ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4e9d",
  "rgb": {
    "r": 204,
    "g": 78,
    "b": 157
  },
  "hsl": {
    "h": 322.381,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61549,
    "c": 0.18066,
    "h": 345.1
  },
  "luminance": 0.2072
}

Semantic roles & 50–950 ramp

primary
#CC4E9D
secondary
#A1D5B4
accent
#DF8149
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CC4E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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