#CC417A#CC417A

#CC417A is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.9% C 0.181 H 359.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CC417A
RGBrgb(204, 65, 122)
HSLhsl(335, 58%, 53%)
HSVhsv(335, 68%, 80%)
CMYKcmyk(0%, 68.1%, 40.2%, 20%)
CIE-LABlab(49.53, 59.14, -1.26)
CIE-LCHlch(49.53, 59.15, 358.78°)
OKLaboklab(58.86% 0.1812 -0.0026)
OKLCHoklch(58.86% 0.181 359.2)
XYZxyz(30.3071, 18.0268, 20.2921)
Luminance0.1802 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC417A #41CC93
analogous
#CC41BF #CC417A #CC4E41
triadic
#CC417A #7ACC41 #417ACC
tetradic
#CC417A #BFCC41 #41CC93 #4E41CC
square
#CC417A #BFCC41 #41CC93 #4E41CC
split-complementary
#CC417A #41CC4E #41BFCC
monochromatic
#741F42 #A42C5D #CC417A #D9719C #E6A1BE

Accessibility & contrast

On white

4.56
#CC417A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#CC417A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC417A
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC417A#FFFFFF#000000##000000
##CC417A1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C657C
Deuteranopia (green-blind)
#827F77
Tritanopia (blue-blind)
#DC3158
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc417a;
/* rgb */ color: rgb(204, 65, 122);
/* oklch */ color: oklch(58.9% 0.181 359.2);
Tailwind
colors: {
  custom: {
    50: '#e07fa0',
    500: '#cc417a',
    950: '#000000',
  },
}
SCSS
$custom: #cc417a;
$custom-light: #e07fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc417a",
  "rgb": {
    "r": 204,
    "g": 65,
    "b": 122
  },
  "hsl": {
    "h": 335.396,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58859,
    "c": 0.18117,
    "h": 359.2
  },
  "luminance": 0.18023
}

Semantic roles & 50–950 ramp

primary
#CC417A
secondary
#96D3BA
accent
#E1A247
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC417A

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

Preview Lab → · Contrast checker → · Palette generator →

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