#CD7DA8#CD7DA8

#CD7DA8 is a light, moderate pink. Relative luminance 0.305; OKLCH L 68.7% C 0.112 H 347.0°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#CD7DA8
RGBrgb(205, 125, 168)
HSLhsl(328, 44%, 65%)
HSVhsv(328, 39%, 80%)
CMYKcmyk(0%, 39%, 18%, 19.6%)
CIE-LABlab(62.06, 36.90, -9.64)
CIE-LCHlch(62.06, 38.14, 345.36°)
OKLaboklab(68.75% 0.1096 -0.0253)
OKLCHoklch(68.75% 0.112 347)
XYZxyz(39.5788, 30.4760, 40.8360)
Luminance0.3047 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DA8 #7DCDA2
analogous
#CA7DCD #CD7DA8 #CD7D80
triadic
#CD7DA8 #A8CD7D #7DA8CD
tetradic
#CD7DA8 #CDCA7D #7DCDA2 #7D80CD
square
#CD7DA8 #CDCA7D #7DCDA2 #7D80CD
split-complementary
#CD7DA8 #80CD7D #7DCDCA
monochromatic
#963A6B #BC518A #CD7DA8 #DEA9C6 #EFD5E3

Accessibility & contrast

On white

2.96
#CD7DA8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#CD7DA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DA8
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DA8#FFFFFF#000000##000000
##CD7DA81.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#838EAA
Deuteranopia (green-blind)
#979BA6
Tritanopia (blue-blind)
#D77C8C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd7da8;
/* rgb */ color: rgb(205, 125, 168);
/* oklch */ color: oklch(68.7% 0.112 347.0);
Tailwind
colors: {
  custom: {
    50: '#dea4c1',
    500: '#cd7da8',
    950: '#000000',
  },
}
SCSS
$custom: #cd7da8;
$custom-light: #dea4c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7da8",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 168
  },
  "hsl": {
    "h": 327.75,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.68748,
    "c": 0.11243,
    "h": 347
  },
  "luminance": 0.30474
}

Semantic roles & 50–950 ramp

primary
#CD7DA8
secondary
#C5E1D2
accent
#B86E2E
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CD7DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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