#CD5981#CD5981

#CD5981 is a light, vivid pink. Relative luminance 0.217; OKLCH L 62.1% C 0.152 H 0.9°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#CD5981
RGBrgb(205, 89, 129)
HSLhsl(339, 54%, 58%)
HSVhsv(339, 57%, 80%)
CMYKcmyk(0%, 56.6%, 37.1%, 19.6%)
CIE-LABlab(53.72, 49.88, 0.70)
CIE-LCHlch(53.72, 49.89, 0.80°)
OKLaboklab(62.07% 0.152 0.0024)
OKLCHoklch(62.07% 0.152 0.9)
XYZxyz(32.7135, 21.7123, 23.2327)
Luminance0.2171 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5981 #59CDA5
analogous
#CD59BB #CD5981 #CD6B59
triadic
#CD5981 #81CD59 #5981CD
tetradic
#CD5981 #BBCD59 #59CDA5 #6B59CD
square
#CD5981 #BBCD59 #59CDA5 #6B59CD
split-complementary
#CD5981 #59CD6B #59BBCD
monochromatic
#842848 #B33661 #CD5981 #DB88A5 #E9B7C8

Accessibility & contrast

On white

3.93
#CD5981 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#CD5981 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5981
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5981#FFFFFF#000000##000000
##CD59811.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7382
Deuteranopia (green-blind)
#8B897E
Tritanopia (blue-blind)
#DD4F68
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cd5981;
/* rgb */ color: rgb(205, 89, 129);
/* oklch */ color: oklch(62.1% 0.152 0.9);
Tailwind
colors: {
  custom: {
    50: '#e08ca5',
    500: '#cd5981',
    950: '#000000',
  },
}
SCSS
$custom: #cd5981;
$custom-light: #e08ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5981",
  "rgb": {
    "r": 205,
    "g": 89,
    "b": 129
  },
  "hsl": {
    "h": 339.31,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62074,
    "c": 0.15202,
    "h": 0.9
  },
  "luminance": 0.21709
}

Semantic roles & 50–950 ramp

primary
#CD5981
secondary
#AAD8C8
accent
#DDAB4B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CD5981

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

Preview Lab → · Contrast checker → · Palette generator →

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