#CD5789#CD5789

#CD5789 is a light, vivid pink. Relative luminance 0.216; OKLCH L 62.1% C 0.158 H 356.2°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#CD5789
RGBrgb(205, 87, 137)
HSLhsl(335, 54%, 57%)
HSVhsv(335, 58%, 80%)
CMYKcmyk(0%, 57.6%, 33.2%, 19.6%)
CIE-LABlab(53.61, 51.76, -4.21)
CIE-LCHlch(53.61, 51.93, 355.35°)
OKLaboklab(62.07% 0.1576 -0.0104)
OKLCHoklch(62.07% 0.158 356.2)
XYZxyz(33.1020, 21.6050, 26.0890)
Luminance0.2160 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5789 #57CD9B
analogous
#CD57C4 #CD5789 #CD6057
triadic
#CD5789 #89CD57 #5789CD
tetradic
#CD5789 #C4CD57 #57CD9B #6057CD
square
#CD5789 #C4CD57 #57CD9B #6057CD
split-complementary
#CD5789 #57CD60 #57C4CD
monochromatic
#83274E #B2356A #CD5789 #DB86AA #E9B5CB

Accessibility & contrast

On white

3.95
#CD5789 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#CD5789 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5789
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5789#FFFFFF#000000##000000
##CD57891.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#69728B
Deuteranopia (green-blind)
#898886
Tritanopia (blue-blind)
#DC4F6A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cd5789;
/* rgb */ color: rgb(205, 87, 137);
/* oklch */ color: oklch(62.1% 0.158 356.2);
Tailwind
colors: {
  custom: {
    50: '#e08bab',
    500: '#cd5789',
    950: '#000000',
  },
}
SCSS
$custom: #cd5789;
$custom-light: #e08bab;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5789",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 137
  },
  "hsl": {
    "h": 334.576,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62066,
    "c": 0.15793,
    "h": 356.2
  },
  "luminance": 0.21602
}

Semantic roles & 50–950 ramp

primary
#CD5789
secondary
#A8D8C4
accent
#DD9F4A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD5789

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

Preview Lab → · Contrast checker → · Palette generator →

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