#CD4D78#CD4D78

#CD4D78 is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.3% C 0.166 H 2.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#CD4D78
RGBrgb(205, 77, 120)
HSLhsl(340, 56%, 55%)
HSVhsv(340, 62%, 80%)
CMYKcmyk(0%, 62.4%, 41.5%, 19.6%)
CIE-LABlab(51.44, 54.33, 2.74)
CIE-LCHlch(51.44, 54.40, 2.89°)
OKLaboklab(60.29% 0.1659 0.0077)
OKLCHoklch(60.29% 0.166 2.7)
XYZxyz(31.2230, 19.6466, 19.9136)
Luminance0.1964 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4D78 #4DCDA2
analogous
#CD4DB8 #CD4D78 #CD624D
triadic
#CD4D78 #78CD4D #4D78CD
tetradic
#CD4D78 #B8CD4D #4DCDA2 #624DCD
square
#CD4D78 #B8CD4D #4DCDA2 #624DCD
split-complementary
#CD4D78 #4DCD62 #4DB8CD
monochromatic
#7D2341 #AC305A #CD4D78 #DA7D9C #E8ADC0

Accessibility & contrast

On white

4.26
#CD4D78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#CD4D78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4D78
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4D78#FFFFFF#000000##000000
##CD4D781.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#666B79
Deuteranopia (green-blind)
#888475
Tritanopia (blue-blind)
#DE3E5E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd4d78;
/* rgb */ color: rgb(205, 77, 120);
/* oklch */ color: oklch(60.3% 0.166 2.7);
Tailwind
colors: {
  custom: {
    50: '#e1859e',
    500: '#cd4d78',
    950: '#000000',
  },
}
SCSS
$custom: #cd4d78;
$custom-light: #e1859e;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4d78",
  "rgb": {
    "r": 205,
    "g": 77,
    "b": 120
  },
  "hsl": {
    "h": 339.844,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60286,
    "c": 0.16605,
    "h": 2.7
  },
  "luminance": 0.19643
}

Semantic roles & 50–950 ramp

primary
#CD4D78
secondary
#A0D6C4
accent
#DFAD48
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CD4D78

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

Preview Lab → · Contrast checker → · Palette generator →

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