#CD4A78#CD4A78

#CD4A78 is a mid, vivid pink. Relative luminance 0.192; OKLCH L 59.9% C 0.170 H 2.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#CD4A78
RGBrgb(205, 74, 120)
HSLhsl(339, 57%, 55%)
HSVhsv(339, 64%, 80%)
CMYKcmyk(0%, 63.9%, 41.5%, 19.6%)
CIE-LABlab(50.96, 55.61, 2.06)
CIE-LCHlch(50.96, 55.65, 2.12°)
OKLaboklab(59.94% 0.1699 0.006)
OKLCHoklch(59.94% 0.17 2)
XYZxyz(31.0179, 19.2364, 19.8452)
Luminance0.1923 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4A78 #4ACD9F
analogous
#CD4ABA #CD4A78 #CD5D4A
triadic
#CD4A78 #78CD4A #4A78CD
tetradic
#CD4A78 #BACD4A #4ACD9F #5D4ACD
square
#CD4A78 #BACD4A #4ACD9F #5D4ACD
split-complementary
#CD4A78 #4ACD5D #4ABACD
monochromatic
#7B2241 #AB2F5B #CD4A78 #DA7A9C #E7AAC0

Accessibility & contrast

On white

4.33
#CD4A78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#CD4A78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4A78
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4A78#FFFFFF#000000##000000
##CD4A781.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#646979
Deuteranopia (green-blind)
#878375
Tritanopia (blue-blind)
#DE3B5C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd4a78;
/* rgb */ color: rgb(205, 74, 120);
/* oklch */ color: oklch(59.9% 0.170 2.0);
Tailwind
colors: {
  custom: {
    50: '#e1849e',
    500: '#cd4a78',
    950: '#000000',
  },
}
SCSS
$custom: #cd4a78;
$custom-light: #e1849e;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4a78",
  "rgb": {
    "r": 205,
    "g": 74,
    "b": 120
  },
  "hsl": {
    "h": 338.931,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59935,
    "c": 0.17002,
    "h": 2
  },
  "luminance": 0.19233
}

Semantic roles & 50–950 ramp

primary
#CD4A78
secondary
#9ED5C2
accent
#E0AB48
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CD4A78

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

Preview Lab → · Contrast checker → · Palette generator →

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