#CD5187#CD5187

#CD5187 is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.2% C 0.166 H 356.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CD5187
RGBrgb(205, 81, 135)
HSLhsl(334, 55%, 56%)
HSVhsv(334, 60%, 80%)
CMYKcmyk(0%, 60.5%, 34.1%, 19.6%)
CIE-LABlab(52.53, 54.24, -4.62)
CIE-LCHlch(52.53, 54.44, 355.13°)
OKLaboklab(61.24% 0.1654 -0.0115)
OKLCHoklch(61.24% 0.166 356)
XYZxyz(32.4942, 20.6167, 25.1851)
Luminance0.2061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5187 #51CD97
analogous
#CD51C5 #CD5187 #CD5951
triadic
#CD5187 #87CD51 #5187CD
tetradic
#CD5187 #C5CD51 #51CD97 #5951CD
square
#CD5187 #C5CD51 #51CD97 #5951CD
split-complementary
#CD5187 #51CD59 #51C5CD
monochromatic
#7F254C #AF3268 #CD5187 #DB81A8 #E8B0C9

Accessibility & contrast

On white

4.10
#CD5187 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CD5187 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5187
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5187#FFFFFF#000000##000000
##CD51871.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#656F89
Deuteranopia (green-blind)
#868684
Tritanopia (blue-blind)
#DC4866
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd5187;
/* rgb */ color: rgb(205, 81, 135);
/* oklch */ color: oklch(61.2% 0.166 356.0);
Tailwind
colors: {
  custom: {
    50: '#e088a9',
    500: '#cd5187',
    950: '#000000',
  },
}
SCSS
$custom: #cd5187;
$custom-light: #e088a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5187",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 135
  },
  "hsl": {
    "h": 333.871,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61243,
    "c": 0.16581,
    "h": 356
  },
  "luminance": 0.20613
}

Semantic roles & 50–950 ramp

primary
#CD5187
secondary
#A3D7C0
accent
#DF9E49
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD5187

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

Preview Lab → · Contrast checker → · Palette generator →

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