#CD5F9D#CD5F9D

#CD5F9D is a light, vivid pink. Relative luminance 0.236; OKLCH L 63.8% C 0.156 H 347.5°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#CD5F9D
RGBrgb(205, 95, 157)
HSLhsl(326, 52%, 59%)
HSVhsv(326, 54%, 80%)
CMYKcmyk(0%, 53.7%, 23.4%, 19.6%)
CIE-LABlab(55.69, 50.60, -12.86)
CIE-LCHlch(55.69, 52.21, 345.74°)
OKLaboklab(63.83% 0.1521 -0.0338)
OKLCHoklch(63.83% 0.156 347.5)
XYZxyz(35.3559, 23.6009, 34.5851)
Luminance0.2360 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5F9D #5FCD8F
analogous
#C65FCD #CD5F9D #CD5F66
triadic
#CD5F9D #9DCD5F #5F9DCD
tetradic
#CD5F9D #CDC65F #5FCD8F #5F66CD
square
#CD5F9D #CDC65F #5FCD8F #5F66CD
split-complementary
#CD5F9D #66CD5F #5FCDC6
monochromatic
#872A5F #B6397F #CD5F9D #DC8EBA #EABCD6

Accessibility & contrast

On white

3.67
#CD5F9D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#CD5F9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5F9D
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5F9D#FFFFFF#000000##000000
##CD5F9D1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7A9F
Deuteranopia (green-blind)
#888C9A
Tritanopia (blue-blind)
#D95D77
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd5f9d;
/* rgb */ color: rgb(205, 95, 157);
/* oklch */ color: oklch(63.8% 0.156 347.5);
Tailwind
colors: {
  custom: {
    50: '#df91ba',
    500: '#cd5f9d',
    950: '#000000',
  },
}
SCSS
$custom: #cd5f9d;
$custom-light: #df91ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5f9d",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 157
  },
  "hsl": {
    "h": 326.182,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63833,
    "c": 0.15579,
    "h": 347.5
  },
  "luminance": 0.23598
}

Semantic roles & 50–950 ramp

primary
#CD5F9D
secondary
#AEDAC1
accent
#DC8B4C
background
#FEF9FB
surface
#FCF1F6
border
#D5CBD0
text
#160D11
muted
#847E80

Preview Lab

Preview with #CD5F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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