#DC7EA1#DC7EA1

#DC7EA1 is a light, vivid pink. Relative luminance 0.327; OKLCH L 70.5% C 0.123 H 357.0°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#DC7EA1
RGBrgb(220, 126, 161)
HSLhsl(338, 57%, 68%)
HSVhsv(338, 43%, 86%)
CMYKcmyk(0%, 42.7%, 26.8%, 13.7%)
CIE-LABlab(63.93, 40.53, -2.68)
CIE-LCHlch(63.93, 40.62, 356.22°)
OKLaboklab(70.49% 0.1224 -0.0065)
OKLCHoklch(70.49% 0.123 357)
XYZxyz(43.4104, 32.7139, 37.7394)
Luminance0.3271 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7EA1 #7EDCB9
analogous
#DC7ED0 #DC7EA1 #DC8A7E
triadic
#DC7EA1 #A1DC7E #7EA1DC
tetradic
#DC7EA1 #D0DC7E #7EDCB9 #8A7EDC
square
#DC7EA1 #D0DC7E #7EDCB9 #8A7EDC
split-complementary
#DC7EA1 #7EDC8A #7ED0DC
monochromatic
#B0305F #CF4E7E #DC7EA1 #E9AEC4 #F6DEE7

Accessibility & contrast

On white

2.78
#DC7EA1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#DC7EA1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7EA1
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7EA1#FFFFFF#000000##000000
##DC7EA11.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A91A2
Deuteranopia (green-blind)
#A2A19F
Tritanopia (blue-blind)
#EA798A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #dc7ea1;
/* rgb */ color: rgb(220, 126, 161);
/* oklch */ color: oklch(70.5% 0.123 357.0);
Tailwind
colors: {
  custom: {
    50: '#e9a5bc',
    500: '#dc7ea1',
    950: '#000000',
  },
}
SCSS
$custom: #dc7ea1;
$custom-light: #e9a5bc;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7ea1",
  "rgb": {
    "r": 220,
    "g": 126,
    "b": 161
  },
  "hsl": {
    "h": 337.66,
    "s": 57.317,
    "l": 67.843
  },
  "oklch": {
    "l": 0.7049,
    "c": 0.12254,
    "h": 357
  },
  "luminance": 0.32711
}

Semantic roles & 50–950 ramp

primary
#DC7EA1
secondary
#CCE9DF
accent
#C58821
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#160F12
muted
#847F81

Preview Lab

Preview with #DC7EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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