#CD5792#CD5792

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

Color values

HEX#CD5792
RGBrgb(205, 87, 146)
HSLhsl(330, 54%, 57%)
HSVhsv(330, 58%, 80%)
CMYKcmyk(0%, 57.6%, 28.8%, 19.6%)
CIE-LABlab(53.89, 52.89, -9.10)
CIE-LCHlch(53.89, 53.66, 350.24°)
OKLaboklab(62.38% 0.1604 -0.0235)
OKLCHoklch(62.38% 0.162 351.7)
XYZxyz(33.7748, 21.8741, 29.6319)
Luminance0.2187 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5792 #57CD92
analogous
#CD57CD #CD5792 #CD5757
triadic
#CD5792 #92CD57 #5792CD
tetradic
#CD5792 #CDCD57 #57CD92 #5757CD
square
#CD5792 #CDCD57 #57CD92 #5757CD
split-complementary
#CD5792 #57CD57 #57CDCD
monochromatic
#832755 #B23573 #CD5792 #DB86B1 #E9B5CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD5792#FFFFFF#000000##000000
##CD57921.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)
#677494
Deuteranopia (green-blind)
#87898F
Tritanopia (blue-blind)
#DB516E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cd5792;
/* rgb */ color: rgb(205, 87, 146);
/* oklch */ color: oklch(62.4% 0.162 351.7);
Tailwind
colors: {
  custom: {
    50: '#e08cb2',
    500: '#cd5792',
    950: '#000000',
  },
}
SCSS
$custom: #cd5792;
$custom-light: #e08cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5792",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 146
  },
  "hsl": {
    "h": 330,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62375,
    "c": 0.1621,
    "h": 351.7
  },
  "luminance": 0.21871
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5792

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

Preview Lab → · Contrast checker → · Palette generator →

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