#DC7DCA#DC7DCA

#DC7DCA is a light, vivid pink. Relative luminance 0.341; OKLCH L 71.8% C 0.151 H 334.4°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#DC7DCA
RGBrgb(220, 125, 202)
HSLhsl(311, 58%, 68%)
HSVhsv(311, 43%, 86%)
CMYKcmyk(0%, 43.2%, 8.2%, 13.7%)
CIE-LABlab(65.08, 47.32, -24.13)
CIE-LCHlch(65.08, 53.12, 332.98°)
OKLaboklab(71.81% 0.1361 -0.0651)
OKLCHoklch(71.81% 0.151 334.4)
XYZxyz(47.5093, 34.1499, 59.9548)
Luminance0.3415 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7DCA #7DDC8F
analogous
#BE7DDC #DC7DCA #DC7D9B
triadic
#DC7DCA #CADC7D #7DCADC
tetradic
#DC7DCA #DCBE7D #7DDC8F #7D9BDC
square
#DC7DCA #DCBE7D #7DDC8F #7D9BDC
split-complementary
#DC7DCA #9BDC7D #7DDCBE
monochromatic
#AF2F97 #CF4DB6 #DC7DCA #E9ADDE #F6DDF1

Accessibility & contrast

On white

2.68
#DC7DCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#DC7DCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7DCA
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7DCA#FFFFFF#000000##000000
##DC7DCA1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D95CD
Deuteranopia (green-blind)
#96A3C7
Tritanopia (blue-blind)
#E4829A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #dc7dca;
/* rgb */ color: rgb(220, 125, 202);
/* oklch */ color: oklch(71.8% 0.151 334.4);
Tailwind
colors: {
  custom: {
    50: '#e8a5da',
    500: '#dc7dca',
    950: '#000000',
  },
}
SCSS
$custom: #dc7dca;
$custom-light: #e8a5da;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7dca",
  "rgb": {
    "r": 220,
    "g": 125,
    "b": 202
  },
  "hsl": {
    "h": 311.368,
    "s": 57.576,
    "l": 67.647
  },
  "oklch": {
    "l": 0.71806,
    "c": 0.15084,
    "h": 334.4
  },
  "luminance": 0.34147
}

Semantic roles & 50–950 ramp

primary
#DC7DCA
secondary
#CCE9D1
accent
#C54020
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#160F14
muted
#847F83

Preview Lab

Preview with #DC7DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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