#CD5185#CD5185

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

Color values

HEX#CD5185
RGBrgb(205, 81, 133)
HSLhsl(335, 55%, 56%)
HSVhsv(335, 60%, 80%)
CMYKcmyk(0%, 60.5%, 35.1%, 19.6%)
CIE-LABlab(52.47, 54.01, -3.52)
CIE-LCHlch(52.47, 54.12, 356.27°)
OKLaboklab(61.18% 0.1648 -0.0086)
OKLCHoklch(61.18% 0.165 357)
XYZxyz(32.3547, 20.5609, 24.4505)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5185 #51CD99
analogous
#CD51C3 #CD5185 #CD5B51
triadic
#CD5185 #85CD51 #5185CD
tetradic
#CD5185 #C3CD51 #51CD99 #5B51CD
square
#CD5185 #C3CD51 #51CD99 #5B51CD
split-complementary
#CD5185 #51CD5B #51C3CD
monochromatic
#7F254A #AF3266 #CD5185 #DB81A6 #E8B0C8

Accessibility & contrast

On white

4.11
#CD5185 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#CD5185 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5185
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5185#FFFFFF#000000##000000
##CD51851.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#666F87
Deuteranopia (green-blind)
#878682
Tritanopia (blue-blind)
#DC4765
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd5185;
/* rgb */ color: rgb(205, 81, 133);
/* oklch */ color: oklch(61.2% 0.165 357.0);
Tailwind
colors: {
  custom: {
    50: '#e088a8',
    500: '#cd5185',
    950: '#000000',
  },
}
SCSS
$custom: #cd5185;
$custom-light: #e088a8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5185",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 133
  },
  "hsl": {
    "h": 334.839,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61177,
    "c": 0.16499,
    "h": 357
  },
  "luminance": 0.20557
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5185

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

Preview Lab → · Contrast checker → · Palette generator →

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