#CD5F97#CD5F97

#CD5F97 is a light, vivid pink. Relative luminance 0.234; OKLCH L 63.6% C 0.152 H 350.5°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#CD5F97
RGBrgb(205, 95, 151)
HSLhsl(329, 52%, 59%)
HSVhsv(329, 54%, 80%)
CMYKcmyk(0%, 53.7%, 26.3%, 19.6%)
CIE-LABlab(55.48, 49.77, -9.66)
CIE-LCHlch(55.48, 50.70, 349.02°)
OKLaboklab(63.61% 0.1503 -0.0251)
OKLCHoklch(63.61% 0.152 350.5)
XYZxyz(34.8562, 23.4010, 31.9533)
Luminance0.2340 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5F97 #5FCD95
analogous
#CC5FCD #CD5F97 #CD5F60
triadic
#CD5F97 #97CD5F #5F97CD
tetradic
#CD5F97 #CDCC5F #5FCD95 #5F60CD
square
#CD5F97 #CDCC5F #5FCD95 #5F60CD
split-complementary
#CD5F97 #60CD5F #5FCDCC
monochromatic
#872A5A #B63979 #CD5F97 #DC8EB5 #EABCD4

Accessibility & contrast

On white

3.70
#CD5F97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#CD5F97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5F97
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5F97#FFFFFF#000000##000000
##CD5F971.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7999
Deuteranopia (green-blind)
#8A8C94
Tritanopia (blue-blind)
#DA5B74
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd5f97;
/* rgb */ color: rgb(205, 95, 151);
/* oklch */ color: oklch(63.6% 0.152 350.5);
Tailwind
colors: {
  custom: {
    50: '#df90b5',
    500: '#cd5f97',
    950: '#000000',
  },
}
SCSS
$custom: #cd5f97;
$custom-light: #df90b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5f97",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 151
  },
  "hsl": {
    "h": 329.455,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63614,
    "c": 0.15241,
    "h": 350.5
  },
  "luminance": 0.23398
}

Semantic roles & 50–950 ramp

primary
#CD5F97
secondary
#AEDAC4
accent
#DC934C
background
#FEF9FB
surface
#FCF1F6
border
#D5CBD0
text
#160D11
muted
#847E80

Preview Lab

Preview with #CD5F97

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

Preview Lab → · Contrast checker → · Palette generator →

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