#CD5784#CD5784

#CD5784 is a mid, vivid pink. Relative luminance 0.215; OKLCH L 61.9% C 0.156 H 358.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#CD5784
RGBrgb(205, 87, 132)
HSLhsl(337, 54%, 57%)
HSVhsv(337, 58%, 80%)
CMYKcmyk(0%, 57.6%, 35.6%, 19.6%)
CIE-LABlab(53.45, 51.16, -1.47)
CIE-LCHlch(53.45, 51.19, 358.35°)
OKLaboklab(61.9% 0.1559 -0.0032)
OKLCHoklch(61.9% 0.156 358.8)
XYZxyz(32.7517, 21.4649, 24.2436)
Luminance0.2146 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5784 #57CDA0
analogous
#CD57BF #CD5784 #CD6557
triadic
#CD5784 #84CD57 #5784CD
tetradic
#CD5784 #BFCD57 #57CDA0 #6557CD
square
#CD5784 #BFCD57 #57CDA0 #6557CD
split-complementary
#CD5784 #57CD65 #57BFCD
monochromatic
#83274A #B23565 #CD5784 #DB86A7 #E9B5C9

Accessibility & contrast

On white

3.97
#CD5784 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#CD5784 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5784
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5784#FFFFFF#000000##000000
##CD57841.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7285
Deuteranopia (green-blind)
#8A8881
Tritanopia (blue-blind)
#DC4D68
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cd5784;
/* rgb */ color: rgb(205, 87, 132);
/* oklch */ color: oklch(61.9% 0.156 358.8);
Tailwind
colors: {
  custom: {
    50: '#e08ba7',
    500: '#cd5784',
    950: '#000000',
  },
}
SCSS
$custom: #cd5784;
$custom-light: #e08ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5784",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 132
  },
  "hsl": {
    "h": 337.119,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61904,
    "c": 0.15597,
    "h": 358.8
  },
  "luminance": 0.21461
}

Semantic roles & 50–950 ramp

primary
#CD5784
secondary
#A8D8C6
accent
#DDA54A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CD5784

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

Preview Lab → · Contrast checker → · Palette generator →

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