#CD7DB2#CD7DB2

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

Color values

HEX#CD7DB2
RGBrgb(205, 125, 178)
HSLhsl(320, 44%, 65%)
HSVhsv(320, 39%, 80%)
CMYKcmyk(0%, 39%, 13.2%, 19.6%)
CIE-LABlab(62.39, 38.50, -14.84)
CIE-LCHlch(62.39, 41.26, 338.92°)
OKLaboklab(69.11% 0.1127 -0.0395)
OKLCHoklch(69.11% 0.119 340.7)
XYZxyz(40.5465, 30.8631, 45.9324)
Luminance0.3086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DB2 #7DCD98
analogous
#C07DCD #CD7DB2 #CD7D8A
triadic
#CD7DB2 #B2CD7D #7DB2CD
tetradic
#CD7DB2 #CDC07D #7DCD98 #7D8ACD
square
#CD7DB2 #CDC07D #7DCD98 #7D8ACD
split-complementary
#CD7DB2 #8ACD7D #7DCDC0
monochromatic
#963A77 #BC5198 #CD7DB2 #DEA9CC #EFD5E6

Accessibility & contrast

On white

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

On black

7.17
#CD7DB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DB2
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DB2#FFFFFF#000000##000000
##CD7DB21.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#808FB4
Deuteranopia (green-blind)
#959BB0
Tritanopia (blue-blind)
#D67E90
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd7db2;
/* rgb */ color: rgb(205, 125, 178);
/* oklch */ color: oklch(69.1% 0.119 340.7);
Tailwind
colors: {
  custom: {
    50: '#dea4c9',
    500: '#cd7db2',
    950: '#000000',
  },
}
SCSS
$custom: #cd7db2;
$custom-light: #dea4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7db2",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 178
  },
  "hsl": {
    "h": 320.25,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69106,
    "c": 0.11938,
    "h": 340.7
  },
  "luminance": 0.30861
}

Semantic roles & 50–950 ramp

primary
#CD7DB2
secondary
#C5E1CE
accent
#B85C2E
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CD7DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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