#CD7BAB#CD7BAB

#CD7BAB is a light, moderate pink. Relative luminance 0.301; OKLCH L 68.5% C 0.118 H 344.6°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#CD7BAB
RGBrgb(205, 123, 171)
HSLhsl(325, 45%, 64%)
HSVhsv(325, 40%, 80%)
CMYKcmyk(0%, 40%, 16.6%, 19.6%)
CIE-LABlab(61.73, 38.43, -11.85)
CIE-LCHlch(61.73, 40.22, 342.86°)
OKLaboklab(68.53% 0.1137 -0.0313)
OKLCHoklch(68.53% 0.118 344.6)
XYZxyz(39.6109, 30.0878, 42.2414)
Luminance0.3009 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BAB #7BCD9D
analogous
#C67BCD #CD7BAB #CD7B82
triadic
#CD7BAB #ABCD7B #7BABCD
tetradic
#CD7BAB #CDC67B #7BCD9D #7B82CD
square
#CD7BAB #CDC67B #7BCD9D #7B82CD
split-complementary
#CD7BAB #82CD7B #7BCDC6
monochromatic
#95386F #BC4F8F #CD7BAB #DEA7C7 #EFD4E3

Accessibility & contrast

On white

2.99
#CD7BAB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#CD7BAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BAB
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BAB#FFFFFF#000000##000000
##CD7BAB1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#818DAD
Deuteranopia (green-blind)
#959AA9
Tritanopia (blue-blind)
#D77B8C
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd7bab;
/* rgb */ color: rgb(205, 123, 171);
/* oklch */ color: oklch(68.5% 0.118 344.6);
Tailwind
colors: {
  custom: {
    50: '#dea3c4',
    500: '#cd7bab',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bab;
$custom-light: #dea3c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bab",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 171
  },
  "hsl": {
    "h": 324.878,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68528,
    "c": 0.11787,
    "h": 344.6
  },
  "luminance": 0.30085
}

Semantic roles & 50–950 ramp

primary
#CD7BAB
secondary
#C4E0CF
accent
#B8672D
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F12
muted
#837F81

Preview Lab

Preview with #CD7BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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