#DC879F#DC879F

#DC879F is a light, moderate pink. Relative luminance 0.350; OKLCH L 71.9% C 0.108 H 1.9°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#DC879F
RGBrgb(220, 135, 159)
HSLhsl(343, 55%, 70%)
HSVhsv(343, 39%, 86%)
CMYKcmyk(0%, 38.6%, 27.7%, 13.7%)
CIE-LABlab(65.79, 35.54, 1.17)
CIE-LCHlch(65.79, 35.56, 1.89°)
OKLaboklab(71.89% 0.1075 0.0036)
OKLCHoklch(71.89% 0.108 1.9)
XYZxyz(44.4385, 35.0500, 37.2189)
Luminance0.3505 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC879F #87DCC4
analogous
#DC87CA #DC879F #DC9A87
triadic
#DC879F #9FDC87 #879FDC
tetradic
#DC879F #CADC87 #87DCC4 #9A87DC
square
#DC879F #CADC87 #87DCC4 #9A87DC
split-complementary
#DC879F #87DC9A #87CADC
monochromatic
#B43559 #CE5879 #DC879F #EAB6C5 #F8E6EB

Accessibility & contrast

On white

2.62
#DC879F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#DC879F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC879F
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC879F#FFFFFF#000000##000000
##DC879F1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9396A0
Deuteranopia (green-blind)
#A8A69D
Tritanopia (blue-blind)
#E9818F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #dc879f;
/* rgb */ color: rgb(220, 135, 159);
/* oklch */ color: oklch(71.9% 0.108 1.9);
Tailwind
colors: {
  custom: {
    50: '#e9abbb',
    500: '#dc879f',
    950: '#000000',
  },
}
SCSS
$custom: #dc879f;
$custom-light: #e9abbb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc879f",
  "rgb": {
    "r": 220,
    "g": 135,
    "b": 159
  },
  "hsl": {
    "h": 343.059,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71885,
    "c": 0.10751,
    "h": 1.9
  },
  "luminance": 0.35047
}

Semantic roles & 50–950 ramp

primary
#DC879F
secondary
#D3ECE5
accent
#C29523
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#161011
muted
#847F80

Preview Lab

Preview with #DC879F

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

Preview Lab → · Contrast checker → · Palette generator →

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