#CD396B#CD396B

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

Color values

HEX#CD396B
RGBrgb(205, 57, 107)
HSLhsl(340, 60%, 51%)
HSVhsv(340, 72%, 80%)
CMYKcmyk(0%, 72.2%, 47.8%, 19.6%)
CIE-LABlab(48.22, 60.92, 5.99)
CIE-LCHlch(48.22, 61.22, 5.61°)
OKLaboklab(57.79% 0.1862 0.0159)
OKLCHoklch(57.79% 0.187 4.9)
XYZxyz(29.2962, 16.9708, 15.6401)
Luminance0.1697 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD396B #39CD9B
analogous
#CD39B5 #CD396B #CD5139
triadic
#CD396B #6BCD39 #396BCD
tetradic
#CD396B #B5CD39 #39CD9B #5139CD
square
#CD396B #B5CD39 #39CD9B #5139CD
split-complementary
#CD396B #39CD51 #39B5CD
monochromatic
#6F1C38 #A02851 #CD396B #D96A90 #E69BB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD396B#FFFFFF#000000##FFFFFF
##CD396B1.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)
#5C606C
Deuteranopia (green-blind)
#837D67
Tritanopia (blue-blind)
#DF1C4E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cd396b;
/* rgb */ color: rgb(205, 57, 107);
/* oklch */ color: oklch(57.8% 0.187 4.9);
Tailwind
colors: {
  custom: {
    50: '#e27b95',
    500: '#cd396b',
    950: '#000000',
  },
}
SCSS
$custom: #cd396b;
$custom-light: #e27b95;
$custom-dark: #000000;
JSON
{
  "hex": "#cd396b",
  "rgb": {
    "r": 205,
    "g": 57,
    "b": 107
  },
  "hsl": {
    "h": 339.73,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57789,
    "c": 0.18689,
    "h": 4.9
  },
  "luminance": 0.16967
}

Semantic roles & 50–950 ramp

primary
#CD396B
secondary
#90D2BB
accent
#E3AE45
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CD396B

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

Preview Lab → · Contrast checker → · Palette generator →

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