#CD386F#CD386F

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

Color values

HEX#CD386F
RGBrgb(205, 56, 111)
HSLhsl(338, 60%, 51%)
HSVhsv(338, 73%, 80%)
CMYKcmyk(0%, 72.7%, 45.9%, 19.6%)
CIE-LABlab(48.21, 61.63, 3.52)
CIE-LCHlch(48.21, 61.73, 3.27°)
OKLaboklab(57.81% 0.1887 0.0097)
OKLCHoklch(57.81% 0.189 2.9)
XYZxyz(29.4626, 16.9590, 16.7578)
Luminance0.1696 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD386F #38CD96
analogous
#CD38B9 #CD386F #CD4B38
triadic
#CD386F #6FCD38 #386FCD
tetradic
#CD386F #B9CD38 #38CD96 #4B38CD
square
#CD386F #B9CD38 #38CD96 #4B38CD
split-complementary
#CD386F #38CD4B #38B9CD
monochromatic
#6F1C3A #A02854 #CD386F #D96992 #E69AB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD386F#FFFFFF#000000##FFFFFF
##CD386F1.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)
#5A6070
Deuteranopia (green-blind)
#827D6C
Tritanopia (blue-blind)
#DF1D4F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cd386f;
/* rgb */ color: rgb(205, 56, 111);
/* oklch */ color: oklch(57.8% 0.189 2.9);
Tailwind
colors: {
  custom: {
    50: '#e27b98',
    500: '#cd386f',
    950: '#000000',
  },
}
SCSS
$custom: #cd386f;
$custom-light: #e27b98;
$custom-dark: #000000;
JSON
{
  "hex": "#cd386f",
  "rgb": {
    "r": 205,
    "g": 56,
    "b": 111
  },
  "hsl": {
    "h": 337.852,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57813,
    "c": 0.18898,
    "h": 2.9
  },
  "luminance": 0.16955
}

Semantic roles & 50–950 ramp

primary
#CD386F
secondary
#8FD1B9
accent
#E3A945
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CD386F

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

Preview Lab → · Contrast checker → · Palette generator →

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