#CD5186#CD5186

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

Color values

HEX#CD5186
RGBrgb(205, 81, 134)
HSLhsl(334, 55%, 56%)
HSVhsv(334, 60%, 80%)
CMYKcmyk(0%, 60.5%, 34.6%, 19.6%)
CIE-LABlab(52.50, 54.12, -4.07)
CIE-LCHlch(52.50, 54.28, 355.70°)
OKLaboklab(61.21% 0.1651 -0.01)
OKLCHoklch(61.21% 0.165 356.5)
XYZxyz(32.4241, 20.5887, 24.8161)
Luminance0.2059 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5186 #51CD98
analogous
#CD51C4 #CD5186 #CD5A51
triadic
#CD5186 #86CD51 #5186CD
tetradic
#CD5186 #C4CD51 #51CD98 #5A51CD
square
#CD5186 #C4CD51 #51CD98 #5A51CD
split-complementary
#CD5186 #51CD5A #51C4CD
monochromatic
#7F254B #AF3267 #CD5186 #DB81A7 #E8B0C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD5186#FFFFFF#000000##000000
##CD51861.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)
#656F88
Deuteranopia (green-blind)
#878683
Tritanopia (blue-blind)
#DC4866
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd5186;
/* rgb */ color: rgb(205, 81, 134);
/* oklch */ color: oklch(61.2% 0.165 356.5);
Tailwind
colors: {
  custom: {
    50: '#e088a9',
    500: '#cd5186',
    950: '#000000',
  },
}
SCSS
$custom: #cd5186;
$custom-light: #e088a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5186",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 134
  },
  "hsl": {
    "h": 334.355,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.6121,
    "c": 0.16539,
    "h": 356.5
  },
  "luminance": 0.20585
}

Semantic roles & 50–950 ramp

primary
#CD5186
secondary
#A3D7C1
accent
#DF9F49
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CD5186

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

Preview Lab → · Contrast checker → · Palette generator →

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