#CD407B#CD407B

#CD407B is a mid, vivid pink. Relative luminance 0.181; OKLCH L 58.9% C 0.184 H 358.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#CD407B
RGBrgb(205, 64, 123)
HSLhsl(335, 59%, 53%)
HSVhsv(335, 69%, 80%)
CMYKcmyk(0%, 68.8%, 40%, 19.6%)
CIE-LABlab(49.59, 59.91, -1.75)
CIE-LCHlch(49.59, 59.94, 358.33°)
OKLaboklab(58.95% 0.1836 -0.0038)
OKLCHoklch(58.95% 0.184 358.8)
XYZxyz(30.5875, 18.0797, 20.6140)
Luminance0.1808 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD407B #40CD92
analogous
#CD40C1 #CD407B #CD4C40
triadic
#CD407B #7BCD40 #407BCD
tetradic
#CD407B #C1CD40 #40CD92 #4C40CD
square
#CD407B #C1CD40 #40CD92 #4C40CD
split-complementary
#CD407B #40CD4C #40C1CD
monochromatic
#741E42 #A52B5E #CD407B #DA719D #E6A1BE

Accessibility & contrast

On white

4.55
#CD407B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#CD407B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD407B
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD407B#FFFFFF#000000##000000
##CD407B1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd407b;
/* rgb */ color: rgb(205, 64, 123);
/* oklch */ color: oklch(58.9% 0.184 358.8);
Tailwind
colors: {
  custom: {
    50: '#e17fa1',
    500: '#cd407b',
    950: '#000000',
  },
}
SCSS
$custom: #cd407b;
$custom-light: #e17fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd407b",
  "rgb": {
    "r": 205,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 334.894,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58949,
    "c": 0.18362,
    "h": 358.8
  },
  "luminance": 0.18076
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD407B

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

Preview Lab → · Contrast checker → · Palette generator →

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