#DC97C8#DC97C8

#DC97C8 is a light, moderate pink. Relative luminance 0.415; OKLCH L 75.9% C 0.104 H 337.8°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#DC97C8
RGBrgb(220, 151, 200)
HSLhsl(317, 50%, 73%)
HSVhsv(317, 31%, 86%)
CMYKcmyk(0%, 31.4%, 9.1%, 13.7%)
CIE-LABlab(70.54, 33.30, -14.73)
CIE-LCHlch(70.54, 36.41, 336.15°)
OKLaboklab(75.91% 0.0962 -0.0392)
OKLCHoklch(75.91% 0.104 337.8)
XYZxyz(51.0068, 41.5213, 59.9600)
Luminance0.4152 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC97C8 #97DCAB
analogous
#CD97DC #DC97C8 #DC97A6
triadic
#DC97C8 #C8DC97 #97C8DC
tetradic
#DC97C8 #DCCD97 #97DCAB #97A6DC
square
#DC97C8 #DCCD97 #97DCAB #97A6DC
split-complementary
#DC97C8 #A6DC97 #97DCCD
monochromatic
#BA3F96 #CD69B0 #DC97C8 #EBC5E0 #F7E8F3

Accessibility & contrast

On white

2.26
#DC97C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#DC97C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC97C8
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC97C8#FFFFFF#000000##000000
##DC97C81.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A6CA
Deuteranopia (green-blind)
#A9B0C6
Tritanopia (blue-blind)
#E399A8
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #dc97c8;
/* rgb */ color: rgb(220, 151, 200);
/* oklch */ color: oklch(75.9% 0.104 337.8);
Tailwind
colors: {
  custom: {
    50: '#e8b6d8',
    500: '#dc97c8',
    950: '#000000',
  },
}
SCSS
$custom: #dc97c8;
$custom-light: #e8b6d8;
$custom-dark: #000000;
JSON
{
  "hex": "#dc97c8",
  "rgb": {
    "r": 220,
    "g": 151,
    "b": 200
  },
  "hsl": {
    "h": 317.391,
    "s": 49.64,
    "l": 72.745
  },
  "oklch": {
    "l": 0.75911,
    "c": 0.10386,
    "h": 337.8
  },
  "luminance": 0.41519
}

Semantic roles & 50–950 ramp

primary
#DC97C8
secondary
#DDEEE2
accent
#BD5429
background
#FEFBFD
surface
#FDF6FA
border
#D5D0D3
text
#161114
muted
#848083

Preview Lab

Preview with #DC97C8

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

Preview Lab → · Contrast checker → · Palette generator →

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