#CC4096#CC4096

#CC4096 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.8% C 0.195 H 346.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#CC4096
RGBrgb(204, 64, 150)
HSLhsl(323, 58%, 53%)
HSVhsv(323, 69%, 80%)
CMYKcmyk(0%, 68.6%, 26.5%, 20%)
CIE-LABlab(50.35, 62.74, -16.84)
CIE-LCHlch(50.35, 64.96, 344.97°)
OKLaboklab(59.77% 0.1902 -0.0445)
OKLCHoklch(59.77% 0.195 346.8)
XYZxyz(32.2416, 18.7096, 30.7616)
Luminance0.1871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4096 #40CC76
analogous
#BC40CC #CC4096 #CC4050
triadic
#CC4096 #96CC40 #4096CC
tetradic
#CC4096 #CCBC40 #40CC76 #4050CC
square
#CC4096 #CCBC40 #40CC76 #4050CC
split-complementary
#CC4096 #50CC40 #40CCBC
monochromatic
#731F52 #A32C75 #CC4096 #D970B1 #E6A1CB

Accessibility & contrast

On white

4.43
#CC4096 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#CC4096 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4096
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4096#FFFFFF#000000##000000
##CC40961.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#526898
Deuteranopia (green-blind)
#7B8193
Tritanopia (blue-blind)
#DA3C65
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc4096;
/* rgb */ color: rgb(204, 64, 150);
/* oklch */ color: oklch(59.8% 0.195 346.8);
Tailwind
colors: {
  custom: {
    50: '#e07fb5',
    500: '#cc4096',
    950: '#000000',
  },
}
SCSS
$custom: #cc4096;
$custom-light: #e07fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4096",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 150
  },
  "hsl": {
    "h": 323.143,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59773,
    "c": 0.19532,
    "h": 346.8
  },
  "luminance": 0.18706
}

Semantic roles & 50–950 ramp

primary
#CC4096
secondary
#95D2AD
accent
#E18247
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CC4096

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

Preview Lab → · Contrast checker → · Palette generator →

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