#CD5797#CD5797

#CD5797 is a light, vivid pink. Relative luminance 0.220; OKLCH L 62.6% C 0.165 H 349.2°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#CD5797
RGBrgb(205, 87, 151)
HSLhsl(327, 54%, 57%)
HSVhsv(327, 58%, 80%)
CMYKcmyk(0%, 57.6%, 26.3%, 19.6%)
CIE-LABlab(54.06, 53.54, -11.79)
CIE-LCHlch(54.06, 54.83, 347.58°)
OKLaboklab(62.56% 0.1618 -0.0308)
OKLCHoklch(62.56% 0.165 349.2)
XYZxyz(34.1722, 22.0331, 31.7253)
Luminance0.2203 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5797 #57CD8D
analogous
#C857CD #CD5797 #CD575C
triadic
#CD5797 #97CD57 #5797CD
tetradic
#CD5797 #CDC857 #57CD8D #575CCD
square
#CD5797 #CDC857 #57CD8D #575CCD
split-complementary
#CD5797 #5CCD57 #57CDC8
monochromatic
#832759 #B23579 #CD5797 #DB86B4 #E9B5D1

Accessibility & contrast

On white

3.88
#CD5797 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#CD5797 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5797
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5797#FFFFFF#000000##000000
##CD57971.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#657499
Deuteranopia (green-blind)
#858994
Tritanopia (blue-blind)
#DA5370
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cd5797;
/* rgb */ color: rgb(205, 87, 151);
/* oklch */ color: oklch(62.6% 0.165 349.2);
Tailwind
colors: {
  custom: {
    50: '#df8cb5',
    500: '#cd5797',
    950: '#000000',
  },
}
SCSS
$custom: #cd5797;
$custom-light: #df8cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5797",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 327.458,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62556,
    "c": 0.16474,
    "h": 349.2
  },
  "luminance": 0.2203
}

Semantic roles & 50–950 ramp

primary
#CD5797
secondary
#A8D8BE
accent
#DD8E4A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CD5797

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

Preview Lab → · Contrast checker → · Palette generator →

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