#CD5782#CD5782

#CD5782 is a mid, vivid pink. Relative luminance 0.214; OKLCH L 61.8% C 0.155 H 359.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#CD5782
RGBrgb(205, 87, 130)
HSLhsl(338, 54%, 57%)
HSVhsv(338, 58%, 80%)
CMYKcmyk(0%, 57.6%, 36.6%, 19.6%)
CIE-LABlab(53.40, 50.93, -0.37)
CIE-LCHlch(53.40, 50.93, 359.58°)
OKLaboklab(61.84% 0.1553 -0.0003)
OKLCHoklch(61.84% 0.155 359.9)
XYZxyz(32.6161, 21.4107, 23.5298)
Luminance0.2141 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5782 #57CDA2
analogous
#CD57BD #CD5782 #CD6757
triadic
#CD5782 #82CD57 #5782CD
tetradic
#CD5782 #BDCD57 #57CDA2 #6757CD
square
#CD5782 #BDCD57 #57CDA2 #6757CD
split-complementary
#CD5782 #57CD67 #57BDCD
monochromatic
#832748 #B23562 #CD5782 #DB86A5 #E9B5C8

Accessibility & contrast

On white

3.98
#CD5782 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#CD5782 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5782
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5782#FFFFFF#000000##000000
##CD57821.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7283
Deuteranopia (green-blind)
#8A887F
Tritanopia (blue-blind)
#DC4D67
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cd5782;
/* rgb */ color: rgb(205, 87, 130);
/* oklch */ color: oklch(61.8% 0.155 359.9);
Tailwind
colors: {
  custom: {
    50: '#e08ba6',
    500: '#cd5782',
    950: '#000000',
  },
}
SCSS
$custom: #cd5782;
$custom-light: #e08ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5782",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 130
  },
  "hsl": {
    "h": 338.136,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61841,
    "c": 0.15526,
    "h": 359.9
  },
  "luminance": 0.21407
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5782

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

Preview Lab → · Contrast checker → · Palette generator →

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