#CD7DB3#CD7DB3

#CD7DB3 is a light, vivid pink. Relative luminance 0.309; OKLCH L 69.1% C 0.120 H 340.1°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#CD7DB3
RGBrgb(205, 125, 179)
HSLhsl(320, 44%, 65%)
HSVhsv(320, 39%, 80%)
CMYKcmyk(0%, 39%, 12.7%, 19.6%)
CIE-LABlab(62.43, 38.66, -15.36)
CIE-LCHlch(62.43, 41.60, 338.34°)
OKLaboklab(69.14% 0.113 -0.0409)
OKLCHoklch(69.14% 0.12 340.1)
XYZxyz(40.6473, 30.9034, 46.4631)
Luminance0.3090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DB3 #7DCD97
analogous
#BF7DCD #CD7DB3 #CD7D8B
triadic
#CD7DB3 #B3CD7D #7DB3CD
tetradic
#CD7DB3 #CDBF7D #7DCD97 #7D8BCD
square
#CD7DB3 #CDBF7D #7DCD97 #7D8BCD
split-complementary
#CD7DB3 #8BCD7D #7DCDBF
monochromatic
#963A78 #BC5199 #CD7DB3 #DEA9CD #EFD5E7

Accessibility & contrast

On white

2.92
#CD7DB3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#CD7DB3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DB3
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DB3#FFFFFF#000000##000000
##CD7DB31.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#808FB5
Deuteranopia (green-blind)
#949CB1
Tritanopia (blue-blind)
#D67E91
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd7db3;
/* rgb */ color: rgb(205, 125, 179);
/* oklch */ color: oklch(69.1% 0.120 340.1);
Tailwind
colors: {
  custom: {
    50: '#dea4c9',
    500: '#cd7db3',
    950: '#000000',
  },
}
SCSS
$custom: #cd7db3;
$custom-light: #dea4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7db3",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 179
  },
  "hsl": {
    "h": 319.5,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69143,
    "c": 0.12015,
    "h": 340.1
  },
  "luminance": 0.30901
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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