#CD7DB5#CD7DB5

#CD7DB5 is a light, vivid pink. Relative luminance 0.310; OKLCH L 69.2% C 0.122 H 338.9°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#CD7DB5
RGBrgb(205, 125, 181)
HSLhsl(318, 44%, 65%)
HSVhsv(318, 39%, 80%)
CMYKcmyk(0%, 39%, 11.7%, 19.6%)
CIE-LABlab(62.49, 38.99, -16.39)
CIE-LCHlch(62.49, 42.30, 337.21°)
OKLaboklab(69.22% 0.1136 -0.0437)
OKLCHoklch(69.22% 0.122 338.9)
XYZxyz(40.8510, 30.9849, 47.5361)
Luminance0.3098 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DB5 #7DCD95
analogous
#BD7DCD #CD7DB5 #CD7D8D
triadic
#CD7DB5 #B5CD7D #7DB5CD
tetradic
#CD7DB5 #CDBD7D #7DCD95 #7D8DCD
square
#CD7DB5 #CDBD7D #7DCD95 #7D8DCD
split-complementary
#CD7DB5 #8DCD7D #7DCDBD
monochromatic
#963A7A #BC519C #CD7DB5 #DEA9CE #EFD5E7

Accessibility & contrast

On white

2.92
#CD7DB5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#CD7DB5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DB5
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DB5#FFFFFF#000000##000000
##CD7DB51.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8090B7
Deuteranopia (green-blind)
#949CB3
Tritanopia (blue-blind)
#D57F91
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd7db5;
/* rgb */ color: rgb(205, 125, 181);
/* oklch */ color: oklch(69.2% 0.122 338.9);
Tailwind
colors: {
  custom: {
    50: '#dda4cb',
    500: '#cd7db5',
    950: '#000000',
  },
}
SCSS
$custom: #cd7db5;
$custom-light: #dda4cb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7db5",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 181
  },
  "hsl": {
    "h": 318,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69218,
    "c": 0.12169,
    "h": 338.9
  },
  "luminance": 0.30983
}

Semantic roles & 50–950 ramp

primary
#CD7DB5
secondary
#C5E1CD
accent
#B8572E
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CD7DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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