#CD396A#CD396A

#CD396A is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.8% C 0.187 H 5.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CD396A
RGBrgb(205, 57, 106)
HSLhsl(340, 60%, 51%)
HSVhsv(340, 72%, 80%)
CMYKcmyk(0%, 72.2%, 48.3%, 19.6%)
CIE-LABlab(48.20, 60.84, 6.56)
CIE-LCHlch(48.20, 61.19, 6.15°)
OKLaboklab(57.76% 0.1858 0.0173)
OKLCHoklch(57.76% 0.187 5.3)
XYZxyz(29.2439, 16.9499, 15.3646)
Luminance0.1695 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD396A #39CD9C
analogous
#CD39B4 #CD396A #CD5239
triadic
#CD396A #6ACD39 #396ACD
tetradic
#CD396A #B4CD39 #39CD9C #5239CD
square
#CD396A #B4CD39 #39CD9C #5239CD
split-complementary
#CD396A #39CD52 #39B4CD
monochromatic
#6F1C38 #A02850 #CD396A #D96A8F #E69BB4

Accessibility & contrast

On white

4.78
#CD396A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#CD396A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD396A
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD396A#FFFFFF#000000##FFFFFF
##CD396A1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C606B
Deuteranopia (green-blind)
#837D66
Tritanopia (blue-blind)
#DF1C4D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cd396a;
/* rgb */ color: rgb(205, 57, 106);
/* oklch */ color: oklch(57.8% 0.187 5.3);
Tailwind
colors: {
  custom: {
    50: '#e27b94',
    500: '#cd396a',
    950: '#000000',
  },
}
SCSS
$custom: #cd396a;
$custom-light: #e27b94;
$custom-dark: #000000;
JSON
{
  "hex": "#cd396a",
  "rgb": {
    "r": 205,
    "g": 57,
    "b": 106
  },
  "hsl": {
    "h": 340.135,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5776,
    "c": 0.18666,
    "h": 5.3
  },
  "luminance": 0.16946
}

Semantic roles & 50–950 ramp

primary
#CD396A
secondary
#90D2BC
accent
#E3AF45
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #CD396A

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

Preview Lab → · Contrast checker → · Palette generator →

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