#CD5F8D#CD5F8D

#CD5F8D is a light, vivid pink. Relative luminance 0.231; OKLCH L 63.3% C 0.148 H 355.9°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#CD5F8D
RGBrgb(205, 95, 141)
HSLhsl(335, 52%, 59%)
HSVhsv(335, 54%, 80%)
CMYKcmyk(0%, 53.7%, 31.2%, 19.6%)
CIE-LABlab(55.16, 48.46, -4.27)
CIE-LCHlch(55.16, 48.65, 354.97°)
OKLaboklab(63.27% 0.1472 -0.0106)
OKLCHoklch(63.27% 0.148 355.9)
XYZxyz(34.0783, 23.0899, 27.8562)
Luminance0.2309 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5F8D #5FCD9F
analogous
#CD5FC4 #CD5F8D #CD685F
triadic
#CD5F8D #8DCD5F #5F8DCD
tetradic
#CD5F8D #C4CD5F #5FCD9F #685FCD
square
#CD5F8D #C4CD5F #5FCD9F #685FCD
split-complementary
#CD5F8D #5FCD68 #5FC4CD
monochromatic
#872A51 #B6396D #CD5F8D #DC8EAE #EABCCF

Accessibility & contrast

On white

3.74
#CD5F8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#CD5F8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5F8D
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5F8D#FFFFFF#000000##000000
##CD5F8D1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F788E
Deuteranopia (green-blind)
#8C8C8A
Tritanopia (blue-blind)
#DB5870
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cd5f8d;
/* rgb */ color: rgb(205, 95, 141);
/* oklch */ color: oklch(63.3% 0.148 355.9);
Tailwind
colors: {
  custom: {
    50: '#df90ae',
    500: '#cd5f8d',
    950: '#000000',
  },
}
SCSS
$custom: #cd5f8d;
$custom-light: #df90ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5f8d",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 141
  },
  "hsl": {
    "h": 334.909,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63272,
    "c": 0.14755,
    "h": 355.9
  },
  "luminance": 0.23087
}

Semantic roles & 50–950 ramp

primary
#CD5F8D
secondary
#AEDAC7
accent
#DCA04C
background
#FEF9FA
surface
#FCF1F4
border
#D5CBCE
text
#160D10
muted
#847E7F

Preview Lab

Preview with #CD5F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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