#DC7DC6#DC7DC6

#DC7DC6 is a light, vivid pink. Relative luminance 0.340; OKLCH L 71.6% C 0.148 H 336.2°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#DC7DC6
RGBrgb(220, 125, 198)
HSLhsl(314, 58%, 68%)
HSVhsv(314, 43%, 86%)
CMYKcmyk(0%, 43.2%, 10%, 13.7%)
CIE-LABlab(64.93, 46.66, -22.11)
CIE-LCHlch(64.93, 51.63, 334.64°)
OKLaboklab(71.65% 0.1351 -0.0595)
OKLCHoklch(71.65% 0.148 336.2)
XYZxyz(47.0419, 33.9629, 57.4929)
Luminance0.3396 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7DC6 #7DDC93
analogous
#C37DDC #DC7DC6 #DC7D96
triadic
#DC7DC6 #C6DC7D #7DC6DC
tetradic
#DC7DC6 #DCC37D #7DDC93 #7D96DC
square
#DC7DC6 #DCC37D #7DDC93 #7D96DC
split-complementary
#DC7DC6 #96DC7D #7DDCC3
monochromatic
#AF2F92 #CF4DB1 #DC7DC6 #E9ADDB #F6DDF0

Accessibility & contrast

On white

2.70
#DC7DC6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#DC7DC6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7DC6
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7DC6#FFFFFF#000000##000000
##DC7DC61.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E95C9
Deuteranopia (green-blind)
#97A3C3
Tritanopia (blue-blind)
#E58199
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #dc7dc6;
/* rgb */ color: rgb(220, 125, 198);
/* oklch */ color: oklch(71.6% 0.148 336.2);
Tailwind
colors: {
  custom: {
    50: '#e8a5d7',
    500: '#dc7dc6',
    950: '#000000',
  },
}
SCSS
$custom: #dc7dc6;
$custom-light: #e8a5d7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7dc6",
  "rgb": {
    "r": 220,
    "g": 125,
    "b": 198
  },
  "hsl": {
    "h": 313.895,
    "s": 57.576,
    "l": 67.647
  },
  "oklch": {
    "l": 0.71646,
    "c": 0.14758,
    "h": 336.2
  },
  "luminance": 0.3396
}

Semantic roles & 50–950 ramp

primary
#DC7DC6
secondary
#CCE9D2
accent
#C54720
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#160F14
muted
#847F83

Preview Lab

Preview with #DC7DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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