#CD4F78#CD4F78

#CD4F78 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.5% C 0.163 H 3.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CD4F78
RGBrgb(205, 79, 120)
HSLhsl(340, 56%, 56%)
HSVhsv(340, 61%, 80%)
CMYKcmyk(0%, 61.5%, 41.5%, 19.6%)
CIE-LABlab(51.76, 53.46, 3.21)
CIE-LCHlch(51.76, 53.55, 3.44°)
OKLaboklab(60.53% 0.1631 0.0089)
OKLCHoklch(60.53% 0.163 3.1)
XYZxyz(31.3651, 19.9308, 19.9609)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4F78 #4FCDA4
analogous
#CD4FB7 #CD4F78 #CD654F
triadic
#CD4F78 #78CD4F #4F78CD
tetradic
#CD4F78 #B7CD4F #4FCDA4 #654FCD
square
#CD4F78 #B7CD4F #4FCDA4 #654FCD
split-complementary
#CD4F78 #4FCD65 #4FB7CD
monochromatic
#7E2441 #AE315A #CD4F78 #DB7F9D #E8AEC1

Accessibility & contrast

On white

4.21
#CD4F78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#CD4F78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4F78
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4F78#FFFFFF#000000##000000
##CD4F781.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#676C79
Deuteranopia (green-blind)
#898475
Tritanopia (blue-blind)
#DE415F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd4f78;
/* rgb */ color: rgb(205, 79, 120);
/* oklch */ color: oklch(60.5% 0.163 3.1);
Tailwind
colors: {
  custom: {
    50: '#e1869e',
    500: '#cd4f78',
    950: '#000000',
  },
}
SCSS
$custom: #cd4f78;
$custom-light: #e1869e;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4f78",
  "rgb": {
    "r": 205,
    "g": 79,
    "b": 120
  },
  "hsl": {
    "h": 340.476,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60527,
    "c": 0.16336,
    "h": 3.1
  },
  "luminance": 0.19927
}

Semantic roles & 50–950 ramp

primary
#CD4F78
secondary
#A2D6C5
accent
#DFAE49
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CD4F78

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

Preview Lab → · Contrast checker → · Palette generator →

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