#DC97B2#DC97B2

#DC97B2 is a light, moderate pink. Relative luminance 0.406; OKLCH L 75.2% C 0.089 H 354.3°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#DC97B2
RGBrgb(220, 151, 178)
HSLhsl(337, 50%, 73%)
HSVhsv(337, 31%, 86%)
CMYKcmyk(0%, 31.4%, 19.1%, 13.7%)
CIE-LABlab(69.87, 29.74, -3.50)
CIE-LCHlch(69.87, 29.95, 353.28°)
OKLaboklab(75.18% 0.0889 -0.0089)
OKLCHoklch(75.18% 0.089 354.3)
XYZxyz(48.6182, 40.5658, 47.3800)
Luminance0.4056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC97B2 #97DCC1
analogous
#DC97D4 #DC97B2 #DC9F97
triadic
#DC97B2 #B2DC97 #97B2DC
tetradic
#DC97B2 #D4DC97 #97DCC1 #9F97DC
square
#DC97B2 #D4DC97 #97DCC1 #9F97DC
split-complementary
#DC97B2 #97DC9F #97D4DC
monochromatic
#BA3F6F #CD6990 #DC97B2 #EBC5D4 #F7E8EE

Accessibility & contrast

On white

2.30
#DC97B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#DC97B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC97B2
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC97B2#FFFFFF#000000##000000
##DC97B21.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EA4B3
Deuteranopia (green-blind)
#AFAFB0
Tritanopia (blue-blind)
#E794A0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #dc97b2;
/* rgb */ color: rgb(220, 151, 178);
/* oklch */ color: oklch(75.2% 0.089 354.3);
Tailwind
colors: {
  custom: {
    50: '#e8b6c9',
    500: '#dc97b2',
    950: '#000000',
  },
}
SCSS
$custom: #dc97b2;
$custom-light: #e8b6c9;
$custom-dark: #000000;
JSON
{
  "hex": "#dc97b2",
  "rgb": {
    "r": 220,
    "g": 151,
    "b": 178
  },
  "hsl": {
    "h": 336.522,
    "s": 49.64,
    "l": 72.745
  },
  "oklch": {
    "l": 0.75179,
    "c": 0.0893,
    "h": 354.3
  },
  "luminance": 0.40563
}

Semantic roles & 50–950 ramp

primary
#DC97B2
secondary
#DDEEE7
accent
#BD8329
background
#FEFBFC
surface
#FDF6F8
border
#D5D0D1
text
#161113
muted
#848082

Preview Lab

Preview with #DC97B2

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

Preview Lab → · Contrast checker → · Palette generator →

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