#CD7DB7#CD7DB7

#CD7DB7 is a light, vivid pink. Relative luminance 0.311; OKLCH L 69.3% C 0.123 H 337.8°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#CD7DB7
RGBrgb(205, 125, 183)
HSLhsl(317, 44%, 65%)
HSVhsv(317, 39%, 80%)
CMYKcmyk(0%, 39%, 10.7%, 19.6%)
CIE-LABlab(62.56, 39.33, -17.42)
CIE-LCHlch(62.56, 43.01, 336.11°)
OKLaboklab(69.29% 0.1141 -0.0466)
OKLCHoklch(69.29% 0.123 337.8)
XYZxyz(41.0577, 31.0676, 48.6246)
Luminance0.3106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DB7 #7DCD93
analogous
#BB7DCD #CD7DB7 #CD7D8F
triadic
#CD7DB7 #B7CD7D #7DB7CD
tetradic
#CD7DB7 #CDBB7D #7DCD93 #7D8FCD
square
#CD7DB7 #CDBB7D #7DCD93 #7D8FCD
split-complementary
#CD7DB7 #8FCD7D #7DCDBB
monochromatic
#963A7D #BC519F #CD7DB7 #DEA9CF #EFD5E8

Accessibility & contrast

On white

2.91
#CD7DB7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#CD7DB7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DB7
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DB7#FFFFFF#000000##000000
##CD7DB71.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F90B9
Deuteranopia (green-blind)
#939CB5
Tritanopia (blue-blind)
#D57F92
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd7db7;
/* rgb */ color: rgb(205, 125, 183);
/* oklch */ color: oklch(69.3% 0.123 337.8);
Tailwind
colors: {
  custom: {
    50: '#dda4cc',
    500: '#cd7db7',
    950: '#000000',
  },
}
SCSS
$custom: #cd7db7;
$custom-light: #dda4cc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7db7",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 183
  },
  "hsl": {
    "h": 316.5,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69293,
    "c": 0.12327,
    "h": 337.8
  },
  "luminance": 0.31065
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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