#CD8EC0#CD8EC0

#CD8EC0 is a light, moderate pink. Relative luminance 0.361; OKLCH L 72.5% C 0.101 H 334.2°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#CD8EC0
RGBrgb(205, 142, 192)
HSLhsl(312, 39%, 68%)
HSVhsv(312, 31%, 80%)
CMYKcmyk(0%, 30.7%, 6.3%, 19.6%)
CIE-LABlab(66.62, 31.73, -16.34)
CIE-LCHlch(66.62, 35.69, 332.75°)
OKLaboklab(72.47% 0.0905 -0.0438)
OKLCHoklch(72.47% 0.101 334.2)
XYZxyz(44.3638, 36.1327, 54.4964)
Luminance0.3613 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8EC0 #8ECD9B
analogous
#BA8ECD #CD8EC0 #CD8EA0
triadic
#CD8EC0 #C0CD8E #8EC0CD
tetradic
#CD8EC0 #CDBA8E #8ECD9B #8EA0CD
square
#CD8EC0 #CDBA8E #8ECD9B #8EA0CD
split-complementary
#CD8EC0 #A0CD8E #8ECDBA
monochromatic
#9C458A #BA64A8 #CD8EC0 #E0B8D8 #F3E3EF

Accessibility & contrast

On white

2.55
#CD8EC0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#CD8EC0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8EC0
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8EC0#FFFFFF#000000##000000
##CD8EC01.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E9DC2
Deuteranopia (green-blind)
#9DA5BE
Tritanopia (blue-blind)
#D391A0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cd8ec0;
/* rgb */ color: rgb(205, 142, 192);
/* oklch */ color: oklch(72.5% 0.101 334.2);
Tailwind
colors: {
  custom: {
    50: '#ddb0d3',
    500: '#cd8ec0',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ec0;
$custom-light: #ddb0d3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ec0",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 192
  },
  "hsl": {
    "h": 312.381,
    "s": 38.65,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72473,
    "c": 0.10056,
    "h": 334.2
  },
  "luminance": 0.36131
}

Semantic roles & 50–950 ramp

primary
#CD8EC0
secondary
#D2E5D6
accent
#B24E34
background
#FDFAFC
surface
#FBF5F9
border
#D4CFD2
text
#151014
muted
#837F82

Preview Lab

Preview with #CD8EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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