#CD5286#CD5286

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

Color values

HEX#CD5286
RGBrgb(205, 82, 134)
HSLhsl(335, 55%, 56%)
HSVhsv(335, 60%, 80%)
CMYKcmyk(0%, 60%, 34.6%, 19.6%)
CIE-LABlab(52.66, 53.68, -3.83)
CIE-LCHlch(52.66, 53.81, 355.92°)
OKLaboklab(61.33% 0.1637 -0.0094)
OKLCHoklch(61.33% 0.164 356.7)
XYZxyz(32.4990, 20.7384, 24.8410)
Luminance0.2074 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5286 #52CD99
analogous
#CD52C4 #CD5286 #CD5C52
triadic
#CD5286 #86CD52 #5286CD
tetradic
#CD5286 #C4CD52 #52CD99 #5C52CD
square
#CD5286 #C4CD52 #52CD99 #5C52CD
split-complementary
#CD5286 #52CD5C #52C4CD
monochromatic
#80254B #AF3367 #CD5286 #DB81A7 #E8B1C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD5286#FFFFFF#000000##000000
##CD52861.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)
#666F88
Deuteranopia (green-blind)
#878683
Tritanopia (blue-blind)
#DC4966
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd5286;
/* rgb */ color: rgb(205, 82, 134);
/* oklch */ color: oklch(61.3% 0.164 356.7);
Tailwind
colors: {
  custom: {
    50: '#e088a9',
    500: '#cd5286',
    950: '#000000',
  },
}
SCSS
$custom: #cd5286;
$custom-light: #e088a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5286",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 134
  },
  "hsl": {
    "h": 334.634,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61333,
    "c": 0.16397,
    "h": 356.7
  },
  "luminance": 0.20735
}

Semantic roles & 50–950 ramp

primary
#CD5286
secondary
#A4D7C1
accent
#DE9F49
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CD5286

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

Preview Lab → · Contrast checker → · Palette generator →

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