#CD96C2#CD96C2

#CD96C2 is a light, moderate pink. Relative luminance 0.387; OKLCH L 73.9% C 0.088 H 333.7°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#CD96C2
RGBrgb(205, 150, 194)
HSLhsl(312, 35%, 70%)
HSVhsv(312, 27%, 80%)
CMYKcmyk(0%, 26.8%, 5.4%, 19.6%)
CIE-LABlab(68.53, 27.72, -14.59)
CIE-LCHlch(68.53, 31.32, 332.25°)
OKLaboklab(73.95% 0.0788 -0.039)
OKLCHoklch(73.95% 0.088 333.7)
XYZxyz(45.8201, 38.6885, 56.0825)
Luminance0.3869 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD96C2 #96CDA1
analogous
#BD96CD #CD96C2 #CD96A7
triadic
#CD96C2 #C2CD96 #96C2CD
tetradic
#CD96C2 #CDBD96 #96CDA1 #96A7CD
square
#CD96C2 #CDBD96 #96CDA1 #96A7CD
split-complementary
#CD96C2 #A7CD96 #96CDBD
monochromatic
#9E4B8D #B96DAA #CD96C2 #E1BFDA #F4E9F2

Accessibility & contrast

On white

2.40
#CD96C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#CD96C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD96C2
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD96C2#FFFFFF#000000##000000
##CD96C21.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#96A2C4
Deuteranopia (green-blind)
#A2AAC0
Tritanopia (blue-blind)
#D298A5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd96c2;
/* rgb */ color: rgb(205, 150, 194);
/* oklch */ color: oklch(73.9% 0.088 333.7);
Tailwind
colors: {
  custom: {
    50: '#ddb5d4',
    500: '#cd96c2',
    950: '#000000',
  },
}
SCSS
$custom: #cd96c2;
$custom-light: #ddb5d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd96c2",
  "rgb": {
    "r": 205,
    "g": 150,
    "b": 194
  },
  "hsl": {
    "h": 312,
    "s": 35.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73949,
    "c": 0.08791,
    "h": 333.7
  },
  "luminance": 0.38687
}

Semantic roles & 50–950 ramp

primary
#CD96C2
secondary
#D8E7DB
accent
#AE4F37
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151114
muted
#838083

Preview Lab

Preview with #CD96C2

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

Preview Lab → · Contrast checker → · Palette generator →

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