#CD7DB1#CD7DB1

#CD7DB1 is a light, moderate pink. Relative luminance 0.308; OKLCH L 69.1% C 0.119 H 341.3°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#CD7DB1
RGBrgb(205, 125, 177)
HSLhsl(321, 44%, 65%)
HSVhsv(321, 39%, 80%)
CMYKcmyk(0%, 39%, 13.7%, 19.6%)
CIE-LABlab(62.36, 38.33, -14.32)
CIE-LCHlch(62.36, 40.92, 339.51°)
OKLaboklab(69.07% 0.1124 -0.038)
OKLCHoklch(69.07% 0.119 341.3)
XYZxyz(40.4465, 30.8231, 45.4055)
Luminance0.3082 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DB1 #7DCD99
analogous
#C17DCD #CD7DB1 #CD7D89
triadic
#CD7DB1 #B1CD7D #7DB1CD
tetradic
#CD7DB1 #CDC17D #7DCD99 #7D89CD
square
#CD7DB1 #CDC17D #7DCD99 #7D89CD
split-complementary
#CD7DB1 #89CD7D #7DCDC1
monochromatic
#963A76 #BC5196 #CD7DB1 #DEA9CC #EFD5E6

Accessibility & contrast

On white

2.93
#CD7DB1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#CD7DB1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DB1
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DB1#FFFFFF#000000##000000
##CD7DB11.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#818FB3
Deuteranopia (green-blind)
#959BAF
Tritanopia (blue-blind)
#D67E90
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd7db1;
/* rgb */ color: rgb(205, 125, 177);
/* oklch */ color: oklch(69.1% 0.119 341.3);
Tailwind
colors: {
  custom: {
    50: '#dea4c8',
    500: '#cd7db1',
    950: '#000000',
  },
}
SCSS
$custom: #cd7db1;
$custom-light: #dea4c8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7db1",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 177
  },
  "hsl": {
    "h": 321,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69069,
    "c": 0.11864,
    "h": 341.3
  },
  "luminance": 0.30821
}

Semantic roles & 50–950 ramp

primary
#CD7DB1
secondary
#C5E1CF
accent
#B85E2E
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CD7DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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