#DC7FCC#DC7FCC

#DC7FCC is a light, vivid pink. Relative luminance 0.348; OKLCH L 72.2% C 0.149 H 333.6°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#DC7FCC
RGBrgb(220, 127, 204)
HSLhsl(310, 57%, 68%)
HSVhsv(310, 42%, 86%)
CMYKcmyk(0%, 42.3%, 7.3%, 13.7%)
CIE-LABlab(65.56, 46.64, -24.52)
CIE-LCHlch(65.56, 52.69, 332.26°)
OKLaboklab(72.19% 0.1336 -0.0662)
OKLCHoklch(72.19% 0.149 333.6)
XYZxyz(48.0034, 34.7567, 61.2953)
Luminance0.3475 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FCC #7FDC8F
analogous
#BE7FDC #DC7FCC #DC7F9D
triadic
#DC7FCC #CCDC7F #7FCCDC
tetradic
#DC7FCC #DCBE7F #7FDC8F #7F9DDC
square
#DC7FCC #DCBE7F #7FDC8F #7F9DDC
split-complementary
#DC7FCC #9DDC7F #7FDCBE
monochromatic
#B0309A #CF4FB9 #DC7FCC #E9AFDF #F6DFF2

Accessibility & contrast

On white

2.64
#DC7FCC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#DC7FCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FCC
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FCC#FFFFFF#000000##000000
##DC7FCC1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E97CF
Deuteranopia (green-blind)
#97A4C9
Tritanopia (blue-blind)
#E4849C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #dc7fcc;
/* rgb */ color: rgb(220, 127, 204);
/* oklch */ color: oklch(72.2% 0.149 333.6);
Tailwind
colors: {
  custom: {
    50: '#e8a6db',
    500: '#dc7fcc',
    950: '#000000',
  },
}
SCSS
$custom: #dc7fcc;
$custom-light: #e8a6db;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7fcc",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 204
  },
  "hsl": {
    "h": 310.323,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72189,
    "c": 0.14911,
    "h": 333.6
  },
  "luminance": 0.34754
}

Semantic roles & 50–950 ramp

primary
#DC7FCC
secondary
#CDEAD2
accent
#C53D21
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #DC7FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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