Skip to content

#c72ec2

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

RGB
199, 46, 194
HSL
302°, 62%, 48%
CMYK
0, 77, 3, 22
Luminance
0.1799

At a glance

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

Hex
#c72ec2
Hue
302°
magenta / pink
Saturation
62%
vivid
Lightness
48%
balanced
Brightness
78%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1799
WCAG relative
Temperature
Neutral
49/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
4.60:1
Closest name
Medium Orchid
ΔE2000 6.5
Where it sits
Hue302° of 360°
Saturation62%
Lightness48%
Temperature
Warm ← → Cool49% 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#c72ec2
RGBrgb(199, 46, 194)
HSLhsl(302, 62%, 48%)
CMYKcmyk(0%, 77%, 3%, 22%)
LABlab(49.5 73.6 -44.1)
LCHlch(49.5 85.8 329.1)
OKLCHoklch(0.597 0.241 329.6)
Decimal13053634
Display P3color(display-p3 0.780 0.180 0.761)

Copy-ready code

/* CSS */
color: #c72ec2;
background-color: #c72ec2;
/* Tailwind (arbitrary) */
class="text-[#c72ec2] bg-[#c72ec2]"
/* SCSS */
$brand: #c72ec2;
/* SwiftUI */
Color(red: 0.780, green: 0.180, blue: 0.761)
/* Android */
Color.parseColor("#c72ec2")
/* Flutter */
Color(0xFFC72EC2)
/* Python / OpenCV (BGR) */
(194, 46, 199)

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

Accessibility — WCAG contrast

Aa
#c72ec2 on white: 4.57:1
AA ✓ pass · AA-large · AAA
Aa
#c72ec2 on black: 4.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #1069C6
deuteranopia · #5D7DBE
tritanopia · #CE4577

Color scale — 50 to 950

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

#FBF4FB
#F7E8F7
#F0CCEF
#EAA4E8
#DF76DC
#D549D0
#c72ec2
#A626A1
#851F81
#601A5E
#3C103B
Base = 600Lightest = 50 · #FBF4FBDarkest = 950 · #3C103B
:root {
  --brand-50: #FBF4FB;
  --brand-100: #F7E8F7;
  --brand-200: #F0CCEF;
  --brand-300: #EAA4E8;
  --brand-400: #DF76DC;
  --brand-500: #D549D0;
  --brand-600: #c72ec2;
  --brand-700: #A626A1;
  --brand-800: #851F81;
  --brand-900: #601A5E;
  --brand-950: #3C103B;
  --brand: #c72ec2;
  --brand-ink: #000000;
}

Colors that work with #c72ec2

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#EDC0EB
Hairlines and dividers
Muted text#9B4B98
Captions on the surface
Accent#3FAA22
Second voice, not a rival
Dark variant#681865
Hover, pressed, headers
Light variant#FAEAFA
Selected rows, tints
Dark surface#241424
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 #c72ec2

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#2EC733
Analogous left#7F2EC7
Analogous right#C72E75
Split-complement 1#75C72E
Split-complement 2#2EC77F
Triadic 1#C2C72E
Triadic 2#2EC2C7
Tetradic#C77F2E

RGB percentages

Red78.0%
Green18.0%
Blue76.1%

CMYK percentages

Cyan0.0%
Magenta76.9%
Yellow2.5%
Key (black)22.0%

Color previews

#c72ec2 text on a black background

contrast 4.60:1

Card sample

#c72ec2 text on a white background

contrast 4.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c72ec2

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.

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

#c72ec2, answered

What color is #c72ec2?

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

What is the RGB value of #c72ec2?

rgb(199, 46, 194) — 199 red, 46 green and 194 blue out of 255, or 78% / 18% / 76.1% by channel.

Is #c72ec2 a light or a dark color?

It is a dark color. Relative luminance is 0.1799 and perceived brightness is 52%, so black text on it reaches 4.60:1.

Should I use black or white text on #c72ec2?

Black. It scores 4.60:1 against #c72ec2, versus 4.57:1 for white — AA at any size.

What is the complementary color of #c72ec2?

#2EC733 sits directly opposite on the wheel. Softer options are the split-complements #75C72E and #2EC77F, which give the same contrast with far less vibration.

What colors go well with #c72ec2?

For interface work: #FAF4FA as the surface, #EDC0EB for borders, #9B4B98 for secondary text, #3FAA22 as an accent and #681865 for hover and pressed states. For a palette, the analogous pair #7F2EC7 and #C72E75 stays calm, while #2EC733 is the loudest partner.

What is #c72ec2 in CMYK for printing?

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

Is #c72ec2 warm or cool?

Neutral — it scores 49 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C72E8A; nudged cooler, #952CC9.

Work with #c72ec2 in the Color Lab