#DC7FC8#DC7FC8

#DC7FC8 is a light, vivid pink. Relative luminance 0.346; OKLCH L 72.0% C 0.146 H 335.4°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#DC7FC8
RGBrgb(220, 127, 200)
HSLhsl(313, 57%, 68%)
HSVhsv(313, 42%, 86%)
CMYKcmyk(0%, 42.3%, 9.1%, 13.7%)
CIE-LABlab(65.41, 45.96, -22.51)
CIE-LCHlch(65.41, 51.18, 333.91°)
OKLaboklab(72.03% 0.1326 -0.0606)
OKLCHoklch(72.03% 0.146 335.4)
XYZxyz(47.5298, 34.5673, 58.8010)
Luminance0.3457 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FC8 #7FDC93
analogous
#C17FDC #DC7FC8 #DC7F99
triadic
#DC7FC8 #C8DC7F #7FC8DC
tetradic
#DC7FC8 #DCC17F #7FDC93 #7F99DC
square
#DC7FC8 #DCC17F #7FDC93 #7F99DC
split-complementary
#DC7FC8 #99DC7F #7FDCC1
monochromatic
#B03095 #CF4FB3 #DC7FC8 #E9AFDD #F6DFF1

Accessibility & contrast

On white

2.65
#DC7FC8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#DC7FC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FC8
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FC8#FFFFFF#000000##000000
##DC7FC81.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8096CB
Deuteranopia (green-blind)
#98A4C5
Tritanopia (blue-blind)
#E4839B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #dc7fc8;
/* rgb */ color: rgb(220, 127, 200);
/* oklch */ color: oklch(72.0% 0.146 335.4);
Tailwind
colors: {
  custom: {
    50: '#e8a6d8',
    500: '#dc7fc8',
    950: '#000000',
  },
}
SCSS
$custom: #dc7fc8;
$custom-light: #e8a6d8;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7fc8",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 200
  },
  "hsl": {
    "h": 312.903,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72029,
    "c": 0.14578,
    "h": 335.4
  },
  "luminance": 0.34565
}

Semantic roles & 50–950 ramp

primary
#DC7FC8
secondary
#CDEAD3
accent
#C54421
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#160F14
muted
#847F83

Preview Lab

Preview with #DC7FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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