#CC407A#CC407A

#CC407A is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.8% C 0.182 H 359.0°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#CC407A
RGBrgb(204, 64, 122)
HSLhsl(335, 58%, 53%)
HSVhsv(335, 69%, 80%)
CMYKcmyk(0%, 68.6%, 40.2%, 20%)
CIE-LABlab(49.39, 59.52, -1.46)
CIE-LCHlch(49.39, 59.54, 358.59°)
OKLaboklab(58.76% 0.1824 -0.0031)
OKLCHoklch(58.76% 0.182 359)
XYZxyz(30.2502, 17.9130, 20.2731)
Luminance0.1791 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC407A #40CC92
analogous
#CC40C0 #CC407A #CC4C40
triadic
#CC407A #7ACC40 #407ACC
tetradic
#CC407A #C0CC40 #40CC92 #4C40CC
square
#CC407A #C0CC40 #40CC92 #4C40CC
split-complementary
#CC407A #40CC4C #40C0CC
monochromatic
#731F42 #A32C5D #CC407A #D9709C #E6A1BD

Accessibility & contrast

On white

4.58
#CC407A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#CC407A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC407A
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC407A#FFFFFF#000000##000000
##CC407A1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C647C
Deuteranopia (green-blind)
#827F77
Tritanopia (blue-blind)
#DD3058
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc407a;
/* rgb */ color: rgb(204, 64, 122);
/* oklch */ color: oklch(58.8% 0.182 359.0);
Tailwind
colors: {
  custom: {
    50: '#e07fa0',
    500: '#cc407a',
    950: '#000000',
  },
}
SCSS
$custom: #cc407a;
$custom-light: #e07fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc407a",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 122
  },
  "hsl": {
    "h": 335.143,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58757,
    "c": 0.18239,
    "h": 359
  },
  "luminance": 0.17909
}

Semantic roles & 50–950 ramp

primary
#CC407A
secondary
#95D2B9
accent
#E1A147
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC407A

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

Preview Lab → · Contrast checker → · Palette generator →

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