#CD3878#CD3878

#CD3878 is a mid, vivid pink. Relative luminance 0.172; OKLCH L 58.1% C 0.192 H 359.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#CD3878
RGBrgb(205, 56, 120)
HSLhsl(334, 60%, 51%)
HSVhsv(334, 73%, 80%)
CMYKcmyk(0%, 72.7%, 41.5%, 19.6%)
CIE-LABlab(48.47, 62.48, -1.58)
CIE-LCHlch(48.47, 62.50, 358.55°)
OKLaboklab(58.09% 0.1917 -0.0034)
OKLCHoklch(58.09% 0.192 359)
XYZxyz(29.9834, 17.1673, 19.5004)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3878 #38CD8D
analogous
#CD38C2 #CD3878 #CD4238
triadic
#CD3878 #78CD38 #3878CD
tetradic
#CD3878 #C2CD38 #38CD8D #4238CD
square
#CD3878 #C2CD38 #38CD8D #4238CD
split-complementary
#CD3878 #38CD42 #38C2CD
monochromatic
#6F1C3F #A0285B #CD3878 #D96999 #E69ABA

Accessibility & contrast

On white

4.74
#CD3878 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#CD3878 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD3878
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3878#FFFFFF#000000##FFFFFF
##CD38781.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57617A
Deuteranopia (green-blind)
#807D75
Tritanopia (blue-blind)
#DE2353
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cd3878;
/* rgb */ color: rgb(205, 56, 120);
/* oklch */ color: oklch(58.1% 0.192 359.0);
Tailwind
colors: {
  custom: {
    50: '#e27b9e',
    500: '#cd3878',
    950: '#000000',
  },
}
SCSS
$custom: #cd3878;
$custom-light: #e27b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3878",
  "rgb": {
    "r": 205,
    "g": 56,
    "b": 120
  },
  "hsl": {
    "h": 334.228,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58092,
    "c": 0.19177,
    "h": 359
  },
  "luminance": 0.17164
}

Semantic roles & 50–950 ramp

primary
#CD3878
secondary
#8FD1B5
accent
#E39F45
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CD3878

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

Preview Lab → · Contrast checker → · Palette generator →

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