#CD8CC2#CD8CC2

#CD8CC2 is a light, moderate pink. Relative luminance 0.356; OKLCH L 72.2% C 0.106 H 332.8°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#CD8CC2
RGBrgb(205, 140, 194)
HSLhsl(310, 39%, 68%)
HSVhsv(310, 32%, 80%)
CMYKcmyk(0%, 31.7%, 5.4%, 19.6%)
CIE-LABlab(66.24, 33.17, -18.04)
CIE-LCHlch(66.24, 37.76, 331.46°)
OKLaboklab(72.2% 0.0942 -0.0485)
OKLCHoklch(72.2% 0.106 332.8)
XYZxyz(44.2920, 35.6322, 55.5731)
Luminance0.3563 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CC2 #8CCD97
analogous
#B88CCD #CD8CC2 #CD8CA1
triadic
#CD8CC2 #C2CD8C #8CC2CD
tetradic
#CD8CC2 #CDB88C #8CCD97 #8CA1CD
square
#CD8CC2 #CDB88C #8CCD97 #8CA1CD
split-complementary
#CD8CC2 #A1CD8C #8CCDB8
monochromatic
#9B438C #BA61AB #CD8CC2 #E0B7D9 #F2E1EF

Accessibility & contrast

On white

2.58
#CD8CC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#CD8CC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8CC2
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8CC2#FFFFFF#000000##000000
##CD8CC21.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9BC4
Deuteranopia (green-blind)
#9BA4C0
Tritanopia (blue-blind)
#D38F9F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cd8cc2;
/* rgb */ color: rgb(205, 140, 194);
/* oklch */ color: oklch(72.2% 0.106 332.8);
Tailwind
colors: {
  custom: {
    50: '#ddaed4',
    500: '#cd8cc2',
    950: '#000000',
  },
}
SCSS
$custom: #cd8cc2;
$custom-light: #ddaed4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8cc2",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 194
  },
  "hsl": {
    "h": 310.154,
    "s": 39.394,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72204,
    "c": 0.10595,
    "h": 332.8
  },
  "luminance": 0.3563
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD8CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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