#DC4EC2#DC4EC2

#DC4EC2 is a light, highly saturated pink. Relative luminance 0.246; OKLCH L 65.5% C 0.217 H 335.8°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#DC4EC2
RGBrgb(220, 78, 194)
HSLhsl(311, 67%, 58%)
HSVhsv(311, 65%, 86%)
CMYKcmyk(0%, 64.5%, 11.8%, 13.7%)
CIE-LABlab(56.65, 67.64, -32.62)
CIE-LCHlch(56.65, 75.09, 334.25°)
OKLaboklab(65.46% 0.1975 -0.0887)
OKLCHoklch(65.46% 0.217 335.8)
XYZxyz(41.9777, 24.5630, 53.5587)
Luminance0.2456 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC4EC2 #4EDC68
analogous
#AF4EDC #DC4EC2 #DC4E7B
triadic
#DC4EC2 #C2DC4E #4EC2DC
tetradic
#DC4EC2 #DCAF4E #4EDC68 #4E7BDC
square
#DC4EC2 #DCAF4E #4EDC68 #4E7BDC
split-complementary
#DC4EC2 #7BDC4E #4EDCAF
monochromatic
#931D7D #C627A9 #DC4EC2 #E681D4 #F0B4E5

Accessibility & contrast

On white

3.55
#DC4EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#DC4EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC4EC2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC4EC2#FFFFFF#000000##000000
##DC4EC21.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7AC5
Deuteranopia (green-blind)
#7D90BE
Tritanopia (blue-blind)
#E75781
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #dc4ec2;
/* rgb */ color: rgb(220, 78, 194);
/* oklch */ color: oklch(65.5% 0.217 335.8);
Tailwind
colors: {
  custom: {
    50: '#ea89d4',
    500: '#dc4ec2',
    950: '#000000',
  },
}
SCSS
$custom: #dc4ec2;
$custom-light: #ea89d4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc4ec2",
  "rgb": {
    "r": 220,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 310.986,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65463,
    "c": 0.21656,
    "h": 335.8
  },
  "luminance": 0.24559
}

Semantic roles & 50–950 ramp

primary
#DC4EC2
secondary
#A7DFB1
accent
#EA5D3E
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DC4EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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