#CD7DB8#CD7DB8

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

Color values

HEX#CD7DB8
RGBrgb(205, 125, 184)
HSLhsl(316, 44%, 65%)
HSVhsv(316, 39%, 80%)
CMYKcmyk(0%, 39%, 10.2%, 19.6%)
CIE-LABlab(62.60, 39.50, -17.93)
CIE-LCHlch(62.60, 43.38, 335.58°)
OKLaboklab(69.33% 0.1144 -0.048)
OKLCHoklch(69.33% 0.124 337.2)
XYZxyz(41.1621, 31.1093, 49.1747)
Luminance0.3111 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DB8 #7DCD92
analogous
#BA7DCD #CD7DB8 #CD7D90
triadic
#CD7DB8 #B8CD7D #7DB8CD
tetradic
#CD7DB8 #CDBA7D #7DCD92 #7D90CD
square
#CD7DB8 #CDBA7D #7DCD92 #7D90CD
split-complementary
#CD7DB8 #90CD7D #7DCDBA
monochromatic
#963A7E #BC51A0 #CD7DB8 #DEA9D0 #EFD5E8

Accessibility & contrast

On white

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

On black

7.22
#CD7DB8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DB8
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DB8#FFFFFF#000000##000000
##CD7DB81.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F90BA
Deuteranopia (green-blind)
#939CB6
Tritanopia (blue-blind)
#D57F93
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd7db8;
/* rgb */ color: rgb(205, 125, 184);
/* oklch */ color: oklch(69.3% 0.124 337.2);
Tailwind
colors: {
  custom: {
    50: '#dda4cd',
    500: '#cd7db8',
    950: '#000000',
  },
}
SCSS
$custom: #cd7db8;
$custom-light: #dda4cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7db8",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 184
  },
  "hsl": {
    "h": 315.75,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69332,
    "c": 0.12409,
    "h": 337.2
  },
  "luminance": 0.31107
}

Semantic roles & 50–950 ramp

primary
#CD7DB8
secondary
#C5E1CC
accent
#B8522E
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F13
muted
#837F82

Preview Lab

Preview with #CD7DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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