#CD5794#CD5794

#CD5794 is a light, vivid pink. Relative luminance 0.219; OKLCH L 62.4% C 0.163 H 350.7°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#CD5794
RGBrgb(205, 87, 148)
HSLhsl(329, 54%, 57%)
HSVhsv(329, 58%, 80%)
CMYKcmyk(0%, 57.6%, 27.8%, 19.6%)
CIE-LABlab(53.96, 53.15, -10.18)
CIE-LCHlch(53.96, 54.11, 349.16°)
OKLaboklab(62.45% 0.161 -0.0264)
OKLCHoklch(62.45% 0.163 350.7)
XYZxyz(33.9317, 21.9369, 30.4585)
Luminance0.2193 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5794 #57CD90
analogous
#CB57CD #CD5794 #CD5759
triadic
#CD5794 #94CD57 #5794CD
tetradic
#CD5794 #CDCB57 #57CD90 #5759CD
square
#CD5794 #CDCB57 #57CD90 #5759CD
split-complementary
#CD5794 #59CD57 #57CDCB
monochromatic
#832756 #B23576 #CD5794 #DB86B2 #E9B5D0

Accessibility & contrast

On white

3.90
#CD5794 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#CD5794 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5794
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5794#FFFFFF#000000##000000
##CD57941.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#667496
Deuteranopia (green-blind)
#868991
Tritanopia (blue-blind)
#DB526F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cd5794;
/* rgb */ color: rgb(205, 87, 148);
/* oklch */ color: oklch(62.4% 0.163 350.7);
Tailwind
colors: {
  custom: {
    50: '#df8cb3',
    500: '#cd5794',
    950: '#000000',
  },
}
SCSS
$custom: #cd5794;
$custom-light: #df8cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5794",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 148
  },
  "hsl": {
    "h": 328.983,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62447,
    "c": 0.16313,
    "h": 350.7
  },
  "luminance": 0.21934
}

Semantic roles & 50–950 ramp

primary
#CD5794
secondary
#A8D8BF
accent
#DD914A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CD5794

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

Preview Lab → · Contrast checker → · Palette generator →

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