#CD406B#CD406B

#CD406B is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.5% C 0.179 H 6.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#CD406B
RGBrgb(205, 64, 107)
HSLhsl(342, 59%, 53%)
HSVhsv(342, 69%, 80%)
CMYKcmyk(0%, 68.8%, 47.8%, 19.6%)
CIE-LABlab(49.14, 58.37, 7.30)
CIE-LCHlch(49.14, 58.83, 7.13°)
OKLaboklab(58.47% 0.178 0.0192)
OKLCHoklch(58.47% 0.179 6.2)
XYZxyz(29.6665, 17.7113, 15.7635)
Luminance0.1771 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD406B #40CDA2
analogous
#CD40B1 #CD406B #CD5B40
triadic
#CD406B #6BCD40 #406BCD
tetradic
#CD406B #B1CD40 #40CDA2 #5B40CD
square
#CD406B #B1CD40 #40CDA2 #5B40CD
split-complementary
#CD406B #40CD5B #40B1CD
monochromatic
#741E39 #A52B50 #CD406B #DA7191 #E6A1B6

Accessibility & contrast

On white

4.62
#CD406B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#CD406B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CD406B
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD406B#FFFFFF#000000##FFFFFF
##CD406B1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60636C
Deuteranopia (green-blind)
#857F68
Tritanopia (blue-blind)
#DF2851
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cd406b;
/* rgb */ color: rgb(205, 64, 107);
/* oklch */ color: oklch(58.5% 0.179 6.2);
Tailwind
colors: {
  custom: {
    50: '#e27e95',
    500: '#cd406b',
    950: '#000000',
  },
}
SCSS
$custom: #cd406b;
$custom-light: #e27e95;
$custom-dark: #000000;
JSON
{
  "hex": "#cd406b",
  "rgb": {
    "r": 205,
    "g": 64,
    "b": 107
  },
  "hsl": {
    "h": 341.702,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5847,
    "c": 0.17907,
    "h": 6.2
  },
  "luminance": 0.17707
}

Semantic roles & 50–950 ramp

primary
#CD406B
secondary
#96D3C0
accent
#E2B246
background
#FEF8F9
surface
#FDEFF1
border
#D5CACB
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CD406B

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

Preview Lab → · Contrast checker → · Palette generator →

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