#CD417D#CD417D

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

Color values

HEX#CD417D
RGBrgb(205, 65, 125)
HSLhsl(334, 58%, 53%)
HSVhsv(334, 68%, 80%)
CMYKcmyk(0%, 68.3%, 39%, 19.6%)
CIE-LABlab(49.79, 59.74, -2.67)
CIE-LCHlch(49.79, 59.80, 357.44°)
OKLaboklab(59.11% 0.183 -0.0062)
OKLCHoklch(59.11% 0.183 358)
XYZxyz(30.7708, 18.2441, 21.2991)
Luminance0.1824 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD417D #41CD91
analogous
#CD41C3 #CD417D #CD4B41
triadic
#CD417D #7DCD41 #417DCD
tetradic
#CD417D #C3CD41 #41CD91 #4B41CD
square
#CD417D #C3CD41 #41CD91 #4B41CD
split-complementary
#CD417D #41CD4B #41C3CD
monochromatic
#751F44 #A52C60 #CD417D #DA719E #E6A2BF

Accessibility & contrast

On white

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

On black

4.65
#CD417D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD417D
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD417D#FFFFFF#000000##000000
##CD417D1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C667F
Deuteranopia (green-blind)
#82807A
Tritanopia (blue-blind)
#DD325A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cd417d;
/* rgb */ color: rgb(205, 65, 125);
/* oklch */ color: oklch(59.1% 0.183 358.0);
Tailwind
colors: {
  custom: {
    50: '#e17fa2',
    500: '#cd417d',
    950: '#000000',
  },
}
SCSS
$custom: #cd417d;
$custom-light: #e17fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd417d",
  "rgb": {
    "r": 205,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 334.286,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59115,
    "c": 0.18313,
    "h": 358
  },
  "luminance": 0.1824
}

Semantic roles & 50–950 ramp

primary
#CD417D
secondary
#97D3B9
accent
#E29F46
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CD417D

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

Preview Lab → · Contrast checker → · Palette generator →

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