#DC97AC#DC97AC

#DC97AC is a light, moderate pink. Relative luminance 0.403; OKLCH L 75.0% C 0.087 H 359.6°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#DC97AC
RGBrgb(220, 151, 172)
HSLhsl(342, 50%, 73%)
HSVhsv(342, 31%, 86%)
CMYKcmyk(0%, 31.4%, 21.8%, 13.7%)
CIE-LABlab(69.70, 28.84, -0.41)
CIE-LCHlch(69.70, 28.84, 359.19°)
OKLaboklab(75% 0.0867 -0.0007)
OKLCHoklch(75% 0.087 359.6)
XYZxyz(48.0289, 40.3301, 44.2764)
Luminance0.4033 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC97AC #97DCC7
analogous
#DC97CE #DC97AC #DCA497
triadic
#DC97AC #ACDC97 #97ACDC
tetradic
#DC97AC #CEDC97 #97DCC7 #A497DC
square
#DC97AC #CEDC97 #97DCC7 #A497DC
split-complementary
#DC97AC #97DCA4 #97CEDC
monochromatic
#BA3F64 #CD6987 #DC97AC #EBC5D1 #F7E8ED

Accessibility & contrast

On white

2.32
#DC97AC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#DC97AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC97AC
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC97AC#FFFFFF#000000##000000
##DC97AC1.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0A3AD
Deuteranopia (green-blind)
#B0AFAA
Tritanopia (blue-blind)
#E7939E
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #dc97ac;
/* rgb */ color: rgb(220, 151, 172);
/* oklch */ color: oklch(75.0% 0.087 359.6);
Tailwind
colors: {
  custom: {
    50: '#e8b6c4',
    500: '#dc97ac',
    950: '#000000',
  },
}
SCSS
$custom: #dc97ac;
$custom-light: #e8b6c4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc97ac",
  "rgb": {
    "r": 220,
    "g": 151,
    "b": 172
  },
  "hsl": {
    "h": 341.739,
    "s": 49.64,
    "l": 72.745
  },
  "oklch": {
    "l": 0.74996,
    "c": 0.08671,
    "h": 359.6
  },
  "luminance": 0.40327
}

Semantic roles & 50–950 ramp

primary
#DC97AC
secondary
#DDEEE9
accent
#BD9029
background
#FEFBFC
surface
#FDF6F8
border
#D5D0D1
text
#161112
muted
#848081

Preview Lab

Preview with #DC97AC

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

Preview Lab → · Contrast checker → · Palette generator →

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