#CD7DB6#CD7DB6

#CD7DB6 is a light, vivid pink. Relative luminance 0.310; OKLCH L 69.3% C 0.122 H 338.4°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#CD7DB6
RGBrgb(205, 125, 182)
HSLhsl(317, 44%, 65%)
HSVhsv(317, 39%, 80%)
CMYKcmyk(0%, 39%, 11.2%, 19.6%)
CIE-LABlab(62.53, 39.16, -16.90)
CIE-LCHlch(62.53, 42.65, 336.65°)
OKLaboklab(69.26% 0.1139 -0.0452)
OKLCHoklch(69.26% 0.122 338.4)
XYZxyz(40.9540, 31.0261, 48.0784)
Luminance0.3102 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DB6 #7DCD94
analogous
#BC7DCD #CD7DB6 #CD7D8E
triadic
#CD7DB6 #B6CD7D #7DB6CD
tetradic
#CD7DB6 #CDBC7D #7DCD94 #7D8ECD
square
#CD7DB6 #CDBC7D #7DCD94 #7D8ECD
split-complementary
#CD7DB6 #8ECD7D #7DCDBC
monochromatic
#963A7B #BC519D #CD7DB6 #DEA9CF #EFD5E8

Accessibility & contrast

On white

2.91
#CD7DB6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#CD7DB6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DB6
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DB6#FFFFFF#000000##000000
##CD7DB61.002.917.207.20
#FFFFFF2.911.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F90B8
Deuteranopia (green-blind)
#949CB4
Tritanopia (blue-blind)
#D57F92
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd7db6;
/* rgb */ color: rgb(205, 125, 182);
/* oklch */ color: oklch(69.3% 0.122 338.4);
Tailwind
colors: {
  custom: {
    50: '#dda4cc',
    500: '#cd7db6',
    950: '#000000',
  },
}
SCSS
$custom: #cd7db6;
$custom-light: #dda4cc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7db6",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 182
  },
  "hsl": {
    "h": 317.25,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69255,
    "c": 0.12248,
    "h": 338.4
  },
  "luminance": 0.31024
}

Semantic roles & 50–950 ramp

primary
#CD7DB6
secondary
#C5E1CD
accent
#B8552E
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CD7DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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