#CC417C#CC417C

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

Color values

HEX#CC417C
RGBrgb(204, 65, 124)
HSLhsl(335, 58%, 53%)
HSVhsv(335, 68%, 80%)
CMYKcmyk(0%, 68.1%, 39.2%, 20%)
CIE-LABlab(49.59, 59.35, -2.38)
CIE-LCHlch(49.59, 59.40, 357.70°)
OKLaboklab(58.92% 0.1818 -0.0055)
OKLCHoklch(58.92% 0.182 358.3)
XYZxyz(30.4322, 18.0768, 20.9515)
Luminance0.1807 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC417C #41CC91
analogous
#CC41C2 #CC417C #CC4B41
triadic
#CC417C #7CCC41 #417CCC
tetradic
#CC417C #C2CC41 #41CC91 #4B41CC
square
#CC417C #C2CC41 #41CC91 #4B41CC
split-complementary
#CC417C #41CC4B #41C2CC
monochromatic
#741F43 #A42C5F #CC417C #D9719D #E6A1BF

Accessibility & contrast

On white

4.55
#CC417C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#CC417C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC417C
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC417C#FFFFFF#000000##000000
##CC417C1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C657E
Deuteranopia (green-blind)
#818079
Tritanopia (blue-blind)
#DC3259
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc417c;
/* rgb */ color: rgb(204, 65, 124);
/* oklch */ color: oklch(58.9% 0.182 358.3);
Tailwind
colors: {
  custom: {
    50: '#e07fa1',
    500: '#cc417c',
    950: '#000000',
  },
}
SCSS
$custom: #cc417c;
$custom-light: #e07fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc417c",
  "rgb": {
    "r": 204,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 334.532,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58924,
    "c": 0.18188,
    "h": 358.3
  },
  "luminance": 0.18073
}

Semantic roles & 50–950 ramp

primary
#CC417C
secondary
#96D3B9
accent
#E1A047
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CC417C

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

Preview Lab → · Contrast checker → · Palette generator →

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