#CD7DAB#CD7DAB

#CD7DAB is a light, moderate pink. Relative luminance 0.306; OKLCH L 68.9% C 0.114 H 345.0°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#CD7DAB
RGBrgb(205, 125, 171)
HSLhsl(326, 44%, 65%)
HSVhsv(326, 39%, 80%)
CMYKcmyk(0%, 39%, 16.6%, 19.6%)
CIE-LABlab(62.16, 37.37, -11.21)
CIE-LCHlch(62.16, 39.01, 343.31°)
OKLaboklab(68.85% 0.1105 -0.0295)
OKLCHoklch(68.85% 0.114 345)
XYZxyz(39.8615, 30.5891, 42.3249)
Luminance0.3059 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DAB #7DCD9F
analogous
#C77DCD #CD7DAB #CD7D83
triadic
#CD7DAB #ABCD7D #7DABCD
tetradic
#CD7DAB #CDC77D #7DCD9F #7D83CD
square
#CD7DAB #CDC77D #7DCD9F #7D83CD
split-complementary
#CD7DAB #83CD7D #7DCDC7
monochromatic
#963A6F #BC518E #CD7DAB #DEA9C8 #EFD5E4

Accessibility & contrast

On white

2.95
#CD7DAB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#CD7DAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DAB
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DAB#FFFFFF#000000##000000
##CD7DAB1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#838EAD
Deuteranopia (green-blind)
#979BA9
Tritanopia (blue-blind)
#D77C8E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd7dab;
/* rgb */ color: rgb(205, 125, 171);
/* oklch */ color: oklch(68.9% 0.114 345.0);
Tailwind
colors: {
  custom: {
    50: '#dea4c4',
    500: '#cd7dab',
    950: '#000000',
  },
}
SCSS
$custom: #cd7dab;
$custom-light: #dea4c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7dab",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 171
  },
  "hsl": {
    "h": 325.5,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.68853,
    "c": 0.11439,
    "h": 345
  },
  "luminance": 0.30587
}

Semantic roles & 50–950 ramp

primary
#CD7DAB
secondary
#C5E1D1
accent
#B8682E
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F12
muted
#837F81

Preview Lab

Preview with #CD7DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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