#D897CA#D897CA

#D897CA is a light, moderate pink. Relative luminance 0.410; OKLCH L 75.6% C 0.102 H 334.5°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#D897CA
RGBrgb(216, 151, 202)
HSLhsl(313, 45%, 72%)
HSVhsv(313, 30%, 85%)
CMYKcmyk(0%, 30.1%, 6.5%, 15.3%)
CIE-LABlab(70.17, 32.31, -16.43)
CIE-LCHlch(70.17, 36.24, 333.05°)
OKLaboklab(75.56% 0.0923 -0.044)
OKLCHoklch(75.56% 0.102 334.5)
XYZxyz(50.0456, 40.9985, 61.1430)
Luminance0.4100 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D897CA #97D8A5
analogous
#C697D8 #D897CA #D897AA
triadic
#D897CA #CAD897 #97CAD8
tetradic
#D897CA #D8C697 #97D8A5 #97AAD8
square
#D897CA #D8C697 #97D8A5 #97AAD8
split-complementary
#D897CA #AAD897 #97D8C6
monochromatic
#B2439A #C76AB3 #D897CA #E9C4E1 #F7E9F4

Accessibility & contrast

On white

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

On black

9.20
#D897CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D897CA
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D897CA#FFFFFF#000000##000000
##D897CA1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A6CC
Deuteranopia (green-blind)
#A7AFC8
Tritanopia (blue-blind)
#DE9AA9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d897ca;
/* rgb */ color: rgb(216, 151, 202);
/* oklch */ color: oklch(75.6% 0.102 334.5);
Tailwind
colors: {
  custom: {
    50: '#e5b6da',
    500: '#d897ca',
    950: '#000000',
  },
}
SCSS
$custom: #d897ca;
$custom-light: #e5b6da;
$custom-dark: #000000;
JSON
{
  "hex": "#d897ca",
  "rgb": {
    "r": 216,
    "g": 151,
    "b": 202
  },
  "hsl": {
    "h": 312.923,
    "s": 45.455,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75558,
    "c": 0.10221,
    "h": 334.5
  },
  "luminance": 0.40996
}

Semantic roles & 50–950 ramp

primary
#D897CA
secondary
#DDEEE1
accent
#B94B2D
background
#FEFBFD
surface
#FCF6FA
border
#D5D0D3
text
#161114
muted
#848083

Preview Lab

Preview with #D897CA

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

Preview Lab → · Contrast checker → · Palette generator →

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