#CD8DC2#CD8DC2

#CD8DC2 is a light, moderate pink. Relative luminance 0.359; OKLCH L 72.4% C 0.104 H 332.9°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#CD8DC2
RGBrgb(205, 141, 194)
HSLhsl(310, 39%, 68%)
HSVhsv(310, 31%, 80%)
CMYKcmyk(0%, 31.2%, 5.4%, 19.6%)
CIE-LABlab(66.46, 32.63, -17.70)
CIE-LCHlch(66.46, 37.12, 331.52°)
OKLaboklab(72.38% 0.0927 -0.0475)
OKLCHoklch(72.38% 0.104 332.9)
XYZxyz(44.4388, 35.9258, 55.6220)
Luminance0.3592 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8DC2 #8DCD98
analogous
#B88DCD #CD8DC2 #CD8DA2
triadic
#CD8DC2 #C2CD8D #8DC2CD
tetradic
#CD8DC2 #CDB88D #8DCD98 #8DA2CD
square
#CD8DC2 #CDB88D #8DCD98 #8DA2CD
split-complementary
#CD8DC2 #A2CD8D #8DCDB8
monochromatic
#9B448C #BA62AB #CD8DC2 #E0B8D9 #F2E2F0

Accessibility & contrast

On white

2.57
#CD8DC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#CD8DC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8DC2
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8DC2#FFFFFF#000000##000000
##CD8DC21.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C9CC4
Deuteranopia (green-blind)
#9CA5C0
Tritanopia (blue-blind)
#D390A0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cd8dc2;
/* rgb */ color: rgb(205, 141, 194);
/* oklch */ color: oklch(72.4% 0.104 332.9);
Tailwind
colors: {
  custom: {
    50: '#ddafd4',
    500: '#cd8dc2',
    950: '#000000',
  },
}
SCSS
$custom: #cd8dc2;
$custom-light: #ddafd4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8dc2",
  "rgb": {
    "r": 205,
    "g": 141,
    "b": 194
  },
  "hsl": {
    "h": 310.313,
    "s": 39.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72376,
    "c": 0.10415,
    "h": 332.9
  },
  "luminance": 0.35924
}

Semantic roles & 50–950 ramp

primary
#CD8DC2
secondary
#D1E5D4
accent
#B24933
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83

Preview Lab

Preview with #CD8DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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