#D897CD#D897CD

#D897CD is a light, moderate pink. Relative luminance 0.411; OKLCH L 75.7% C 0.105 H 332.7°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#D897CD
RGBrgb(216, 151, 205)
HSLhsl(310, 45%, 72%)
HSVhsv(310, 30%, 85%)
CMYKcmyk(0%, 30.1%, 5.1%, 15.3%)
CIE-LABlab(70.28, 32.84, -17.93)
CIE-LCHlch(70.28, 37.41, 331.36°)
OKLaboklab(75.67% 0.0932 -0.0481)
OKLCHoklch(75.67% 0.105 332.7)
XYZxyz(50.4043, 41.1419, 63.0319)
Luminance0.4114 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D897CD #97D8A2
analogous
#C397D8 #D897CD #D897AD
triadic
#D897CD #CDD897 #97CDD8
tetradic
#D897CD #D8C397 #97D8A2 #97ADD8
square
#D897CD #D8C397 #97D8A2 #97ADD8
split-complementary
#D897CD #ADD897 #97D8C3
monochromatic
#B2439F #C76AB8 #D897CD #E9C4E2 #F7E9F4

Accessibility & contrast

On white

2.28
#D897CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#D897CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D897CD
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D897CD#FFFFFF#000000##000000
##D897CD1.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#96A6CF
Deuteranopia (green-blind)
#A6AFCB
Tritanopia (blue-blind)
#DE9AAA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d897cd;
/* rgb */ color: rgb(216, 151, 205);
/* oklch */ color: oklch(75.7% 0.105 332.7);
Tailwind
colors: {
  custom: {
    50: '#e5b6dc',
    500: '#d897cd',
    950: '#000000',
  },
}
SCSS
$custom: #d897cd;
$custom-light: #e5b6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d897cd",
  "rgb": {
    "r": 216,
    "g": 151,
    "b": 205
  },
  "hsl": {
    "h": 310.154,
    "s": 45.455,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75668,
    "c": 0.10487,
    "h": 332.7
  },
  "luminance": 0.4114
}

Semantic roles & 50–950 ramp

primary
#D897CD
secondary
#DDEEE0
accent
#B9452D
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #D897CD

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

Preview Lab → · Contrast checker → · Palette generator →

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