#CD417A#CD417A

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

Color values

HEX#CD417A
RGBrgb(205, 65, 122)
HSLhsl(336, 58%, 53%)
HSVhsv(336, 68%, 80%)
CMYKcmyk(0%, 68.3%, 40.5%, 19.6%)
CIE-LABlab(49.70, 59.43, -0.99)
CIE-LCHlch(49.70, 59.44, 359.05°)
OKLaboklab(59.02% 0.1821 -0.0019)
OKLCHoklch(59.02% 0.182 359.4)
XYZxyz(30.5821, 18.1686, 20.3050)
Luminance0.1817 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD417A #41CD94
analogous
#CD41C0 #CD417A #CD4E41
triadic
#CD417A #7ACD41 #417ACD
tetradic
#CD417A #C0CD41 #41CD94 #4E41CD
square
#CD417A #C0CD41 #41CD94 #4E41CD
split-complementary
#CD417A #41CD4E #41C0CD
monochromatic
#751F42 #A52C5D #CD417A #DA719C #E6A2BE

Accessibility & contrast

On white

4.53
#CD417A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD417A#FFFFFF#000000##000000
##CD417A1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D657C
Deuteranopia (green-blind)
#838077
Tritanopia (blue-blind)
#DE3058
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cd417a;
/* rgb */ color: rgb(205, 65, 122);
/* oklch */ color: oklch(59.0% 0.182 359.4);
Tailwind
colors: {
  custom: {
    50: '#e17fa0',
    500: '#cd417a',
    950: '#000000',
  },
}
SCSS
$custom: #cd417a;
$custom-light: #e17fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd417a",
  "rgb": {
    "r": 205,
    "g": 65,
    "b": 122
  },
  "hsl": {
    "h": 335.571,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59018,
    "c": 0.18206,
    "h": 359.4
  },
  "luminance": 0.18165
}

Semantic roles & 50–950 ramp

primary
#CD417A
secondary
#97D3BB
accent
#E2A246
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CD417A

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

Preview Lab → · Contrast checker → · Palette generator →

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