Skip to content

#c42ade

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

RGB
196, 42, 222
HSL
291°, 73%, 52%
CMYK
12, 81, 0, 13
Luminance
0.1867

At a glance

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

Hex
#c42ade
Hue
291°
magenta / pink
Saturation
73%
vivid
Lightness
52%
balanced
Brightness
87%
HSV value
Perceived
53%
weighted brightness
Luminance
0.1867
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
4.73:1
Closest name
Medium Orchid
ΔE2000 5.7
Where it sits
Hue291° of 360°
Saturation73%
Lightness52%
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#c42ade
RGBrgb(196, 42, 222)
HSLhsl(291, 73%, 52%)
CMYKcmyk(12%, 81%, 0%, 13%)
LABlab(50.3 78.6 -58.9)
LCHlch(50.3 98.2 323.1)
OKLCHoklch(0.607 0.264 321.2)
Decimal12856030
Display P3color(display-p3 0.769 0.165 0.871)

Copy-ready code

/* CSS */
color: #c42ade;
background-color: #c42ade;
/* Tailwind (arbitrary) */
class="text-[#c42ade] bg-[#c42ade]"
/* SCSS */
$brand: #c42ade;
/* SwiftUI */
Color(red: 0.769, green: 0.165, blue: 0.871)
/* Android */
Color.parseColor("#c42ade")
/* Flutter */
Color(0xFFC42ADE)
/* Python / OpenCV (BGR) */
(222, 42, 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 #c42ade · 4.73:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.44:1
AA fail · AA large pass · AAA fail
Aa
Black text · 4.73:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #c42ade as text scores 4.44:1 on white and 4.73:1 on black.

Accessibility — WCAG contrast

Aa
#c42ade on white: 4.44:1
AA ✗ fail · AA-large · AAA
Aa
#c42ade on black: 4.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #006DE3
deuteranopia · #437DDA
tritanopia · #C55387

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #c42ade 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.

#FAF3FC
#F6E7F8
#EDC8F3
#E49EF0
#D76DE8
#C93DE1
#c42ade
#9B1BB1
#7C168D
#5A1466
#390C40
Base = 600Lightest = 50 · #FAF3FCDarkest = 950 · #390C40
:root {
  --brand-50: #FAF3FC;
  --brand-100: #F6E7F8;
  --brand-200: #EDC8F3;
  --brand-300: #E49EF0;
  --brand-400: #D76DE8;
  --brand-500: #C93DE1;
  --brand-600: #c42ade;
  --brand-700: #9B1BB1;
  --brand-800: #7C168D;
  --brand-900: #5A1466;
  --brand-950: #390C40;
  --brand: #c42ade;
  --brand-ink: #000000;
}

Colors that work with #c42ade

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#8F4B9B
Captions on the surface
Accent#55B517
Second voice, not a rival
Dark variant#61116E
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 #c42ade

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#44DE2A
Analogous left#6A2ADE
Analogous right#DE2A9E
Split-complement 1#9EDE2A
Split-complement 2#2ADE6A
Triadic 1#DEC42A
Triadic 2#2ADEC4
Tetradic#DE6A2A

RGB percentages

Red76.9%
Green16.5%
Blue87.1%

CMYK percentages

Cyan11.7%
Magenta81.1%
Yellow0.0%
Key (black)12.9%

Color previews

#c42ade text on a black background

contrast 4.73:1

Card sample

#c42ade text on a white background

contrast 4.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c42ade

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.

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

#c42ade, answered

What color is #c42ade?

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

What is the RGB value of #c42ade?

rgb(196, 42, 222) — 196 red, 42 green and 222 blue out of 255, or 76.9% / 16.5% / 87.1% by channel.

Is #c42ade a light or a dark color?

It is a mid-tone. Relative luminance is 0.1867 and perceived brightness is 53%, so black text on it reaches 4.73:1.

Should I use black or white text on #c42ade?

Black. It scores 4.73:1 against #c42ade, versus 4.44:1 for white — AA at any size.

What is the complementary color of #c42ade?

#44DE2A sits directly opposite on the wheel. Softer options are the split-complements #9EDE2A and #2ADE6A, which give the same contrast with far less vibration.

What colors go well with #c42ade?

For interface work: #FAF4FA as the surface, #E6C0ED for borders, #8F4B9B for secondary text, #55B517 as an accent and #61116E for hover and pressed states. For a palette, the analogous pair #6A2ADE and #DE2A9E stays calm, while #44DE2A is the loudest partner.

What is #c42ade in CMYK for printing?

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

Is #c42ade 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 #DE2AB6; nudged cooler, #8228E1.

Work with #c42ade in the Color Lab