#CD3C78#CD3C78

#CD3C78 is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.5% C 0.187 H 359.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#CD3C78
RGBrgb(205, 60, 120)
HSLhsl(335, 59%, 52%)
HSVhsv(335, 71%, 80%)
CMYKcmyk(0%, 70.7%, 41.5%, 19.6%)
CIE-LABlab(48.97, 61.08, -0.84)
CIE-LCHlch(48.97, 61.09, 359.21°)
OKLaboklab(58.46% 0.1873 -0.0015)
OKLCHoklch(58.46% 0.187 359.5)
XYZxyz(30.1850, 17.5707, 19.5676)
Luminance0.1757 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3C78 #3CCD91
analogous
#CD3CC1 #CD3C78 #CD483C
triadic
#CD3C78 #78CD3C #3C78CD
tetradic
#CD3C78 #C1CD3C #3CCD91 #483CCD
square
#CD3C78 #C1CD3C #3CCD91 #483CCD
split-complementary
#CD3C78 #3CCD48 #3CC1CD
monochromatic
#711D40 #A22A5C #CD3C78 #D96D9A #E69DBB

Accessibility & contrast

On white

4.65
#CD3C78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#CD3C78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CD3C78
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3C78#FFFFFF#000000##FFFFFF
##CD3C781.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A637A
Deuteranopia (green-blind)
#817E75
Tritanopia (blue-blind)
#DE2955
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cd3c78;
/* rgb */ color: rgb(205, 60, 120);
/* oklch */ color: oklch(58.5% 0.187 359.5);
Tailwind
colors: {
  custom: {
    50: '#e17d9e',
    500: '#cd3c78',
    950: '#000000',
  },
}
SCSS
$custom: #cd3c78;
$custom-light: #e17d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3c78",
  "rgb": {
    "r": 205,
    "g": 60,
    "b": 120
  },
  "hsl": {
    "h": 335.172,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58461,
    "c": 0.18729,
    "h": 359.5
  },
  "luminance": 0.17567
}

Semantic roles & 50–950 ramp

primary
#CD3C78
secondary
#93D2B8
accent
#E2A145
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CD3C78

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

Preview Lab → · Contrast checker → · Palette generator →

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