#CD7DBE#CD7DBE

#CD7DBE is a light, vivid pink. Relative luminance 0.314; OKLCH L 69.6% C 0.129 H 334.0°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#CD7DBE
RGBrgb(205, 125, 190)
HSLhsl(311, 44%, 65%)
HSVhsv(311, 39%, 80%)
CMYKcmyk(0%, 39%, 7.3%, 19.6%)
CIE-LABlab(62.82, 40.52, -21.00)
CIE-LCHlch(62.82, 45.64, 332.61°)
OKLaboklab(69.57% 0.1161 -0.0566)
OKLCHoklch(69.57% 0.129 334)
XYZxyz(41.8045, 31.3663, 52.5575)
Luminance0.3136 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DBE #7DCD8C
analogous
#B47DCD #CD7DBE #CD7D96
triadic
#CD7DBE #BECD7D #7DBECD
tetradic
#CD7DBE #CDB47D #7DCD8C #7D96CD
square
#CD7DBE #CDB47D #7DCD8C #7D96CD
split-complementary
#CD7DBE #96CD7D #7DCDB4
monochromatic
#963A85 #BC51A8 #CD7DBE #DEA9D4 #EFD5EA

Accessibility & contrast

On white

2.89
#CD7DBE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#CD7DBE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DBE
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DBE#FFFFFF#000000##000000
##CD7DBE1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D91C0
Deuteranopia (green-blind)
#919CBC
Tritanopia (blue-blind)
#D48195
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd7dbe;
/* rgb */ color: rgb(205, 125, 190);
/* oklch */ color: oklch(69.6% 0.129 334.0);
Tailwind
colors: {
  custom: {
    50: '#dda4d1',
    500: '#cd7dbe',
    950: '#000000',
  },
}
SCSS
$custom: #cd7dbe;
$custom-light: #dda4d1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7dbe",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 190
  },
  "hsl": {
    "h": 311.25,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69566,
    "c": 0.12912,
    "h": 334
  },
  "luminance": 0.31364
}

Semantic roles & 50–950 ramp

primary
#CD7DBE
secondary
#C5E1CA
accent
#B8482E
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #CD7DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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