#CD8CA6#CD8CA6

#CD8CA6 is a light, moderate pink. Relative luminance 0.345; OKLCH L 71.2% C 0.086 H 353.8°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#CD8CA6
RGBrgb(205, 140, 166)
HSLhsl(336, 39%, 68%)
HSVhsv(336, 32%, 80%)
CMYKcmyk(0%, 31.7%, 19%, 19.6%)
CIE-LABlab(65.35, 28.49, -3.63)
CIE-LCHlch(65.35, 28.72, 352.74°)
OKLaboklab(71.23% 0.0851 -0.0092)
OKLCHoklch(71.23% 0.086 353.8)
XYZxyz(41.4383, 34.4907, 40.5437)
Luminance0.3449 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CA6 #8CCDB3
analogous
#CD8CC6 #CD8CA6 #CD928C
triadic
#CD8CA6 #A6CD8C #8CA6CD
tetradic
#CD8CA6 #C6CD8C #8CCDB3 #928CCD
square
#CD8CA6 #C6CD8C #8CCDB3 #928CCD
split-complementary
#CD8CA6 #8CCD92 #8CC6CD
monochromatic
#9B4367 #BA6185 #CD8CA6 #E0B7C7 #F2E1E8

Accessibility & contrast

On white

2.66
#CD8CA6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#CD8CA6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8CA6
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8CA6#FFFFFF#000000##000000
##CD8CA61.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9398A7
Deuteranopia (green-blind)
#A2A3A4
Tritanopia (blue-blind)
#D78A95
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cd8ca6;
/* rgb */ color: rgb(205, 140, 166);
/* oklch */ color: oklch(71.2% 0.086 353.8);
Tailwind
colors: {
  custom: {
    50: '#ddaec0',
    500: '#cd8ca6',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ca6;
$custom-light: #ddaec0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ca6",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 166
  },
  "hsl": {
    "h": 336,
    "s": 39.394,
    "l": 67.647
  },
  "oklch": {
    "l": 0.71234,
    "c": 0.08556,
    "h": 353.8
  },
  "luminance": 0.34488
}

Semantic roles & 50–950 ramp

primary
#CD8CA6
secondary
#D0E4DC
accent
#B27F33
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #CD8CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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