#CD7DA7#CD7DA7

#CD7DA7 is a light, moderate pink. Relative luminance 0.304; OKLCH L 68.7% C 0.112 H 347.7°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#CD7DA7
RGBrgb(205, 125, 167)
HSLhsl(329, 44%, 65%)
HSVhsv(329, 39%, 80%)
CMYKcmyk(0%, 39%, 18.5%, 19.6%)
CIE-LABlab(62.03, 36.74, -9.12)
CIE-LCHlch(62.03, 37.86, 346.06°)
OKLaboklab(68.71% 0.1092 -0.0238)
OKLCHoklch(68.71% 0.112 347.7)
XYZxyz(39.4860, 30.4389, 40.3472)
Luminance0.3044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DA7 #7DCDA3
analogous
#CB7DCD #CD7DA7 #CD7D7F
triadic
#CD7DA7 #A7CD7D #7DA7CD
tetradic
#CD7DA7 #CDCB7D #7DCDA3 #7D7FCD
square
#CD7DA7 #CDCB7D #7DCDA3 #7D7FCD
split-complementary
#CD7DA7 #7FCD7D #7DCDCB
monochromatic
#963A6A #BC5189 #CD7DA7 #DEA9C5 #EFD5E3

Accessibility & contrast

On white

2.96
#CD7DA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#CD7DA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DA7
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DA7#FFFFFF#000000##000000
##CD7DA71.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#848EA9
Deuteranopia (green-blind)
#989BA5
Tritanopia (blue-blind)
#D77C8C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd7da7;
/* rgb */ color: rgb(205, 125, 167);
/* oklch */ color: oklch(68.7% 0.112 347.7);
Tailwind
colors: {
  custom: {
    50: '#dea4c1',
    500: '#cd7da7',
    950: '#000000',
  },
}
SCSS
$custom: #cd7da7;
$custom-light: #dea4c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7da7",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 167
  },
  "hsl": {
    "h": 328.5,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.68714,
    "c": 0.11181,
    "h": 347.7
  },
  "luminance": 0.30436
}

Semantic roles & 50–950 ramp

primary
#CD7DA7
secondary
#C5E1D2
accent
#B86F2E
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CD7DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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