#DC7EB2#DC7EB2

#DC7EB2 is a light, vivid pink. Relative luminance 0.334; OKLCH L 71.1% C 0.131 H 346.6°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#DC7EB2
RGBrgb(220, 126, 178)
HSLhsl(327, 57%, 68%)
HSVhsv(327, 43%, 86%)
CMYKcmyk(0%, 42.7%, 19.1%, 13.7%)
CIE-LABlab(64.45, 42.98, -11.56)
CIE-LCHlch(64.45, 44.51, 344.94°)
OKLaboklab(71.05% 0.1279 -0.0304)
OKLCHoklch(71.05% 0.131 346.6)
XYZxyz(45.0127, 33.3548, 46.1782)
Luminance0.3335 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7EB2 #7EDCA8
analogous
#D77EDC #DC7EB2 #DC7E83
triadic
#DC7EB2 #B2DC7E #7EB2DC
tetradic
#DC7EB2 #DCD77E #7EDCA8 #7E83DC
square
#DC7EB2 #DCD77E #7EDCA8 #7E83DC
split-complementary
#DC7EB2 #83DC7E #7EDCD7
monochromatic
#B03077 #CF4E95 #DC7EB2 #E9AECF #F6DEEB

Accessibility & contrast

On white

2.74
#DC7EB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#DC7EB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7EB2
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7EB2#FFFFFF#000000##000000
##DC7EB21.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8693B4
Deuteranopia (green-blind)
#9EA2B0
Tritanopia (blue-blind)
#E77D91
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #dc7eb2;
/* rgb */ color: rgb(220, 126, 178);
/* oklch */ color: oklch(71.1% 0.131 346.6);
Tailwind
colors: {
  custom: {
    50: '#e9a5c9',
    500: '#dc7eb2',
    950: '#000000',
  },
}
SCSS
$custom: #dc7eb2;
$custom-light: #e9a5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7eb2",
  "rgb": {
    "r": 220,
    "g": 126,
    "b": 178
  },
  "hsl": {
    "h": 326.809,
    "s": 57.317,
    "l": 67.843
  },
  "oklch": {
    "l": 0.71054,
    "c": 0.13147,
    "h": 346.6
  },
  "luminance": 0.33352
}

Semantic roles & 50–950 ramp

primary
#DC7EB2
secondary
#CCE9D9
accent
#C56A21
background
#FEFAFC
surface
#FDF4F8
border
#D5CED1
text
#160F13
muted
#847F82

Preview Lab

Preview with #DC7EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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