#CD417C#CD417C

#CD417C is a mid, vivid pink. Relative luminance 0.182; OKLCH L 59.1% C 0.183 H 358.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#CD417C
RGBrgb(205, 65, 124)
HSLhsl(335, 58%, 53%)
HSVhsv(335, 68%, 80%)
CMYKcmyk(0%, 68.3%, 39.5%, 19.6%)
CIE-LABlab(49.76, 59.64, -2.11)
CIE-LCHlch(49.76, 59.67, 357.98°)
OKLaboklab(59.08% 0.1827 -0.0048)
OKLCHoklch(59.08% 0.183 358.5)
XYZxyz(30.7073, 18.2187, 20.9644)
Luminance0.1822 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD417C #41CD92
analogous
#CD41C2 #CD417C #CD4C41
triadic
#CD417C #7CCD41 #417CCD
tetradic
#CD417C #C2CD41 #41CD92 #4C41CD
square
#CD417C #C2CD41 #41CD92 #4C41CD
split-complementary
#CD417C #41CD4C #41C2CD
monochromatic
#751F43 #A52C5F #CD417C #DA719D #E6A2BF

Accessibility & contrast

On white

4.52
#CD417C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#CD417C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD417C
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD417C#FFFFFF#000000##000000
##CD417C1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C657E
Deuteranopia (green-blind)
#828079
Tritanopia (blue-blind)
#DD3159
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cd417c;
/* rgb */ color: rgb(205, 65, 124);
/* oklch */ color: oklch(59.1% 0.183 358.5);
Tailwind
colors: {
  custom: {
    50: '#e17fa1',
    500: '#cd417c',
    950: '#000000',
  },
}
SCSS
$custom: #cd417c;
$custom-light: #e17fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd417c",
  "rgb": {
    "r": 205,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 334.714,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59082,
    "c": 0.18276,
    "h": 358.5
  },
  "luminance": 0.18215
}

Semantic roles & 50–950 ramp

primary
#CD417C
secondary
#97D3BA
accent
#E2A046
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CD417C

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

Preview Lab → · Contrast checker → · Palette generator →

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