Skip to content

#dc2ec4

a balanced, vivid magenta / pink · neutral · closest name: Medium Orchid

RGB
220, 46, 196
HSL
308°, 71%, 52%
CMYK
0, 79, 11, 14
Luminance
0.2116

At a glance

Every number on this page in one read: what #dc2ec4 is made of, how bright it looks, and which way it leans.

Hex
#dc2ec4
Hue
308°
magenta / pink
Saturation
71%
vivid
Lightness
52%
balanced
Brightness
86%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2116
WCAG relative
Temperature
Neutral
45/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
5.23:1
Closest name
Medium Orchid
ΔE2000 7.3
Where it sits
Hue308° of 360°
Saturation71%
Lightness52%
Temperature
Warm ← → Cool45% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#dc2ec4
RGBrgb(220, 46, 196)
HSLhsl(308, 71%, 52%)
CMYKcmyk(0%, 79%, 11%, 14%)
LABlab(53.1 78.2 -39.3)
LCHlch(53.1 87.5 333.3)
OKLCHoklch(0.629 0.252 334.7)
Decimal14429892
Display P3color(display-p3 0.863 0.180 0.769)

Copy-ready code

/* CSS */
color: #dc2ec4;
background-color: #dc2ec4;
/* Tailwind (arbitrary) */
class="text-[#dc2ec4] bg-[#dc2ec4]"
/* SCSS */
$brand: #dc2ec4;
/* SwiftUI */
Color(red: 0.863, green: 0.180, blue: 0.769)
/* Android */
Color.parseColor("#dc2ec4")
/* Flutter */
Color(0xFFDC2EC4)
/* Python / OpenCV (BGR) */
(196, 46, 220)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #dc2ec4 · 5.23:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.01:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.23:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #dc2ec4 as text scores 4.01:1 on white and 5.23:1 on black.

Accessibility — WCAG contrast

Aa
#dc2ec4 on white: 4.01:1
AA ✗ fail · AA-large · AAA
Aa
#dc2ec4 on black: 5.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #2B6FC8
deuteranopia · #7088C0
tritanopia · #E74079

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #dc2ec4 is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FCF3FA
#F8E7F6
#F3C9ED
#EF9FE4
#E76FD6
#dc2ec4
#D223BA
#AF1D9B
#8C177C
#65155A
#3F0D38
Base = 500Lightest = 50 · #FCF3FADarkest = 950 · #3F0D38
:root {
  --brand-50: #FCF3FA;
  --brand-100: #F8E7F6;
  --brand-200: #F3C9ED;
  --brand-300: #EF9FE4;
  --brand-400: #E76FD6;
  --brand-500: #dc2ec4;
  --brand-600: #D223BA;
  --brand-700: #AF1D9B;
  --brand-800: #8C177C;
  --brand-900: #65155A;
  --brand-950: #3F0D38;
  --brand: #dc2ec4;
  --brand-ink: #000000;
}

Colors that work with #dc2ec4

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAF4FA
Tinted page background
Border#EDC0E6
Hairlines and dividers
Muted text#9B4B90
Captions on the surface
Accent#2BB319
Second voice, not a rival
Dark variant#6D1261
Hover, pressed, headers
Light variant#FBE9F9
Selected rows, tints
Dark surface#241422
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #dc2ec4

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#2EDC46
Analogous left#9D2EDC
Analogous right#DC2E6D
Split-complement 1#6DDC2E
Split-complement 2#2EDC9D
Triadic 1#C4DC2E
Triadic 2#2EC4DC
Tetradic#DC9D2E

RGB percentages

Red86.3%
Green18.0%
Blue76.9%

CMYK percentages

Cyan0.0%
Magenta79.1%
Yellow10.9%
Key (black)13.7%

Color previews

#dc2ec4 text on a black background

contrast 5.23:1

Card sample

#dc2ec4 text on a white background

contrast 4.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #dc2ec4;
Background color
Panel with #dc2ec4 background
background-color: #dc2ec4;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #dc2ec4;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(220, 46, 196, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 46, 196, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dc2ec4;
background: linear-gradient(135deg, #dc2ec4, #DC2E50);

Monochromatic scale

Palettes built from #dc2ec4

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#dc2ec4 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#dc2ec4, answered

What color is #dc2ec4?

#dc2ec4 is a balanced vivid magenta / pink, closest to Medium Orchid (ΔE2000 7.3). It sits at 308° on the hue wheel with 71% saturation and 52% lightness, which reads as neutral.

What is the RGB value of #dc2ec4?

rgb(220, 46, 196) — 220 red, 46 green and 196 blue out of 255, or 86.3% / 18% / 76.9% by channel.

Is #dc2ec4 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2116 and perceived brightness is 56%, so black text on it reaches 5.23:1.

Should I use black or white text on #dc2ec4?

Black. It scores 5.23:1 against #dc2ec4, versus 4.01:1 for white — AA at any size.

What is the complementary color of #dc2ec4?

#2EDC46 sits directly opposite on the wheel. Softer options are the split-complements #6DDC2E and #2EDC9D, which give the same contrast with far less vibration.

What colors go well with #dc2ec4?

For interface work: #FAF4FA as the surface, #EDC0E6 for borders, #9B4B90 for secondary text, #2BB319 as an accent and #6D1261 for hover and pressed states. For a palette, the analogous pair #9D2EDC and #DC2E6D stays calm, while #2EDC46 is the loudest partner.

What is #dc2ec4 in CMYK for printing?

cmyk(0%, 79%, 11%, 14%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #dc2ec4 warm or cool?

Neutral — it scores 45 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DC2E84; nudged cooler, #B62CDE.

Work with #dc2ec4 in the Color Lab