#CD5791#CD5791

#CD5791 is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.3% C 0.162 H 352.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#CD5791
RGBrgb(205, 87, 145)
HSLhsl(331, 54%, 57%)
HSVhsv(331, 58%, 80%)
CMYKcmyk(0%, 57.6%, 29.3%, 19.6%)
CIE-LABlab(53.86, 52.76, -8.56)
CIE-LCHlch(53.86, 53.45, 350.78°)
OKLaboklab(62.34% 0.1601 -0.022)
OKLCHoklch(62.34% 0.162 352.2)
XYZxyz(33.6973, 21.8431, 29.2241)
Luminance0.2184 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5791 #57CD93
analogous
#CD57CC #CD5791 #CD5857
triadic
#CD5791 #91CD57 #5791CD
tetradic
#CD5791 #CCCD57 #57CD93 #5857CD
square
#CD5791 #CCCD57 #57CD93 #5857CD
split-complementary
#CD5791 #57CD58 #57CCCD
monochromatic
#832754 #B23572 #CD5791 #DB86B0 #E9B5CF

Accessibility & contrast

On white

3.91
#CD5791 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#CD5791 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5791
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5791#FFFFFF#000000##000000
##CD57911.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#677393
Deuteranopia (green-blind)
#87898E
Tritanopia (blue-blind)
#DB516E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cd5791;
/* rgb */ color: rgb(205, 87, 145);
/* oklch */ color: oklch(62.3% 0.162 352.2);
Tailwind
colors: {
  custom: {
    50: '#e08cb1',
    500: '#cd5791',
    950: '#000000',
  },
}
SCSS
$custom: #cd5791;
$custom-light: #e08cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5791",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 145
  },
  "hsl": {
    "h": 330.508,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.6234,
    "c": 0.1616,
    "h": 352.2
  },
  "luminance": 0.2184
}

Semantic roles & 50–950 ramp

primary
#CD5791
secondary
#A8D8C0
accent
#DD954A
background
#FEF8FA
surface
#FCF0F5
border
#D5CBCF
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD5791

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

Preview Lab → · Contrast checker → · Palette generator →

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