#CC4E9A#CC4E9A

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

Color values

HEX#CC4E9A
RGBrgb(204, 78, 154)
HSLhsl(324, 55%, 55%)
HSVhsv(324, 62%, 80%)
CMYKcmyk(0%, 61.8%, 24.5%, 20%)
CIE-LABlab(52.53, 57.64, -15.89)
CIE-LCHlch(52.53, 59.79, 344.59°)
OKLaboklab(61.43% 0.1739 -0.042)
OKLCHoklch(61.43% 0.179 346.4)
XYZxyz(33.4602, 20.6225, 32.7839)
Luminance0.2062 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4E9A #4ECC80
analogous
#BF4ECC #CC4E9A #CC4E5B
triadic
#CC4E9A #9ACC4E #4E9ACC
tetradic
#CC4E9A #CCBF4E #4ECC80 #4E5BCC
square
#CC4E9A #CCBF4E #4ECC80 #4E5BCC
split-complementary
#CC4E9A #5BCC4E #4ECCBF
monochromatic
#7C2459 #AB317B #CC4E9A #DA7EB5 #E7ADD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC4E9A#FFFFFF#000000##000000
##CC4E9A1.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)
#5C709C
Deuteranopia (green-blind)
#7F8597
Tritanopia (blue-blind)
#D94B6D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc4e9a;
/* rgb */ color: rgb(204, 78, 154);
/* oklch */ color: oklch(61.4% 0.179 346.4);
Tailwind
colors: {
  custom: {
    50: '#df87b7',
    500: '#cc4e9a',
    950: '#000000',
  },
}
SCSS
$custom: #cc4e9a;
$custom-light: #df87b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4e9a",
  "rgb": {
    "r": 204,
    "g": 78,
    "b": 154
  },
  "hsl": {
    "h": 323.81,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.6143,
    "c": 0.17886,
    "h": 346.4
  },
  "luminance": 0.20619
}

Semantic roles & 50–950 ramp

primary
#CC4E9A
secondary
#A1D5B5
accent
#DF8449
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CC4E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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