#CD7F97#CD7F97

#CD7F97 is a light, moderate pink. Relative luminance 0.304; OKLCH L 68.5% C 0.101 H 0.2°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#CD7F97
RGBrgb(205, 127, 151)
HSLhsl(342, 44%, 65%)
HSVhsv(342, 38%, 80%)
CMYKcmyk(0%, 38%, 26.3%, 19.6%)
CIE-LABlab(61.99, 33.30, -0.03)
CIE-LCHlch(61.99, 33.30, 359.94°)
OKLaboklab(68.53% 0.1005 0.0004)
OKLCHoklch(68.53% 0.101 0.2)
XYZxyz(38.3531, 30.3949, 33.1189)
Luminance0.3039 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7F97 #7FCDB5
analogous
#CD7FBE #CD7F97 #CD8E7F
triadic
#CD7F97 #97CD7F #7F97CD
tetradic
#CD7F97 #BECD7F #7FCDB5 #8E7FCD
square
#CD7F97 #BECD7F #7FCDB5 #8E7FCD
split-complementary
#CD7F97 #7FCD8E #7FBECD
monochromatic
#973B57 #BC5373 #CD7F97 #DEABBB #EFD7DF

Accessibility & contrast

On white

2.97
#CD7F97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#CD7F97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7F97
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7F97#FFFFFF#000000##000000
##CD7F971.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8D98
Deuteranopia (green-blind)
#9D9B95
Tritanopia (blue-blind)
#D97A87
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd7f97;
/* rgb */ color: rgb(205, 127, 151);
/* oklch */ color: oklch(68.5% 0.101 0.2);
Tailwind
colors: {
  custom: {
    50: '#dea5b5',
    500: '#cd7f97',
    950: '#000000',
  },
}
SCSS
$custom: #cd7f97;
$custom-light: #dea5b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7f97",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 151
  },
  "hsl": {
    "h": 341.538,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68528,
    "c": 0.10053,
    "h": 0.2
  },
  "luminance": 0.30392
}

Semantic roles & 50–950 ramp

primary
#CD7F97
secondary
#C7E1D9
accent
#B78D2F
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F11
muted
#837F80

Preview Lab

Preview with #CD7F97

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

Preview Lab → · Contrast checker → · Palette generator →

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