#CD9EC2#CD9EC2

#CD9EC2 is a light, moderate pink. Relative luminance 0.413; OKLCH L 75.4% C 0.073 H 334.8°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#CD9EC2
RGBrgb(205, 158, 194)
HSLhsl(314, 32%, 71%)
HSVhsv(314, 23%, 80%)
CMYKcmyk(0%, 22.9%, 5.4%, 19.6%)
CIE-LABlab(70.41, 23.34, -11.76)
CIE-LCHlch(70.41, 26.14, 333.26°)
OKLaboklab(75.39% 0.0664 -0.0313)
OKLCHoklch(75.39% 0.073 334.8)
XYZxyz(47.1406, 41.3294, 56.5226)
Luminance0.4133 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9EC2 #9ECDA9
analogous
#C09ECD #CD9EC2 #CD9EAA
triadic
#CD9EC2 #C2CD9E #9EC2CD
tetradic
#CD9EC2 #CDC09E #9ECDA9 #9EAACD
square
#CD9EC2 #CDC09E #9ECDA9 #9EAACD
split-complementary
#CD9EC2 #AACD9E #9ECDC0
monochromatic
#9F528D #B876A9 #CD9EC2 #E2C6DB #F5EBF2

Accessibility & contrast

On white

2.27
#CD9EC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#CD9EC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9EC2
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9EC2#FFFFFF#000000##000000
##CD9EC21.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EA8C3
Deuteranopia (green-blind)
#A9AFC0
Tritanopia (blue-blind)
#D2A0AA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cd9ec2;
/* rgb */ color: rgb(205, 158, 194);
/* oklch */ color: oklch(75.4% 0.073 334.8);
Tailwind
colors: {
  custom: {
    50: '#dcbbd4',
    500: '#cd9ec2',
    950: '#000000',
  },
}
SCSS
$custom: #cd9ec2;
$custom-light: #dcbbd4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9ec2",
  "rgb": {
    "r": 205,
    "g": 158,
    "b": 194
  },
  "hsl": {
    "h": 314.043,
    "s": 31.973,
    "l": 71.176
  },
  "oklch": {
    "l": 0.75393,
    "c": 0.07345,
    "h": 334.8
  },
  "luminance": 0.41328
}

Semantic roles & 50–950 ramp

primary
#CD9EC2
secondary
#DDEAE0
accent
#AB553B
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151114
muted
#838083

Preview Lab

Preview with #CD9EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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