#CD7D97#CD7D97

#CD7D97 is a light, moderate pink. Relative luminance 0.299; OKLCH L 68.2% C 0.104 H 359.3°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#CD7D97
RGBrgb(205, 125, 151)
HSLhsl(341, 44%, 65%)
HSVhsv(341, 39%, 80%)
CMYKcmyk(0%, 39%, 26.3%, 19.6%)
CIE-LABlab(61.55, 34.37, -0.68)
CIE-LCHlch(61.55, 34.38, 358.87°)
OKLaboklab(68.19% 0.1038 -0.0013)
OKLCHoklch(68.19% 0.104 359.3)
XYZxyz(38.0974, 29.8834, 33.0337)
Luminance0.2988 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7D97 #7DCDB3
analogous
#CD7DBF #CD7D97 #CD8B7D
triadic
#CD7D97 #97CD7D #7D97CD
tetradic
#CD7D97 #BFCD7D #7DCDB3 #8B7DCD
square
#CD7D97 #BFCD7D #7DCDB3 #8B7DCD
split-complementary
#CD7D97 #7DCD8B #7DBFCD
monochromatic
#963A58 #BC5174 #CD7D97 #DEA9BA #EFD5DE

Accessibility & contrast

On white

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

On black

6.98
#CD7D97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD7D97
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7D97#FFFFFF#000000##000000
##CD7D971.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#888C98
Deuteranopia (green-blind)
#9C9A95
Tritanopia (blue-blind)
#D97886
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd7d97;
/* rgb */ color: rgb(205, 125, 151);
/* oklch */ color: oklch(68.2% 0.104 359.3);
Tailwind
colors: {
  custom: {
    50: '#dea4b5',
    500: '#cd7d97',
    950: '#000000',
  },
}
SCSS
$custom: #cd7d97;
$custom-light: #dea4b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7d97",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 151
  },
  "hsl": {
    "h": 340.5,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.68193,
    "c": 0.10376,
    "h": 359.3
  },
  "luminance": 0.29881
}

Semantic roles & 50–950 ramp

primary
#CD7D97
secondary
#C5E1D8
accent
#B88B2E
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F11
muted
#837F80

Preview Lab

Preview with #CD7D97

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

Preview Lab → · Contrast checker → · Palette generator →

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