#CD5F87#CD5F87

#CD5F87 is a light, vivid pink. Relative luminance 0.229; OKLCH L 63.1% C 0.145 H 359.2°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#CD5F87
RGBrgb(205, 95, 135)
HSLhsl(338, 52%, 59%)
HSVhsv(338, 54%, 80%)
CMYKcmyk(0%, 53.7%, 34.1%, 19.6%)
CIE-LABlab(54.99, 47.72, -1.00)
CIE-LCHlch(54.99, 47.73, 358.80°)
OKLaboklab(63.08% 0.1452 -0.002)
OKLCHoklch(63.08% 0.145 359.2)
XYZxyz(33.6439, 22.9161, 25.5684)
Luminance0.2291 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5F87 #5FCDA5
analogous
#CD5FBE #CD5F87 #CD6E5F
triadic
#CD5F87 #87CD5F #5F87CD
tetradic
#CD5F87 #BECD5F #5FCDA5 #6E5FCD
square
#CD5F87 #BECD5F #5FCDA5 #6E5FCD
split-complementary
#CD5F87 #5FCD6E #5FBECD
monochromatic
#872A4C #B63966 #CD5F87 #DC8EAA #EABCCD

Accessibility & contrast

On white

3.76
#CD5F87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#CD5F87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5F87
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5F87#FFFFFF#000000##000000
##CD5F871.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#717788
Deuteranopia (green-blind)
#8D8B84
Tritanopia (blue-blind)
#DC576E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cd5f87;
/* rgb */ color: rgb(205, 95, 135);
/* oklch */ color: oklch(63.1% 0.145 359.2);
Tailwind
colors: {
  custom: {
    50: '#e090a9',
    500: '#cd5f87',
    950: '#000000',
  },
}
SCSS
$custom: #cd5f87;
$custom-light: #e090a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5f87",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 135
  },
  "hsl": {
    "h": 338.182,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63079,
    "c": 0.14517,
    "h": 359.2
  },
  "luminance": 0.22913
}

Semantic roles & 50–950 ramp

primary
#CD5F87
secondary
#AEDACA
accent
#DCA84C
background
#FEF9FA
surface
#FCF1F4
border
#D5CBCE
text
#160D10
muted
#847E7F

Preview Lab

Preview with #CD5F87

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

Preview Lab → · Contrast checker → · Palette generator →

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