#CD5287#CD5287

#CD5287 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.4% C 0.164 H 356.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#CD5287
RGBrgb(205, 82, 135)
HSLhsl(334, 55%, 56%)
HSVhsv(334, 60%, 80%)
CMYKcmyk(0%, 60%, 34.1%, 19.6%)
CIE-LABlab(52.69, 53.80, -4.37)
CIE-LCHlch(52.69, 53.97, 355.35°)
OKLaboklab(61.37% 0.164 -0.0108)
OKLCHoklch(61.37% 0.164 356.2)
XYZxyz(32.5690, 20.7664, 25.2101)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5287 #52CD98
analogous
#CD52C5 #CD5287 #CD5B52
triadic
#CD5287 #87CD52 #5287CD
tetradic
#CD5287 #C5CD52 #52CD98 #5B52CD
square
#CD5287 #C5CD52 #52CD98 #5B52CD
split-complementary
#CD5287 #52CD5B #52C5CD
monochromatic
#80254C #AF3368 #CD5287 #DB81A8 #E8B1C9

Accessibility & contrast

On white

4.08
#CD5287 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#CD5287 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5287
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5287#FFFFFF#000000##000000
##CD52871.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#666F89
Deuteranopia (green-blind)
#878684
Tritanopia (blue-blind)
#DC4967
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd5287;
/* rgb */ color: rgb(205, 82, 135);
/* oklch */ color: oklch(61.4% 0.164 356.2);
Tailwind
colors: {
  custom: {
    50: '#e088a9',
    500: '#cd5287',
    950: '#000000',
  },
}
SCSS
$custom: #cd5287;
$custom-light: #e088a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5287",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 135
  },
  "hsl": {
    "h": 334.146,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61367,
    "c": 0.16438,
    "h": 356.2
  },
  "luminance": 0.20763
}

Semantic roles & 50–950 ramp

primary
#CD5287
secondary
#A4D7C1
accent
#DE9E49
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD5287

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

Preview Lab → · Contrast checker → · Palette generator →

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