#CD3A78#CD3A78

#CD3A78 is a mid, vivid pink. Relative luminance 0.174; OKLCH L 58.3% C 0.190 H 359.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#CD3A78
RGBrgb(205, 58, 120)
HSLhsl(335, 60%, 52%)
HSVhsv(335, 72%, 80%)
CMYKcmyk(0%, 71.7%, 41.5%, 19.6%)
CIE-LABlab(48.72, 61.79, -1.22)
CIE-LCHlch(48.72, 61.80, 358.87°)
OKLaboklab(58.27% 0.1895 -0.0024)
OKLCHoklch(58.27% 0.19 359.3)
XYZxyz(30.0822, 17.3651, 19.5333)
Luminance0.1736 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3A78 #3ACD8F
analogous
#CD3AC1 #CD3A78 #CD463A
triadic
#CD3A78 #78CD3A #3A78CD
tetradic
#CD3A78 #C1CD3A #3ACD8F #463ACD
square
#CD3A78 #C1CD3A #3ACD8F #463ACD
split-complementary
#CD3A78 #3ACD46 #3AC1CD
monochromatic
#701C40 #A1295C #CD3A78 #D96B99 #E69CBB

Accessibility & contrast

On white

4.70
#CD3A78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#CD3A78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD3A78
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3A78#FFFFFF#000000##FFFFFF
##CD3A781.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59627A
Deuteranopia (green-blind)
#817E75
Tritanopia (blue-blind)
#DE2654
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cd3a78;
/* rgb */ color: rgb(205, 58, 120);
/* oklch */ color: oklch(58.3% 0.190 359.3);
Tailwind
colors: {
  custom: {
    50: '#e27c9e',
    500: '#cd3a78',
    950: '#000000',
  },
}
SCSS
$custom: #cd3a78;
$custom-light: #e27c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3a78",
  "rgb": {
    "r": 205,
    "g": 58,
    "b": 120
  },
  "hsl": {
    "h": 334.694,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58273,
    "c": 0.18956,
    "h": 359.3
  },
  "luminance": 0.17361
}

Semantic roles & 50–950 ramp

primary
#CD3A78
secondary
#91D2B6
accent
#E3A045
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CD3A78

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

Preview Lab → · Contrast checker → · Palette generator →

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