#DC97CC#DC97CC

#DC97CC is a light, moderate pink. Relative luminance 0.417; OKLCH L 76.1% C 0.107 H 335.3°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#DC97CC
RGBrgb(220, 151, 204)
HSLhsl(314, 50%, 73%)
HSVhsv(314, 31%, 86%)
CMYKcmyk(0%, 31.4%, 7.3%, 13.7%)
CIE-LABlab(70.67, 33.99, -16.74)
CIE-LCHlch(70.67, 37.89, 333.78°)
OKLaboklab(76.05% 0.0974 -0.0448)
OKLCHoklch(76.05% 0.107 335.3)
XYZxyz(51.4804, 41.7107, 62.4543)
Luminance0.4171 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC97CC #97DCA7
analogous
#C997DC #DC97CC #DC97A9
triadic
#DC97CC #CCDC97 #97CCDC
tetradic
#DC97CC #DCC997 #97DCA7 #97A9DC
square
#DC97CC #DCC997 #97DCA7 #97A9DC
split-complementary
#DC97CC #A9DC97 #97DCC9
monochromatic
#BA3F9D #CD69B6 #DC97CC #EBC5E2 #F7E8F4

Accessibility & contrast

On white

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

On black

9.34
#DC97CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC97CC
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC97CC#FFFFFF#000000##000000
##DC97CC1.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dc97cc;
/* rgb */ color: rgb(220, 151, 204);
/* oklch */ color: oklch(76.1% 0.107 335.3);
Tailwind
colors: {
  custom: {
    50: '#e8b6db',
    500: '#dc97cc',
    950: '#000000',
  },
}
SCSS
$custom: #dc97cc;
$custom-light: #e8b6db;
$custom-dark: #000000;
JSON
{
  "hex": "#dc97cc",
  "rgb": {
    "r": 220,
    "g": 151,
    "b": 204
  },
  "hsl": {
    "h": 313.913,
    "s": 49.64,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76054,
    "c": 0.1072,
    "h": 335.3
  },
  "luminance": 0.41708
}

Semantic roles & 50–950 ramp

primary
#DC97CC
secondary
#DDEEE1
accent
#BD4B29
background
#FEFBFD
surface
#FDF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #DC97CC

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

Preview Lab → · Contrast checker → · Palette generator →

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