#CD7997#CD7997

#CD7997 is a light, moderate pink. Relative luminance 0.289; OKLCH L 67.5% C 0.110 H 357.6°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#CD7997
RGBrgb(205, 121, 151)
HSLhsl(339, 46%, 64%)
HSVhsv(339, 41%, 80%)
CMYKcmyk(0%, 41%, 26.3%, 19.6%)
CIE-LABlab(60.69, 36.51, -1.95)
CIE-LCHlch(60.69, 36.56, 356.95°)
OKLaboklab(67.53% 0.1102 -0.0046)
OKLCHoklch(67.53% 0.11 357.6)
XYZxyz(37.6012, 28.8910, 32.8683)
Luminance0.2889 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7997 #79CDAF
analogous
#CD79C1 #CD7997 #CD8579
triadic
#CD7997 #97CD79 #7997CD
tetradic
#CD7997 #C1CD79 #79CDAF #8579CD
square
#CD7997 #C1CD79 #79CDAF #8579CD
split-complementary
#CD7997 #79CD85 #79C1CD
monochromatic
#943759 #BC4C74 #CD7997 #DEA6BA #EED2DC

Accessibility & contrast

On white

3.10
#CD7997 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#CD7997 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD7997
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7997#FFFFFF#000000##000000
##CD79971.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#848998
Deuteranopia (green-blind)
#999895
Tritanopia (blue-blind)
#D97484
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cd7997;
/* rgb */ color: rgb(205, 121, 151);
/* oklch */ color: oklch(67.5% 0.110 357.6);
Tailwind
colors: {
  custom: {
    50: '#dea1b5',
    500: '#cd7997',
    950: '#000000',
  },
}
SCSS
$custom: #cd7997;
$custom-light: #dea1b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7997",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 151
  },
  "hsl": {
    "h": 338.571,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67533,
    "c": 0.11025,
    "h": 357.6
  },
  "luminance": 0.28888
}

Semantic roles & 50–950 ramp

primary
#CD7997
secondary
#C2E0D5
accent
#B9872D
background
#FDFAFB
surface
#FBF3F6
border
#D4CDD0
text
#150F11
muted
#837F80

Preview Lab

Preview with #CD7997

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

Preview Lab → · Contrast checker → · Palette generator →

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