Skip to content

#c421df

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

RGB
196, 33, 223
HSL
292°, 75%, 50%
CMYK
12, 85, 0, 13
Luminance
0.1815

At a glance

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

Hex
#c421df
Hue
292°
magenta / pink
Saturation
75%
vivid
Lightness
50%
balanced
Brightness
87%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1815
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
4.63:1
Closest name
Medium Orchid
ΔE2000 6.5
Where it sits
Hue292° of 360°
Saturation75%
Lightness50%
Temperature
Warm ← → Cool55% 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#c421df
RGBrgb(196, 33, 223)
HSLhsl(292, 75%, 50%)
CMYKcmyk(12%, 85%, 0%, 13%)
LABlab(49.7 80.7 -60.5)
LCHlch(49.7 100.9 323.2)
OKLCHoklch(0.603 0.270 321.1)
Decimal12853727
Display P3color(display-p3 0.769 0.129 0.875)

Copy-ready code

/* CSS */
color: #c421df;
background-color: #c421df;
/* Tailwind (arbitrary) */
class="text-[#c421df] bg-[#c421df]"
/* SCSS */
$brand: #c421df;
/* SwiftUI */
Color(red: 0.769, green: 0.129, blue: 0.875)
/* Android */
Color.parseColor("#c421df")
/* Flutter */
Color(0xFFC421DF)
/* Python / OpenCV (BGR) */
(223, 33, 196)

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 #c421df · 4.63:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.54:1
AA pass · AA large pass · AAA fail
Aa
Black text · 4.63:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #c421df as text scores 4.54:1 on white and 4.63:1 on black.

Accessibility — WCAG contrast

Aa
#c421df on white: 4.54:1
AA ✓ pass · AA-large · AAA
Aa
#c421df on black: 4.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #006BE4
deuteranopia · #3E7CDB
tritanopia · #C55086

Color scale — 50 to 950

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

#FBF3FC
#F6E7F9
#EDC8F4
#E59DF1
#D86CEA
#CB3BE3
#c421df
#9D1AB2
#7D158F
#5B1367
#390C41
Base = 600Lightest = 50 · #FBF3FCDarkest = 950 · #390C41
:root {
  --brand-50: #FBF3FC;
  --brand-100: #F6E7F9;
  --brand-200: #EDC8F4;
  --brand-300: #E59DF1;
  --brand-400: #D86CEA;
  --brand-500: #CB3BE3;
  --brand-600: #c421df;
  --brand-700: #9D1AB2;
  --brand-800: #7D158F;
  --brand-900: #5B1367;
  --brand-950: #390C41;
  --brand: #c421df;
  --brand-ink: #000000;
}

Colors that work with #c421df

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#E6C0ED
Hairlines and dividers
Muted text#904B9B
Captions on the surface
Accent#54B616
Second voice, not a rival
Dark variant#62106F
Hover, pressed, headers
Light variant#F9E9FC
Selected rows, tints
Dark surface#221424
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 #c421df

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

Works well for
  • Body text and links 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
  • 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#3CDF21
Analogous left#6521DF
Analogous right#DF219B
Split-complement 1#9BDF21
Split-complement 2#21DF65
Triadic 1#DFC421
Triadic 2#21DFC4
Tetradic#DF6521

RGB percentages

Red76.9%
Green12.9%
Blue87.5%

CMYK percentages

Cyan12.1%
Magenta85.2%
Yellow0.0%
Key (black)12.5%

Color previews

#c421df text on a black background

contrast 4.63:1

Card sample

#c421df text on a white background

contrast 4.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c421df

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.

#c421df 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.

#c421df, answered

What color is #c421df?

#c421df is a balanced vivid magenta / pink, closest to Medium Orchid (ΔE2000 6.5). It sits at 292° on the hue wheel with 75% saturation and 50% lightness, which reads as neutral.

What is the RGB value of #c421df?

rgb(196, 33, 223) — 196 red, 33 green and 223 blue out of 255, or 76.9% / 12.9% / 87.5% by channel.

Is #c421df a light or a dark color?

It is a mid-tone. Relative luminance is 0.1815 and perceived brightness is 52%, so black text on it reaches 4.63:1.

Should I use black or white text on #c421df?

Black. It scores 4.63:1 against #c421df, versus 4.54:1 for white — AA at any size.

What is the complementary color of #c421df?

#3CDF21 sits directly opposite on the wheel. Softer options are the split-complements #9BDF21 and #21DF65, which give the same contrast with far less vibration.

What colors go well with #c421df?

For interface work: #FAF4FA as the surface, #E6C0ED for borders, #904B9B for secondary text, #54B616 as an accent and #62106F for hover and pressed states. For a palette, the analogous pair #6521DF and #DF219B stays calm, while #3CDF21 is the loudest partner.

What is #c421df in CMYK for printing?

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

Is #c421df warm or cool?

Neutral — it scores 55 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DF21B4; nudged cooler, #7E1EE2.

Work with #c421df in the Color Lab