#CC4099#CC4099

#CC4099 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.9% C 0.197 H 345.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CC4099
RGBrgb(204, 64, 153)
HSLhsl(322, 58%, 53%)
HSVhsv(322, 69%, 80%)
CMYKcmyk(0%, 68.6%, 25%, 20%)
CIE-LABlab(50.46, 63.12, -18.45)
CIE-LCHlch(50.46, 65.76, 343.70°)
OKLaboklab(59.9% 0.1909 -0.0489)
OKLCHoklch(59.9% 0.197 345.6)
XYZxyz(32.4863, 18.8074, 32.0502)
Luminance0.1880 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4099 #40CC73
analogous
#B940CC #CC4099 #CC4053
triadic
#CC4099 #99CC40 #4099CC
tetradic
#CC4099 #CCB940 #40CC73 #4053CC
square
#CC4099 #CCB940 #40CC73 #4053CC
split-complementary
#CC4099 #53CC40 #40CCB9
monochromatic
#731F54 #A32C78 #CC4099 #D970B3 #E6A1CD

Accessibility & contrast

On white

4.41
#CC4099 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#CC4099 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4099
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4099#FFFFFF#000000##000000
##CC40991.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#50699C
Deuteranopia (green-blind)
#7A8196
Tritanopia (blue-blind)
#D93D67
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc4099;
/* rgb */ color: rgb(204, 64, 153);
/* oklch */ color: oklch(59.9% 0.197 345.6);
Tailwind
colors: {
  custom: {
    50: '#e07fb7',
    500: '#cc4099',
    950: '#000000',
  },
}
SCSS
$custom: #cc4099;
$custom-light: #e07fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4099",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 153
  },
  "hsl": {
    "h": 321.857,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59895,
    "c": 0.19704,
    "h": 345.6
  },
  "luminance": 0.18804
}

Semantic roles & 50–950 ramp

primary
#CC4099
secondary
#95D2AC
accent
#E17F47
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CC4099

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

Preview Lab → · Contrast checker → · Palette generator →

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