#DC7EAA#DC7EAA

#DC7EAA is a light, vivid pink. Relative luminance 0.330; OKLCH L 70.8% C 0.127 H 351.3°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#DC7EAA
RGBrgb(220, 126, 170)
HSLhsl(332, 57%, 68%)
HSVhsv(332, 43%, 86%)
CMYKcmyk(0%, 42.7%, 22.7%, 13.7%)
CIE-LABlab(64.20, 41.80, -7.40)
CIE-LCHlch(64.20, 42.45, 349.96°)
OKLaboklab(70.78% 0.1254 -0.0191)
OKLCHoklch(70.78% 0.127 351.3)
XYZxyz(44.2328, 33.0428, 42.0706)
Luminance0.3304 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7EAA #7EDCB0
analogous
#DC7ED9 #DC7EAA #DC817E
triadic
#DC7EAA #AADC7E #7EAADC
tetradic
#DC7EAA #D9DC7E #7EDCB0 #817EDC
square
#DC7EAA #D9DC7E #7EDCB0 #817EDC
split-complementary
#DC7EAA #7EDC81 #7ED9DC
monochromatic
#B0306C #CF4E8A #DC7EAA #E9AECA #F6DEE9

Accessibility & contrast

On white

2.76
#DC7EAA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#DC7EAA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7EAA
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7EAA#FFFFFF#000000##000000
##DC7EAA1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8892AC
Deuteranopia (green-blind)
#A0A2A8
Tritanopia (blue-blind)
#E87B8E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #dc7eaa;
/* rgb */ color: rgb(220, 126, 170);
/* oklch */ color: oklch(70.8% 0.127 351.3);
Tailwind
colors: {
  custom: {
    50: '#e9a5c3',
    500: '#dc7eaa',
    950: '#000000',
  },
}
SCSS
$custom: #dc7eaa;
$custom-light: #e9a5c3;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7eaa",
  "rgb": {
    "r": 220,
    "g": 126,
    "b": 170
  },
  "hsl": {
    "h": 331.915,
    "s": 57.317,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70781,
    "c": 0.12684,
    "h": 351.3
  },
  "luminance": 0.3304
}

Semantic roles & 50–950 ramp

primary
#DC7EAA
secondary
#CCE9DC
accent
#C57821
background
#FEFAFB
surface
#FDF4F7
border
#D5CED0
text
#160F12
muted
#847F81

Preview Lab

Preview with #DC7EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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