#DC78CA#DC78CA

#DC78CA is a light, vivid pink. Relative luminance 0.329; OKLCH L 71.1% C 0.159 H 334.2°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#DC78CA
RGBrgb(220, 120, 202)
HSLhsl(311, 59%, 67%)
HSVhsv(311, 45%, 86%)
CMYKcmyk(0%, 45.5%, 8.2%, 13.7%)
CIE-LABlab(64.09, 49.86, -25.65)
CIE-LCHlch(64.09, 56.07, 332.78°)
OKLaboklab(71.07% 0.1434 -0.0693)
OKLCHoklch(71.07% 0.159 334.2)
XYZxyz(46.8922, 32.9157, 59.7491)
Luminance0.3291 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC78CA #78DC8A
analogous
#BC78DC #DC78CA #DC7898
triadic
#DC78CA #CADC78 #78CADC
tetradic
#DC78CA #DCBC78 #78DC8A #7898DC
square
#DC78CA #DCBC78 #78DC8A #7898DC
split-complementary
#DC78CA #98DC78 #78DCBC
monochromatic
#AD2D96 #CF47B7 #DC78CA #E9A9DD #F5D9F0

Accessibility & contrast

On white

2.77
#DC78CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#DC78CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC78CA
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC78CA#FFFFFF#000000##000000
##DC78CA1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7792CD
Deuteranopia (green-blind)
#93A1C7
Tritanopia (blue-blind)
#E47D98
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #dc78ca;
/* rgb */ color: rgb(220, 120, 202);
/* oklch */ color: oklch(71.1% 0.159 334.2);
Tailwind
colors: {
  custom: {
    50: '#e9a2da',
    500: '#dc78ca',
    950: '#000000',
  },
}
SCSS
$custom: #dc78ca;
$custom-light: #e9a2da;
$custom-dark: #000000;
JSON
{
  "hex": "#dc78ca",
  "rgb": {
    "r": 220,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 310.8,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71066,
    "c": 0.15926,
    "h": 334.2
  },
  "luminance": 0.32913
}

Semantic roles & 50–950 ramp

primary
#DC78CA
secondary
#C8E8CE
accent
#C63D1F
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#160F15
muted
#847F83

Preview Lab

Preview with #DC78CA

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

Preview Lab → · Contrast checker → · Palette generator →

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