#DC97CE#DC97CE

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

Color values

HEX#DC97CE
RGBrgb(220, 151, 206)
HSLhsl(312, 50%, 73%)
HSVhsv(312, 31%, 86%)
CMYKcmyk(0%, 31.4%, 6.4%, 13.7%)
CIE-LABlab(70.74, 34.34, -17.75)
CIE-LCHlch(70.74, 38.65, 332.67°)
OKLaboklab(76.13% 0.098 -0.0476)
OKLCHoklch(76.13% 0.109 334.1)
XYZxyz(51.7218, 41.8073, 63.7257)
Luminance0.4180 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC97CE #97DCA5
analogous
#C797DC #DC97CE #DC97AB
triadic
#DC97CE #CEDC97 #97CEDC
tetradic
#DC97CE #DCC797 #97DCA5 #97ABDC
square
#DC97CE #DCC797 #97DCA5 #97ABDC
split-complementary
#DC97CE #ABDC97 #97DCC7
monochromatic
#BA3FA1 #CD69B8 #DC97CE #EBC5E4 #F7E8F4

Accessibility & contrast

On white

2.24
#DC97CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#DC97CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC97CE
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC97CE#FFFFFF#000000##000000
##DC97CE1.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A7D0
Deuteranopia (green-blind)
#A7B1CC
Tritanopia (blue-blind)
#E39AAB
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #dc97ce;
/* rgb */ color: rgb(220, 151, 206);
/* oklch */ color: oklch(76.1% 0.109 334.1);
Tailwind
colors: {
  custom: {
    50: '#e8b6dd',
    500: '#dc97ce',
    950: '#000000',
  },
}
SCSS
$custom: #dc97ce;
$custom-light: #e8b6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc97ce",
  "rgb": {
    "r": 220,
    "g": 151,
    "b": 206
  },
  "hsl": {
    "h": 312.174,
    "s": 49.64,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76127,
    "c": 0.10893,
    "h": 334.1
  },
  "luminance": 0.41805
}

Semantic roles & 50–950 ramp

primary
#DC97CE
secondary
#DDEEE0
accent
#BD4729
background
#FEFBFD
surface
#FDF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #DC97CE

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

Preview Lab → · Contrast checker → · Palette generator →

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