#DC97CD#DC97CD

#DC97CD is a light, moderate pink. Relative luminance 0.418; OKLCH L 76.1% C 0.108 H 334.7°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#DC97CD
RGBrgb(220, 151, 205)
HSLhsl(313, 50%, 73%)
HSVhsv(313, 31%, 86%)
CMYKcmyk(0%, 31.4%, 6.8%, 13.7%)
CIE-LABlab(70.70, 34.16, -17.24)
CIE-LCHlch(70.70, 38.27, 333.22°)
OKLaboklab(76.09% 0.0977 -0.0462)
OKLCHoklch(76.09% 0.108 334.7)
XYZxyz(51.6007, 41.7589, 63.0880)
Luminance0.4176 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC97CD #97DCA6
analogous
#C897DC #DC97CD #DC97AB
triadic
#DC97CD #CDDC97 #97CDDC
tetradic
#DC97CD #DCC897 #97DCA6 #97ABDC
square
#DC97CD #DCC897 #97DCA6 #97ABDC
split-complementary
#DC97CD #ABDC97 #97DCC8
monochromatic
#BA3F9F #CD69B7 #DC97CD #EBC5E3 #F7E8F4

Accessibility & contrast

On white

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

On black

9.35
#DC97CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC97CD
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC97CD#FFFFFF#000000##000000
##DC97CD1.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dc97cd;
/* rgb */ color: rgb(220, 151, 205);
/* oklch */ color: oklch(76.1% 0.108 334.7);
Tailwind
colors: {
  custom: {
    50: '#e8b6dc',
    500: '#dc97cd',
    950: '#000000',
  },
}
SCSS
$custom: #dc97cd;
$custom-light: #e8b6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#dc97cd",
  "rgb": {
    "r": 220,
    "g": 151,
    "b": 205
  },
  "hsl": {
    "h": 313.043,
    "s": 49.64,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76091,
    "c": 0.10806,
    "h": 334.7
  },
  "luminance": 0.41757
}

Semantic roles & 50–950 ramp

primary
#DC97CD
secondary
#DDEEE0
accent
#BD4929
background
#FEFBFD
surface
#FDF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #DC97CD

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

Preview Lab → · Contrast checker → · Palette generator →

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