#CC417E#CC417E

#CC417E is a mid, vivid pink. Relative luminance 0.181; OKLCH L 59.0% C 0.183 H 357.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#CC417E
RGBrgb(204, 65, 126)
HSLhsl(334, 58%, 53%)
HSVhsv(334, 68%, 80%)
CMYKcmyk(0%, 68.1%, 38.2%, 20%)
CIE-LABlab(49.65, 59.56, -3.50)
CIE-LCHlch(49.65, 59.66, 356.64°)
OKLaboklab(58.99% 0.1824 -0.0084)
OKLCHoklch(58.99% 0.183 357.4)
XYZxyz(30.5600, 18.1279, 21.6243)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC417E #41CC8F
analogous
#CC41C3 #CC417E #CC4941
triadic
#CC417E #7ECC41 #417ECC
tetradic
#CC417E #C3CC41 #41CC8F #4941CC
square
#CC417E #C3CC41 #41CC8F #4941CC
split-complementary
#CC417E #41CC49 #41C3CC
monochromatic
#741F44 #A42C61 #CC417E #D9719F #E6A1C0

Accessibility & contrast

On white

4.54
#CC417E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#CC417E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC417E
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC417E#FFFFFF#000000##000000
##CC417E1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6580
Deuteranopia (green-blind)
#81807B
Tritanopia (blue-blind)
#DC335A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc417e;
/* rgb */ color: rgb(204, 65, 126);
/* oklch */ color: oklch(59.0% 0.183 357.4);
Tailwind
colors: {
  custom: {
    50: '#e07fa3',
    500: '#cc417e',
    950: '#000000',
  },
}
SCSS
$custom: #cc417e;
$custom-light: #e07fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc417e",
  "rgb": {
    "r": 204,
    "g": 65,
    "b": 126
  },
  "hsl": {
    "h": 333.669,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5899,
    "c": 0.18262,
    "h": 357.4
  },
  "luminance": 0.18124
}

Semantic roles & 50–950 ramp

primary
#CC417E
secondary
#96D3B8
accent
#E19D47
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CC417E

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

Preview Lab → · Contrast checker → · Palette generator →

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