#CD7E97#CD7E97

#CD7E97 is a light, moderate pink. Relative luminance 0.301; OKLCH L 68.4% C 0.102 H 359.7°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#CD7E97
RGBrgb(205, 126, 151)
HSLhsl(341, 44%, 65%)
HSVhsv(341, 39%, 80%)
CMYKcmyk(0%, 38.5%, 26.3%, 19.6%)
CIE-LABlab(61.77, 33.84, -0.35)
CIE-LCHlch(61.77, 33.84, 359.40°)
OKLaboklab(68.36% 0.1021 -0.0005)
OKLCHoklch(68.36% 0.102 359.7)
XYZxyz(38.2246, 30.1379, 33.0761)
Luminance0.3014 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7E97 #7ECDB4
analogous
#CD7EBE #CD7E97 #CD8D7E
triadic
#CD7E97 #97CD7E #7E97CD
tetradic
#CD7E97 #BECD7E #7ECDB4 #8D7ECD
square
#CD7E97 #BECD7E #7ECDB4 #8D7ECD
split-complementary
#CD7E97 #7ECD8D #7EBECD
monochromatic
#963A57 #BC5273 #CD7E97 #DEAABB #EFD6DE

Accessibility & contrast

On white

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

On black

7.03
#CD7E97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7E97
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7E97#FFFFFF#000000##000000
##CD7E971.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#898D98
Deuteranopia (green-blind)
#9C9B95
Tritanopia (blue-blind)
#D97987
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd7e97;
/* rgb */ color: rgb(205, 126, 151);
/* oklch */ color: oklch(68.4% 0.102 359.7);
Tailwind
colors: {
  custom: {
    50: '#dea4b5',
    500: '#cd7e97',
    950: '#000000',
  },
}
SCSS
$custom: #cd7e97;
$custom-light: #dea4b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7e97",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 151
  },
  "hsl": {
    "h": 341.013,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6836,
    "c": 0.10214,
    "h": 359.7
  },
  "luminance": 0.30135
}

Semantic roles & 50–950 ramp

primary
#CD7E97
secondary
#C6E1D8
accent
#B78C2E
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F11
muted
#837F80

Preview Lab

Preview with #CD7E97

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

Preview Lab → · Contrast checker → · Palette generator →

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