#CC417F#CC417F

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

Color values

HEX#CC417F
RGBrgb(204, 65, 127)
HSLhsl(333, 58%, 53%)
HSVhsv(333, 68%, 80%)
CMYKcmyk(0%, 68.1%, 37.7%, 20%)
CIE-LABlab(49.68, 59.67, -4.05)
CIE-LCHlch(49.68, 59.80, 356.11°)
OKLaboklab(59.02% 0.1828 -0.0099)
OKLCHoklch(59.02% 0.183 356.9)
XYZxyz(30.6249, 18.1539, 21.9659)
Luminance0.1815 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC417F #41CC8E
analogous
#CC41C5 #CC417F #CC4841
triadic
#CC417F #7FCC41 #417FCC
tetradic
#CC417F #C5CC41 #41CC8E #4841CC
square
#CC417F #C5CC41 #41CC8E #4841CC
split-complementary
#CC417F #41CC48 #41C5CC
monochromatic
#741F45 #A42C61 #CC417F #D971A0 #E6A1C0

Accessibility & contrast

On white

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

On black

4.63
#CC417F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC417F
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC417F#FFFFFF#000000##000000
##CC417F1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6681
Deuteranopia (green-blind)
#81807C
Tritanopia (blue-blind)
#DC335B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc417f;
/* rgb */ color: rgb(204, 65, 127);
/* oklch */ color: oklch(59.0% 0.183 356.9);
Tailwind
colors: {
  custom: {
    50: '#e07fa4',
    500: '#cc417f',
    950: '#000000',
  },
}
SCSS
$custom: #cc417f;
$custom-light: #e07fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc417f",
  "rgb": {
    "r": 204,
    "g": 65,
    "b": 127
  },
  "hsl": {
    "h": 333.237,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59023,
    "c": 0.18302,
    "h": 356.9
  },
  "luminance": 0.1815
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC417F

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

Preview Lab → · Contrast checker → · Palette generator →

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