#CD5A78#CD5A78

#CD5A78 is a mid, vivid pink. Relative luminance 0.216; OKLCH L 61.9% C 0.148 H 6.1°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#CD5A78
RGBrgb(205, 90, 120)
HSLhsl(344, 53%, 58%)
HSVhsv(344, 56%, 80%)
CMYKcmyk(0%, 56.1%, 41.5%, 19.6%)
CIE-LABlab(53.65, 48.41, 5.94)
CIE-LCHlch(53.65, 48.78, 6.99°)
OKLaboklab(61.94% 0.1473 0.0158)
OKLCHoklch(61.94% 0.148 6.1)
XYZxyz(32.2252, 21.6510, 20.2477)
Luminance0.2165 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5A78 #5ACDAF
analogous
#CD5AB1 #CD5A78 #CD765A
triadic
#CD5A78 #78CD5A #5A78CD
tetradic
#CD5A78 #B1CD5A #5ACDAF #765ACD
square
#CD5A78 #B1CD5A #5ACDAF #765ACD
split-complementary
#CD5A78 #5ACD76 #5AB1CD
monochromatic
#842840 #B33657 #CD5A78 #DB899E #E9B8C5

Accessibility & contrast

On white

3.94
#CD5A78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#CD5A78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5A78
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5A78#FFFFFF#000000##000000
##CD5A781.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#707279
Deuteranopia (green-blind)
#8E8975
Tritanopia (blue-blind)
#DD4D65
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cd5a78;
/* rgb */ color: rgb(205, 90, 120);
/* oklch */ color: oklch(61.9% 0.148 6.1);
Tailwind
colors: {
  custom: {
    50: '#e08d9e',
    500: '#cd5a78',
    950: '#000000',
  },
}
SCSS
$custom: #cd5a78;
$custom-light: #e08d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5a78",
  "rgb": {
    "r": 205,
    "g": 90,
    "b": 120
  },
  "hsl": {
    "h": 344.348,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61945,
    "c": 0.14814,
    "h": 6.1
  },
  "luminance": 0.21648
}

Semantic roles & 50–950 ramp

primary
#CD5A78
secondary
#AAD8CC
accent
#DDB74B
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CD5A78

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

Preview Lab → · Contrast checker → · Palette generator →

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