#DB97CD#DB97CD

#DB97CD is a light, moderate pink. Relative luminance 0.416; OKLCH L 76.0% C 0.107 H 334.2°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#DB97CD
RGBrgb(219, 151, 205)
HSLhsl(312, 49%, 73%)
HSVhsv(312, 31%, 86%)
CMYKcmyk(0%, 31.1%, 6.4%, 14.1%)
CIE-LABlab(70.60, 33.83, -17.42)
CIE-LCHlch(70.60, 38.05, 332.76°)
OKLaboklab(75.98% 0.0966 -0.0467)
OKLCHoklch(75.98% 0.107 334.2)
XYZxyz(51.2989, 41.6032, 63.0738)
Luminance0.4160 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB97CD #97DBA5
analogous
#C797DB #DB97CD #DB97AB
triadic
#DB97CD #CDDB97 #97CDDB
tetradic
#DB97CD #DBC797 #97DBA5 #97ABDB
square
#DB97CD #DBC797 #97DBA5 #97ABDB
split-complementary
#DB97CD #ABDB97 #97DBC7
monochromatic
#B8409F #CB6AB7 #DB97CD #EBC4E3 #F7E8F4

Accessibility & contrast

On white

2.25
#DB97CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#DB97CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB97CD
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB97CD#FFFFFF#000000##000000
##DB97CD1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A7CF
Deuteranopia (green-blind)
#A7B0CB
Tritanopia (blue-blind)
#E19AAA
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #db97cd;
/* rgb */ color: rgb(219, 151, 205);
/* oklch */ color: oklch(76.0% 0.107 334.2);
Tailwind
colors: {
  custom: {
    50: '#e7b6dc',
    500: '#db97cd',
    950: '#000000',
  },
}
SCSS
$custom: #db97cd;
$custom-light: #e7b6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#db97cd",
  "rgb": {
    "r": 219,
    "g": 151,
    "b": 205
  },
  "hsl": {
    "h": 312.353,
    "s": 48.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75984,
    "c": 0.10725,
    "h": 334.2
  },
  "luminance": 0.41601
}

Semantic roles & 50–950 ramp

primary
#DB97CD
secondary
#DDEEE0
accent
#BC482A
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #DB97CD

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

Preview Lab → · Contrast checker → · Palette generator →

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