#DC7FC4#DC7FC4

#DC7FC4 is a light, vivid pink. Relative luminance 0.344; OKLCH L 71.9% C 0.143 H 337.3°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#DC7FC4
RGBrgb(220, 127, 196)
HSLhsl(315, 57%, 68%)
HSVhsv(315, 42%, 86%)
CMYKcmyk(0%, 42.3%, 10.9%, 13.7%)
CIE-LABlab(65.27, 45.30, -20.48)
CIE-LCHlch(65.27, 49.71, 335.67°)
OKLaboklab(71.87% 0.1316 -0.0549)
OKLCHoklch(71.87% 0.143 337.3)
XYZxyz(47.0685, 34.3827, 56.3712)
Luminance0.3438 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FC4 #7FDC97
analogous
#C57FDC #DC7FC4 #DC7F95
triadic
#DC7FC4 #C4DC7F #7FC4DC
tetradic
#DC7FC4 #DCC57F #7FDC97 #7F95DC
square
#DC7FC4 #DCC57F #7FDC97 #7F95DC
split-complementary
#DC7FC4 #95DC7F #7FDCC5
monochromatic
#B0308F #CF4FAE #DC7FC4 #E9AFDA #F6DFF0

Accessibility & contrast

On white

2.67
#DC7FC4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#DC7FC4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FC4
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FC4#FFFFFF#000000##000000
##DC7FC41.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8196C6
Deuteranopia (green-blind)
#99A4C1
Tritanopia (blue-blind)
#E58299
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #dc7fc4;
/* rgb */ color: rgb(220, 127, 196);
/* oklch */ color: oklch(71.9% 0.143 337.3);
Tailwind
colors: {
  custom: {
    50: '#e8a6d6',
    500: '#dc7fc4',
    950: '#000000',
  },
}
SCSS
$custom: #dc7fc4;
$custom-light: #e8a6d6;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7fc4",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 196
  },
  "hsl": {
    "h": 315.484,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.71872,
    "c": 0.14256,
    "h": 337.3
  },
  "luminance": 0.3438
}

Semantic roles & 50–950 ramp

primary
#DC7FC4
secondary
#CDEAD5
accent
#C54B21
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#160F14
muted
#847F83

Preview Lab

Preview with #DC7FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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