#CD5DBA#CD5DBA

#CD5DBA is a light, vivid pink. Relative luminance 0.244; OKLCH L 64.8% C 0.179 H 334.4°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#CD5DBA
RGBrgb(205, 93, 186)
HSLhsl(310, 53%, 58%)
HSVhsv(310, 55%, 80%)
CMYKcmyk(0%, 54.6%, 9.3%, 19.6%)
CIE-LABlab(56.44, 55.94, -28.52)
CIE-LCHlch(56.44, 62.79, 332.99°)
OKLaboklab(64.76% 0.1617 -0.0775)
OKLCHoklch(64.76% 0.179 334.4)
XYZxyz(37.9542, 24.3557, 49.1469)
Luminance0.2435 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DBA #5DCD70
analogous
#A85DCD #CD5DBA #CD5D82
triadic
#CD5DBA #BACD5D #5DBACD
tetradic
#CD5DBA #CDA85D #5DCD70 #5D82CD
square
#CD5DBA #CDA85D #5DCD70 #5D82CD
split-complementary
#CD5DBA #82CD5D #5DCDA8
monochromatic
#862976 #B538A0 #CD5DBA #DB8CCE #EABBE2

Accessibility & contrast

On white

3.58
#CD5DBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#CD5DBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DBA
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DBA#FFFFFF#000000##000000
##CD5DBA1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7DBD
Deuteranopia (green-blind)
#7D8DB7
Tritanopia (blue-blind)
#D66483
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cd5dba;
/* rgb */ color: rgb(205, 93, 186);
/* oklch */ color: oklch(64.8% 0.179 334.4);
Tailwind
colors: {
  custom: {
    50: '#df90cf',
    500: '#cd5dba',
    950: '#000000',
  },
}
SCSS
$custom: #cd5dba;
$custom-light: #df90cf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5dba",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 186
  },
  "hsl": {
    "h": 310.179,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64759,
    "c": 0.17928,
    "h": 334.4
  },
  "luminance": 0.24353
}

Semantic roles & 50–950 ramp

primary
#CD5DBA
secondary
#ADD9B4
accent
#DC644C
background
#FEF9FC
surface
#FCF1F9
border
#D5CBD2
text
#150D13
muted
#847E82

Preview Lab

Preview with #CD5DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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