#CD8EC2#CD8EC2

#CD8EC2 is a light, moderate pink. Relative luminance 0.362; OKLCH L 72.5% C 0.102 H 332.9°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#CD8EC2
RGBrgb(205, 142, 194)
HSLhsl(310, 39%, 68%)
HSVhsv(310, 31%, 80%)
CMYKcmyk(0%, 30.7%, 5.4%, 19.6%)
CIE-LABlab(66.69, 32.08, -17.36)
CIE-LCHlch(66.69, 36.48, 331.58°)
OKLaboklab(72.55% 0.0911 -0.0466)
OKLCHoklch(72.55% 0.102 332.9)
XYZxyz(44.5869, 36.2220, 55.6714)
Luminance0.3622 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8EC2 #8ECD99
analogous
#B88ECD #CD8EC2 #CD8EA2
triadic
#CD8EC2 #C2CD8E #8EC2CD
tetradic
#CD8EC2 #CDB88E #8ECD99 #8EA2CD
square
#CD8EC2 #CDB88E #8ECD99 #8EA2CD
split-complementary
#CD8EC2 #A2CD8E #8ECDB8
monochromatic
#9C458D #BA64AB #CD8EC2 #E0B8D9 #F3E3F0

Accessibility & contrast

On white

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

On black

8.24
#CD8EC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8EC2
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8EC2#FFFFFF#000000##000000
##CD8EC21.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd8ec2;
/* rgb */ color: rgb(205, 142, 194);
/* oklch */ color: oklch(72.5% 0.102 332.9);
Tailwind
colors: {
  custom: {
    50: '#ddb0d4',
    500: '#cd8ec2',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ec2;
$custom-light: #ddb0d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ec2",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 194
  },
  "hsl": {
    "h": 310.476,
    "s": 38.65,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72548,
    "c": 0.10235,
    "h": 332.9
  },
  "luminance": 0.3622
}

Semantic roles & 50–950 ramp

primary
#CD8EC2
secondary
#D2E5D5
accent
#B24A34
background
#FDFAFD
surface
#FBF5FA
border
#D4CFD3
text
#151014
muted
#837F83

Preview Lab

Preview with #CD8EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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