#CC417B#CC417B

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

Color values

HEX#CC417B
RGBrgb(204, 65, 123)
HSLhsl(335, 58%, 53%)
HSVhsv(335, 68%, 80%)
CMYKcmyk(0%, 68.1%, 39.7%, 20%)
CIE-LABlab(49.56, 59.24, -1.82)
CIE-LCHlch(49.56, 59.27, 358.24°)
OKLaboklab(58.89% 0.1815 -0.004)
OKLCHoklch(58.89% 0.182 358.7)
XYZxyz(30.3693, 18.0517, 20.6201)
Luminance0.1805 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC417B #41CC92
analogous
#CC41C0 #CC417B #CC4C41
triadic
#CC417B #7BCC41 #417BCC
tetradic
#CC417B #C0CC41 #41CC92 #4C41CC
square
#CC417B #C0CC41 #41CC92 #4C41CC
split-complementary
#CC417B #41CC4C #41C0CC
monochromatic
#741F42 #A42C5E #CC417B #D9719D #E6A1BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC417B#FFFFFF#000000##000000
##CC417B1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C657D
Deuteranopia (green-blind)
#828078
Tritanopia (blue-blind)
#DC3159
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc417b;
/* rgb */ color: rgb(204, 65, 123);
/* oklch */ color: oklch(58.9% 0.182 358.7);
Tailwind
colors: {
  custom: {
    50: '#e07fa1',
    500: '#cc417b',
    950: '#000000',
  },
}
SCSS
$custom: #cc417b;
$custom-light: #e07fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc417b",
  "rgb": {
    "r": 204,
    "g": 65,
    "b": 123
  },
  "hsl": {
    "h": 334.964,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58891,
    "c": 0.18151,
    "h": 358.7
  },
  "luminance": 0.18048
}

Semantic roles & 50–950 ramp

primary
#CC417B
secondary
#96D3B9
accent
#E1A147
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC417B

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

Preview Lab → · Contrast checker → · Palette generator →

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