#CD7DAF#CD7DAF

#CD7DAF is a light, moderate pink. Relative luminance 0.307; OKLCH L 69.0% C 0.117 H 342.5°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#CD7DAF
RGBrgb(205, 125, 175)
HSLhsl(323, 44%, 65%)
HSVhsv(323, 39%, 80%)
CMYKcmyk(0%, 39%, 14.6%, 19.6%)
CIE-LABlab(62.29, 38.01, -13.29)
CIE-LCHlch(62.29, 40.26, 340.73°)
OKLaboklab(69% 0.1118 -0.0352)
OKLCHoklch(69% 0.117 342.5)
XYZxyz(40.2486, 30.7439, 44.3633)
Luminance0.3074 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DAF #7DCD9B
analogous
#C37DCD #CD7DAF #CD7D87
triadic
#CD7DAF #AFCD7D #7DAFCD
tetradic
#CD7DAF #CDC37D #7DCD9B #7D87CD
square
#CD7DAF #CDC37D #7DCD9B #7D87CD
split-complementary
#CD7DAF #87CD7D #7DCDC3
monochromatic
#963A73 #BC5194 #CD7DAF #DEA9CA #EFD5E5

Accessibility & contrast

On white

2.94
#CD7DAF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#CD7DAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DAF
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DAF#FFFFFF#000000##000000
##CD7DAF1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#818FB1
Deuteranopia (green-blind)
#969BAD
Tritanopia (blue-blind)
#D67D8F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd7daf;
/* rgb */ color: rgb(205, 125, 175);
/* oklch */ color: oklch(69.0% 0.117 342.5);
Tailwind
colors: {
  custom: {
    50: '#dea4c7',
    500: '#cd7daf',
    950: '#000000',
  },
}
SCSS
$custom: #cd7daf;
$custom-light: #dea4c7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7daf",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 175
  },
  "hsl": {
    "h": 322.5,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.68996,
    "c": 0.11718,
    "h": 342.5
  },
  "luminance": 0.30742
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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