#CD5796#CD5796

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

Color values

HEX#CD5796
RGBrgb(205, 87, 150)
HSLhsl(328, 54%, 57%)
HSVhsv(328, 58%, 80%)
CMYKcmyk(0%, 57.6%, 26.8%, 19.6%)
CIE-LABlab(54.03, 53.41, -11.26)
CIE-LCHlch(54.03, 54.58, 348.10°)
OKLaboklab(62.52% 0.1616 -0.0293)
OKLCHoklch(62.52% 0.164 349.7)
XYZxyz(34.0914, 22.0008, 31.2994)
Luminance0.2200 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5796 #57CD8E
analogous
#C957CD #CD5796 #CD575B
triadic
#CD5796 #96CD57 #5796CD
tetradic
#CD5796 #CDC957 #57CD8E #575BCD
square
#CD5796 #CDC957 #57CD8E #575BCD
split-complementary
#CD5796 #5BCD57 #57CDC9
monochromatic
#832758 #B23578 #CD5796 #DB86B3 #E9B5D1

Accessibility & contrast

On white

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

On black

5.40
#CD5796 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5796
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5796#FFFFFF#000000##000000
##CD57961.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd5796;
/* rgb */ color: rgb(205, 87, 150);
/* oklch */ color: oklch(62.5% 0.164 349.7);
Tailwind
colors: {
  custom: {
    50: '#df8cb4',
    500: '#cd5796',
    950: '#000000',
  },
}
SCSS
$custom: #cd5796;
$custom-light: #df8cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5796",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 150
  },
  "hsl": {
    "h": 327.966,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.6252,
    "c": 0.1642,
    "h": 349.7
  },
  "luminance": 0.21998
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5796

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

Preview Lab → · Contrast checker → · Palette generator →

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