#CD8EB2#CD8EB2

#CD8EB2 is a light, moderate pink. Relative luminance 0.355; OKLCH L 72.0% C 0.089 H 344.3°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#CD8EB2
RGBrgb(205, 142, 178)
HSLhsl(326, 39%, 68%)
HSVhsv(326, 31%, 80%)
CMYKcmyk(0%, 30.7%, 13.2%, 19.6%)
CIE-LABlab(66.17, 29.32, -9.17)
CIE-LCHlch(66.17, 30.72, 342.63°)
OKLaboklab(71.98% 0.086 -0.0241)
OKLCHoklch(71.98% 0.089 344.3)
XYZxyz(42.8857, 35.5415, 46.7121)
Luminance0.3554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8EB2 #8ECDA9
analogous
#C88ECD #CD8EB2 #CD8E92
triadic
#CD8EB2 #B2CD8E #8EB2CD
tetradic
#CD8EB2 #CDC88E #8ECDA9 #8E92CD
square
#CD8EB2 #CDC88E #8ECDA9 #8E92CD
split-complementary
#CD8EB2 #92CD8E #8ECDC8
monochromatic
#9C4577 #BA6495 #CD8EB2 #E0B8CF #F3E3EC

Accessibility & contrast

On white

2.59
#CD8EB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#CD8EB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8EB2
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8EB2#FFFFFF#000000##000000
##CD8EB21.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#929BB3
Deuteranopia (green-blind)
#A1A5B0
Tritanopia (blue-blind)
#D58E9A
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cd8eb2;
/* rgb */ color: rgb(205, 142, 178);
/* oklch */ color: oklch(72.0% 0.089 344.3);
Tailwind
colors: {
  custom: {
    50: '#ddafc9',
    500: '#cd8eb2',
    950: '#000000',
  },
}
SCSS
$custom: #cd8eb2;
$custom-light: #ddafc9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8eb2",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 178
  },
  "hsl": {
    "h": 325.714,
    "s": 38.65,
    "l": 68.039
  },
  "oklch": {
    "l": 0.71978,
    "c": 0.08936,
    "h": 344.3
  },
  "luminance": 0.35539
}

Semantic roles & 50–950 ramp

primary
#CD8EB2
secondary
#D2E5DA
accent
#B26A34
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#151013
muted
#837F82

Preview Lab

Preview with #CD8EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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