#CD7897#CD7897

#CD7897 is a light, moderate pink. Relative luminance 0.286; OKLCH L 67.4% C 0.112 H 357.2°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#CD7897
RGBrgb(205, 120, 151)
HSLhsl(338, 46%, 64%)
HSVhsv(338, 41%, 80%)
CMYKcmyk(0%, 41.5%, 26.3%, 19.6%)
CIE-LABlab(60.47, 37.04, -2.26)
CIE-LCHlch(60.47, 37.11, 356.50°)
OKLaboklab(67.37% 0.1118 -0.0055)
OKLCHoklch(67.37% 0.112 357.2)
XYZxyz(37.4803, 28.6492, 32.8280)
Luminance0.2865 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7897 #78CDAE
analogous
#CD78C1 #CD7897 #CD8378
triadic
#CD7897 #97CD78 #7897CD
tetradic
#CD7897 #C1CD78 #78CDAE #8378CD
square
#CD7897 #C1CD78 #78CDAE #8378CD
split-complementary
#CD7897 #78CD83 #78C1CD
monochromatic
#943759 #BC4B75 #CD7897 #DEA5B9 #EED1DC

Accessibility & contrast

On white

3.12
#CD7897 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#CD7897 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD7897
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7897#FFFFFF#000000##000000
##CD78971.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#838998
Deuteranopia (green-blind)
#989895
Tritanopia (blue-blind)
#D97383
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cd7897;
/* rgb */ color: rgb(205, 120, 151);
/* oklch */ color: oklch(67.4% 0.112 357.2);
Tailwind
colors: {
  custom: {
    50: '#dea0b5',
    500: '#cd7897',
    950: '#000000',
  },
}
SCSS
$custom: #cd7897;
$custom-light: #dea0b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7897",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 151
  },
  "hsl": {
    "h": 338.118,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6737,
    "c": 0.11188,
    "h": 357.2
  },
  "luminance": 0.28646
}

Semantic roles & 50–950 ramp

primary
#CD7897
secondary
#C1DFD4
accent
#B9862C
background
#FDFAFB
surface
#FBF3F6
border
#D4CDD0
text
#150F11
muted
#837F80

Preview Lab

Preview with #CD7897

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

Preview Lab → · Contrast checker → · Palette generator →

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