#DC7EC6#DC7EC6

#DC7EC6 is a light, vivid pink. Relative luminance 0.342; OKLCH L 71.8% C 0.146 H 336.3°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#DC7EC6
RGBrgb(220, 126, 198)
HSLhsl(314, 57%, 68%)
HSVhsv(314, 43%, 86%)
CMYKcmyk(0%, 42.7%, 10%, 13.7%)
CIE-LABlab(65.13, 46.14, -21.80)
CIE-LCHlch(65.13, 51.03, 334.71°)
OKLaboklab(71.8% 0.1336 -0.0586)
OKLCHoklch(71.8% 0.146 336.3)
XYZxyz(47.1691, 34.2174, 57.5353)
Luminance0.3422 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7EC6 #7EDC94
analogous
#C37EDC #DC7EC6 #DC7E97
triadic
#DC7EC6 #C6DC7E #7EC6DC
tetradic
#DC7EC6 #DCC37E #7EDC94 #7E97DC
square
#DC7EC6 #DCC37E #7EDC94 #7E97DC
split-complementary
#DC7EC6 #97DC7E #7EDCC3
monochromatic
#B03092 #CF4EB1 #DC7EC6 #E9AEDB #F6DEF1

Accessibility & contrast

On white

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

On black

7.84
#DC7EC6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7EC6
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7EC6#FFFFFF#000000##000000
##DC7EC61.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F95C9
Deuteranopia (green-blind)
#98A3C3
Tritanopia (blue-blind)
#E58299
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #dc7ec6;
/* rgb */ color: rgb(220, 126, 198);
/* oklch */ color: oklch(71.8% 0.146 336.3);
Tailwind
colors: {
  custom: {
    50: '#e8a5d7',
    500: '#dc7ec6',
    950: '#000000',
  },
}
SCSS
$custom: #dc7ec6;
$custom-light: #e8a5d7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7ec6",
  "rgb": {
    "r": 220,
    "g": 126,
    "b": 198
  },
  "hsl": {
    "h": 314.043,
    "s": 57.317,
    "l": 67.843
  },
  "oklch": {
    "l": 0.71798,
    "c": 0.14587,
    "h": 336.3
  },
  "luminance": 0.34215
}

Semantic roles & 50–950 ramp

primary
#DC7EC6
secondary
#CCE9D3
accent
#C54721
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#160F14
muted
#847F83

Preview Lab

Preview with #DC7EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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