#CD5795#CD5795

#CD5795 is a light, vivid pink. Relative luminance 0.220; OKLCH L 62.5% C 0.164 H 350.2°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#CD5795
RGBrgb(205, 87, 149)
HSLhsl(328, 54%, 57%)
HSVhsv(328, 58%, 80%)
CMYKcmyk(0%, 57.6%, 27.3%, 19.6%)
CIE-LABlab(53.99, 53.28, -10.72)
CIE-LCHlch(53.99, 54.35, 348.62°)
OKLaboklab(62.48% 0.1613 -0.0279)
OKLCHoklch(62.48% 0.164 350.2)
XYZxyz(34.0112, 21.9687, 30.8771)
Luminance0.2197 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5795 #57CD8F
analogous
#CA57CD #CD5795 #CD575A
triadic
#CD5795 #95CD57 #5795CD
tetradic
#CD5795 #CDCA57 #57CD8F #575ACD
square
#CD5795 #CDCA57 #57CD8F #575ACD
split-complementary
#CD5795 #5ACD57 #57CDCA
monochromatic
#832757 #B23577 #CD5795 #DB86B3 #E9B5D1

Accessibility & contrast

On white

3.89
#CD5795 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD5795#FFFFFF#000000##000000
##CD57951.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd5795;
/* rgb */ color: rgb(205, 87, 149);
/* oklch */ color: oklch(62.5% 0.164 350.2);
Tailwind
colors: {
  custom: {
    50: '#df8cb4',
    500: '#cd5795',
    950: '#000000',
  },
}
SCSS
$custom: #cd5795;
$custom-light: #df8cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5795",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 149
  },
  "hsl": {
    "h": 328.475,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62483,
    "c": 0.16366,
    "h": 350.2
  },
  "luminance": 0.21965
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5795

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

Preview Lab → · Contrast checker → · Palette generator →

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