#CC4097#CC4097

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

Color values

HEX#CC4097
RGBrgb(204, 64, 151)
HSLhsl(323, 58%, 53%)
HSVhsv(323, 69%, 80%)
CMYKcmyk(0%, 68.6%, 26%, 20%)
CIE-LABlab(50.38, 62.86, -17.38)
CIE-LCHlch(50.38, 65.22, 344.54°)
OKLaboklab(59.81% 0.1904 -0.046)
OKLCHoklch(59.81% 0.196 346.4)
XYZxyz(32.3225, 18.7419, 31.1875)
Luminance0.1874 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4097 #40CC75
analogous
#BB40CC #CC4097 #CC4051
triadic
#CC4097 #97CC40 #4097CC
tetradic
#CC4097 #CCBB40 #40CC75 #4051CC
square
#CC4097 #CCBB40 #40CC75 #4051CC
split-complementary
#CC4097 #51CC40 #40CCBB
monochromatic
#731F53 #A32C76 #CC4097 #D970B1 #E6A1CC

Accessibility & contrast

On white

4.42
#CC4097 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#CC4097 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4097
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4097#FFFFFF#000000##000000
##CC40971.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#516999
Deuteranopia (green-blind)
#7A8194
Tritanopia (blue-blind)
#DA3D66
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc4097;
/* rgb */ color: rgb(204, 64, 151);
/* oklch */ color: oklch(59.8% 0.196 346.4);
Tailwind
colors: {
  custom: {
    50: '#e07fb5',
    500: '#cc4097',
    950: '#000000',
  },
}
SCSS
$custom: #cc4097;
$custom-light: #e07fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4097",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 322.714,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59813,
    "c": 0.19589,
    "h": 346.4
  },
  "luminance": 0.18739
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC4097

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

Preview Lab → · Contrast checker → · Palette generator →

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