#DC7EB3#DC7EB3

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

Color values

HEX#DC7EB3
RGBrgb(220, 126, 179)
HSLhsl(326, 57%, 68%)
HSVhsv(326, 43%, 86%)
CMYKcmyk(0%, 42.7%, 18.6%, 13.7%)
CIE-LABlab(64.48, 43.13, -12.08)
CIE-LCHlch(64.48, 44.79, 344.35°)
OKLaboklab(71.09% 0.1282 -0.0318)
OKLCHoklch(71.09% 0.132 346.1)
XYZxyz(45.1135, 33.3951, 46.7089)
Luminance0.3339 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7EB3 #7EDCA7
analogous
#D67EDC #DC7EB3 #DC7E84
triadic
#DC7EB3 #B3DC7E #7EB3DC
tetradic
#DC7EB3 #DCD67E #7EDCA7 #7E84DC
square
#DC7EB3 #DCD67E #7EDCA7 #7E84DC
split-complementary
#DC7EB3 #84DC7E #7EDCD6
monochromatic
#B03078 #CF4E97 #DC7EB3 #E9AECF #F6DEEC

Accessibility & contrast

On white

2.73
#DC7EB3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#DC7EB3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7EB3
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7EB3#FFFFFF#000000##000000
##DC7EB31.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8593B5
Deuteranopia (green-blind)
#9EA2B1
Tritanopia (blue-blind)
#E77D91
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #dc7eb3;
/* rgb */ color: rgb(220, 126, 179);
/* oklch */ color: oklch(71.1% 0.132 346.1);
Tailwind
colors: {
  custom: {
    50: '#e9a5c9',
    500: '#dc7eb3',
    950: '#000000',
  },
}
SCSS
$custom: #dc7eb3;
$custom-light: #e9a5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7eb3",
  "rgb": {
    "r": 220,
    "g": 126,
    "b": 179
  },
  "hsl": {
    "h": 326.17,
    "s": 57.317,
    "l": 67.843
  },
  "oklch": {
    "l": 0.71089,
    "c": 0.13211,
    "h": 346.1
  },
  "luminance": 0.33392
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC7EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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