#DC78BC#DC78BC

#DC78BC is a light, vivid pink. Relative luminance 0.323; OKLCH L 70.5% C 0.148 H 340.5°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#DC78BC
RGBrgb(220, 120, 188)
HSLhsl(319, 59%, 67%)
HSVhsv(319, 45%, 86%)
CMYKcmyk(0%, 45.5%, 14.5%, 13.7%)
CIE-LABlab(63.58, 47.59, -18.54)
CIE-LCHlch(63.58, 51.07, 338.72°)
OKLaboklab(70.51% 0.1399 -0.0495)
OKLCHoklch(70.51% 0.148 340.5)
XYZxyz(45.3092, 32.2825, 51.4119)
Luminance0.3228 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC78BC #78DC98
analogous
#CA78DC #DC78BC #DC788A
triadic
#DC78BC #BCDC78 #78BCDC
tetradic
#DC78BC #DCCA78 #78DC98 #788ADC
square
#DC78BC #DCCA78 #78DC98 #788ADC
split-complementary
#DC78BC #8ADC78 #78DCCA
monochromatic
#AD2D84 #CF47A4 #DC78BC #E9A9D4 #F5D9EC

Accessibility & contrast

On white

2.82
#DC78BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#DC78BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC78BC
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC78BC#FFFFFF#000000##000000
##DC78BC1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D90BE
Deuteranopia (green-blind)
#97A0B9
Tritanopia (blue-blind)
#E67A92
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #dc78bc;
/* rgb */ color: rgb(220, 120, 188);
/* oklch */ color: oklch(70.5% 0.148 340.5);
Tailwind
colors: {
  custom: {
    50: '#e9a1d0',
    500: '#dc78bc',
    950: '#000000',
  },
}
SCSS
$custom: #dc78bc;
$custom-light: #e9a1d0;
$custom-dark: #000000;
JSON
{
  "hex": "#dc78bc",
  "rgb": {
    "r": 220,
    "g": 120,
    "b": 188
  },
  "hsl": {
    "h": 319.2,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70509,
    "c": 0.14838,
    "h": 340.5
  },
  "luminance": 0.32279
}

Semantic roles & 50–950 ramp

primary
#DC78BC
secondary
#C8E8D2
accent
#C6551F
background
#FEFAFC
surface
#FDF4F9
border
#D5CED2
text
#160F14
muted
#847F82

Preview Lab

Preview with #DC78BC

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

Preview Lab → · Contrast checker → · Palette generator →

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