#CD7BA7#CD7BA7

#CD7BA7 is a light, moderate pink. Relative luminance 0.299; OKLCH L 68.4% C 0.115 H 347.2°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#CD7BA7
RGBrgb(205, 123, 167)
HSLhsl(328, 45%, 64%)
HSVhsv(328, 40%, 80%)
CMYKcmyk(0%, 40%, 18.5%, 19.6%)
CIE-LABlab(61.60, 37.81, -9.76)
CIE-LCHlch(61.60, 39.05, 345.52°)
OKLaboklab(68.39% 0.1124 -0.0256)
OKLCHoklch(68.39% 0.115 347.2)
XYZxyz(39.2354, 29.9376, 40.2637)
Luminance0.2994 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BA7 #7BCDA1
analogous
#CA7BCD #CD7BA7 #CD7B7E
triadic
#CD7BA7 #A7CD7B #7BA7CD
tetradic
#CD7BA7 #CDCA7B #7BCDA1 #7B7ECD
square
#CD7BA7 #CDCA7B #7BCDA1 #7B7ECD
split-complementary
#CD7BA7 #7ECD7B #7BCDCA
monochromatic
#95386A #BC4F89 #CD7BA7 #DEA7C5 #EFD4E2

Accessibility & contrast

On white

3.01
#CD7BA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#CD7BA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD7BA7
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BA7#FFFFFF#000000##000000
##CD7BA71.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#828CA9
Deuteranopia (green-blind)
#969AA5
Tritanopia (blue-blind)
#D77A8B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd7ba7;
/* rgb */ color: rgb(205, 123, 167);
/* oklch */ color: oklch(68.4% 0.115 347.2);
Tailwind
colors: {
  custom: {
    50: '#dea3c1',
    500: '#cd7ba7',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ba7;
$custom-light: #dea3c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ba7",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 167
  },
  "hsl": {
    "h": 327.805,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68387,
    "c": 0.11526,
    "h": 347.2
  },
  "luminance": 0.29935
}

Semantic roles & 50–950 ramp

primary
#CD7BA7
secondary
#C4E0D1
accent
#B86E2D
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CD7BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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