#DC79B2#DC79B2

#DC79B2 is a light, vivid pink. Relative luminance 0.321; OKLCH L 70.3% C 0.140 H 345.7°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#DC79B2
RGBrgb(220, 121, 178)
HSLhsl(325, 59%, 67%)
HSVhsv(325, 45%, 86%)
CMYKcmyk(0%, 45%, 19.1%, 13.7%)
CIE-LABlab(63.43, 45.55, -13.09)
CIE-LCHlch(63.43, 47.39, 343.97°)
OKLaboklab(70.29% 0.1356 -0.0345)
OKLCHoklch(70.29% 0.14 345.7)
XYZxyz(44.3893, 32.1079, 45.9703)
Luminance0.3211 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC79B2 #79DCA3
analogous
#D579DC #DC79B2 #DC7981
triadic
#DC79B2 #B2DC79 #79B2DC
tetradic
#DC79B2 #DCD579 #79DCA3 #7981DC
square
#DC79B2 #DCD579 #79DCA3 #7981DC
split-complementary
#DC79B2 #81DC79 #79DCD5
monochromatic
#AD2D77 #CF4896 #DC79B2 #E9AACE #F5DAEA

Accessibility & contrast

On white

2.83
#DC79B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#DC79B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC79B2
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC79B2#FFFFFF#000000##000000
##DC79B21.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#818FB4
Deuteranopia (green-blind)
#9BA0AF
Tritanopia (blue-blind)
#E8788E
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #dc79b2;
/* rgb */ color: rgb(220, 121, 178);
/* oklch */ color: oklch(70.3% 0.140 345.7);
Tailwind
colors: {
  custom: {
    50: '#e9a2c9',
    500: '#dc79b2',
    950: '#000000',
  },
}
SCSS
$custom: #dc79b2;
$custom-light: #e9a2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#dc79b2",
  "rgb": {
    "r": 220,
    "g": 121,
    "b": 178
  },
  "hsl": {
    "h": 325.455,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.70289,
    "c": 0.13987,
    "h": 345.7
  },
  "luminance": 0.32105
}

Semantic roles & 50–950 ramp

primary
#DC79B2
secondary
#C9E8D6
accent
#C6661F
background
#FEFAFC
surface
#FDF4F8
border
#D5CED1
text
#160F13
muted
#847F82

Preview Lab

Preview with #DC79B2

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

Preview Lab → · Contrast checker → · Palette generator →

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