#CD386A#CD386A

#CD386A is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.7% C 0.188 H 5.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#CD386A
RGBrgb(205, 56, 106)
HSLhsl(340, 60%, 51%)
HSVhsv(340, 73%, 80%)
CMYKcmyk(0%, 72.7%, 48.3%, 19.6%)
CIE-LABlab(48.07, 61.18, 6.38)
CIE-LCHlch(48.07, 61.52, 5.96°)
OKLaboklab(57.67% 0.187 0.0169)
OKLCHoklch(57.67% 0.188 5.2)
XYZxyz(29.1950, 16.8520, 15.3483)
Luminance0.1685 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD386A #38CD9B
analogous
#CD38B4 #CD386A #CD5038
triadic
#CD386A #6ACD38 #386ACD
tetradic
#CD386A #B4CD38 #38CD9B #5038CD
square
#CD386A #B4CD38 #38CD9B #5038CD
split-complementary
#CD386A #38CD50 #38B4CD
monochromatic
#6F1C38 #A02850 #CD386A #D9698F #E69AB3

Accessibility & contrast

On white

4.81
#CD386A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#CD386A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD386A
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD386A#FFFFFF#000000##FFFFFF
##CD386A1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd386a;
/* rgb */ color: rgb(205, 56, 106);
/* oklch */ color: oklch(57.7% 0.188 5.2);
Tailwind
colors: {
  custom: {
    50: '#e27a94',
    500: '#cd386a',
    950: '#000000',
  },
}
SCSS
$custom: #cd386a;
$custom-light: #e27a94;
$custom-dark: #000000;
JSON
{
  "hex": "#cd386a",
  "rgb": {
    "r": 205,
    "g": 56,
    "b": 106
  },
  "hsl": {
    "h": 339.866,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57669,
    "c": 0.18772,
    "h": 5.2
  },
  "luminance": 0.16848
}

Semantic roles & 50–950 ramp

primary
#CD386A
secondary
#8FD1BB
accent
#E3AE45
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #CD386A

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

Preview Lab → · Contrast checker → · Palette generator →

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