#CC417D#CC417D

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

Color values

HEX#CC417D
RGBrgb(204, 65, 125)
HSLhsl(334, 58%, 53%)
HSVhsv(334, 68%, 80%)
CMYKcmyk(0%, 68.1%, 38.7%, 20%)
CIE-LABlab(49.62, 59.45, -2.94)
CIE-LCHlch(49.62, 59.53, 357.17°)
OKLaboklab(58.96% 0.1821 -0.007)
OKLCHoklch(58.96% 0.182 357.8)
XYZxyz(30.4958, 18.1023, 21.2862)
Luminance0.1810 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC417D #41CC90
analogous
#CC41C2 #CC417D #CC4B41
triadic
#CC417D #7DCC41 #417DCC
tetradic
#CC417D #C2CC41 #41CC90 #4B41CC
square
#CC417D #C2CC41 #41CC90 #4B41CC
split-complementary
#CC417D #41CC4B #41C2CC
monochromatic
#741F44 #A42C60 #CC417D #D9719E #E6A1BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC417D#FFFFFF#000000##000000
##CC417D1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B657F
Deuteranopia (green-blind)
#81807A
Tritanopia (blue-blind)
#DC325A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc417d;
/* rgb */ color: rgb(204, 65, 125);
/* oklch */ color: oklch(59.0% 0.182 357.8);
Tailwind
colors: {
  custom: {
    50: '#e07fa2',
    500: '#cc417d',
    950: '#000000',
  },
}
SCSS
$custom: #cc417d;
$custom-light: #e07fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc417d",
  "rgb": {
    "r": 204,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 334.101,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58957,
    "c": 0.18225,
    "h": 357.8
  },
  "luminance": 0.18099
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC417D

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

Preview Lab → · Contrast checker → · Palette generator →

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