#DC7EA7#DC7EA7

#DC7EA7 is a light, vivid pink. Relative luminance 0.329; OKLCH L 70.7% C 0.125 H 353.2°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#DC7EA7
RGBrgb(220, 126, 167)
HSLhsl(334, 57%, 68%)
HSVhsv(334, 43%, 86%)
CMYKcmyk(0%, 42.7%, 24.1%, 13.7%)
CIE-LABlab(64.10, 41.37, -5.83)
CIE-LCHlch(64.10, 41.78, 351.98°)
OKLaboklab(70.68% 0.1244 -0.0149)
OKLCHoklch(70.68% 0.125 353.2)
XYZxyz(43.9522, 32.9306, 40.5930)
Luminance0.3293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7EA7 #7EDCB3
analogous
#DC7ED6 #DC7EA7 #DC847E
triadic
#DC7EA7 #A7DC7E #7EA7DC
tetradic
#DC7EA7 #D6DC7E #7EDCB3 #847EDC
square
#DC7EA7 #D6DC7E #7EDCB3 #847EDC
split-complementary
#DC7EA7 #7EDC84 #7ED6DC
monochromatic
#B03068 #CF4E86 #DC7EA7 #E9AEC8 #F6DEE9

Accessibility & contrast

On white

2.77
#DC7EA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#DC7EA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7EA7
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7EA7#FFFFFF#000000##000000
##DC7EA71.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8991A8
Deuteranopia (green-blind)
#A1A2A5
Tritanopia (blue-blind)
#E97A8D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #dc7ea7;
/* rgb */ color: rgb(220, 126, 167);
/* oklch */ color: oklch(70.7% 0.125 353.2);
Tailwind
colors: {
  custom: {
    50: '#e9a5c1',
    500: '#dc7ea7',
    950: '#000000',
  },
}
SCSS
$custom: #dc7ea7;
$custom-light: #e9a5c1;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7ea7",
  "rgb": {
    "r": 220,
    "g": 126,
    "b": 167
  },
  "hsl": {
    "h": 333.83,
    "s": 57.317,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70682,
    "c": 0.12529,
    "h": 353.2
  },
  "luminance": 0.32927
}

Semantic roles & 50–950 ramp

primary
#DC7EA7
secondary
#CCE9DD
accent
#C57D21
background
#FEFAFB
surface
#FDF4F7
border
#D5CED0
text
#160F12
muted
#847F81

Preview Lab

Preview with #DC7EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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