#CD417B#CD417B

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

Color values

HEX#CD417B
RGBrgb(205, 65, 123)
HSLhsl(335, 58%, 53%)
HSVhsv(335, 68%, 80%)
CMYKcmyk(0%, 68.3%, 40%, 19.6%)
CIE-LABlab(49.73, 59.53, -1.55)
CIE-LCHlch(49.73, 59.55, 358.51°)
OKLaboklab(59.05% 0.1824 -0.0033)
OKLCHoklch(59.05% 0.182 359)
XYZxyz(30.6444, 18.1935, 20.6330)
Luminance0.1819 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD417B #41CD93
analogous
#CD41C1 #CD417B #CD4D41
triadic
#CD417B #7BCD41 #417BCD
tetradic
#CD417B #C1CD41 #41CD93 #4D41CD
square
#CD417B #C1CD41 #41CD93 #4D41CD
split-complementary
#CD417B #41CD4D #41C1CD
monochromatic
#751F42 #A52C5E #CD417B #DA719D #E6A2BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD417B#FFFFFF#000000##000000
##CD417B1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd417b;
/* rgb */ color: rgb(205, 65, 123);
/* oklch */ color: oklch(59.1% 0.182 359.0);
Tailwind
colors: {
  custom: {
    50: '#e17fa1',
    500: '#cd417b',
    950: '#000000',
  },
}
SCSS
$custom: #cd417b;
$custom-light: #e17fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd417b",
  "rgb": {
    "r": 205,
    "g": 65,
    "b": 123
  },
  "hsl": {
    "h": 335.143,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5905,
    "c": 0.1824,
    "h": 359
  },
  "luminance": 0.1819
}

Semantic roles & 50–950 ramp

primary
#CD417B
secondary
#97D3BA
accent
#E2A146
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CD417B

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

Preview Lab → · Contrast checker → · Palette generator →

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