#CD5087#CD5087

#CD5087 is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.1% C 0.167 H 355.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#CD5087
RGBrgb(205, 80, 135)
HSLhsl(334, 56%, 56%)
HSVhsv(334, 61%, 80%)
CMYKcmyk(0%, 61%, 34.1%, 19.6%)
CIE-LABlab(52.36, 54.68, -4.86)
CIE-LCHlch(52.36, 54.90, 354.92°)
OKLaboklab(61.12% 0.1668 -0.0121)
OKLCHoklch(61.12% 0.167 355.8)
XYZxyz(32.4204, 20.4692, 25.1606)
Luminance0.2047 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5087 #50CD96
analogous
#CD50C5 #CD5087 #CD5750
triadic
#CD5087 #87CD50 #5087CD
tetradic
#CD5087 #C5CD50 #50CD96 #5750CD
square
#CD5087 #C5CD50 #50CD96 #5750CD
split-complementary
#CD5087 #50CD57 #50C5CD
monochromatic
#7E244C #AE3268 #CD5087 #DB80A8 #E8AFC8

Accessibility & contrast

On white

4.12
#CD5087 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#CD5087 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5087
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5087#FFFFFF#000000##000000
##CD50871.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#646E89
Deuteranopia (green-blind)
#868584
Tritanopia (blue-blind)
#DC4766
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd5087;
/* rgb */ color: rgb(205, 80, 135);
/* oklch */ color: oklch(61.1% 0.167 355.8);
Tailwind
colors: {
  custom: {
    50: '#e087a9',
    500: '#cd5087',
    950: '#000000',
  },
}
SCSS
$custom: #cd5087;
$custom-light: #e087a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5087",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 135
  },
  "hsl": {
    "h": 333.6,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61122,
    "c": 0.16722,
    "h": 355.8
  },
  "luminance": 0.20466
}

Semantic roles & 50–950 ramp

primary
#CD5087
secondary
#A2D6C0
accent
#DF9D49
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD5087

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

Preview Lab → · Contrast checker → · Palette generator →

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