#CD8DA7#CD8DA7

#CD8DA7 is a light, moderate pink. Relative luminance 0.348; OKLCH L 71.4% C 0.084 H 353.4°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#CD8DA7
RGBrgb(205, 141, 167)
HSLhsl(336, 39%, 68%)
HSVhsv(336, 31%, 80%)
CMYKcmyk(0%, 31.2%, 18.5%, 19.6%)
CIE-LABlab(65.61, 28.10, -3.81)
CIE-LCHlch(65.61, 28.35, 352.28°)
OKLaboklab(71.44% 0.0838 -0.0097)
OKLCHoklch(71.44% 0.084 353.4)
XYZxyz(41.6772, 34.8211, 41.0776)
Luminance0.3482 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8DA7 #8DCDB3
analogous
#CD8DC7 #CD8DA7 #CD938D
triadic
#CD8DA7 #A7CD8D #8DA7CD
tetradic
#CD8DA7 #C7CD8D #8DCDB3 #938DCD
square
#CD8DA7 #C7CD8D #8DCDB3 #938DCD
split-complementary
#CD8DA7 #8DCD93 #8DC7CD
monochromatic
#9B4468 #BA6286 #CD8DA7 #E0B8C8 #F2E2E9

Accessibility & contrast

On white

2.64
#CD8DA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#CD8DA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8DA7
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8DA7#FFFFFF#000000##000000
##CD8DA71.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9499A8
Deuteranopia (green-blind)
#A3A3A5
Tritanopia (blue-blind)
#D78B96
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cd8da7;
/* rgb */ color: rgb(205, 141, 167);
/* oklch */ color: oklch(71.4% 0.084 353.4);
Tailwind
colors: {
  custom: {
    50: '#ddafc1',
    500: '#cd8da7',
    950: '#000000',
  },
}
SCSS
$custom: #cd8da7;
$custom-light: #ddafc1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8da7",
  "rgb": {
    "r": 205,
    "g": 141,
    "b": 167
  },
  "hsl": {
    "h": 335.625,
    "s": 39.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.71442,
    "c": 0.08438,
    "h": 353.4
  },
  "luminance": 0.34819
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD8DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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