Skip to content

#c72ac7

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

RGB
199, 42, 199
HSL
300°, 65%, 47%
CMYK
0, 79, 0, 22
Luminance
0.1792

At a glance

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

Hex
#c72ac7
Hue
300°
magenta / pink
Saturation
65%
vivid
Lightness
47%
balanced
Brightness
78%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1792
WCAG relative
Temperature
Neutral
50/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
4.58:1
Closest name
Medium Orchid
ΔE2000 6.4
Where it sits
Hue300° of 360°
Saturation65%
Lightness47%
Temperature
Warm ← → Cool50% 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#c72ac7
RGBrgb(199, 42, 199)
HSLhsl(300, 65%, 47%)
CMYKcmyk(0%, 79%, 0%, 22%)
LABlab(49.4 75.4 -47.1)
LCHlch(49.4 88.9 328.0)
OKLCHoklch(0.597 0.248 328.1)
Decimal13052615
Display P3color(display-p3 0.780 0.165 0.780)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c72ac7 on white: 4.58:1
AA ✓ pass · AA-large · AAA
Aa
#c72ac7 on black: 4.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0069CB
deuteranopia · #597CC3
tritanopia · #CD4679

Color scale — 50 to 950

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

#FBF3FB
#F7E8F7
#F1CBF1
#EBA2EB
#E274E2
#D846D8
#c72ac7
#A824A8
#871C87
#621962
#3D0F3D
Base = 600Lightest = 50 · #FBF3FBDarkest = 950 · #3D0F3D
:root {
  --brand-50: #FBF3FB;
  --brand-100: #F7E8F7;
  --brand-200: #F1CBF1;
  --brand-300: #EBA2EB;
  --brand-400: #E274E2;
  --brand-500: #D846D8;
  --brand-600: #c72ac7;
  --brand-700: #A824A8;
  --brand-800: #871C87;
  --brand-900: #621962;
  --brand-950: #3D0F3D;
  --brand: #c72ac7;
  --brand-ink: #ffffff;
}

Colors that work with #c72ac7

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

Text on it#ffffff
White wins here
Surface#FAF4FA
Tinted page background
Border#EDC0ED
Hairlines and dividers
Muted text#9B4B9B
Captions on the surface
Accent#43AD1F
Second voice, not a rival
Dark variant#691669
Hover, pressed, headers
Light variant#FBEAFB
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 #c72ac7

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#2AC72A
Analogous left#792AC7
Analogous right#C72A79
Split-complement 1#79C72A
Split-complement 2#2AC779
Triadic 1#C7C72A
Triadic 2#2AC7C7
Tetradic#C7792A

RGB percentages

Red78.0%
Green16.5%
Blue78.0%

CMYK percentages

Cyan0.0%
Magenta78.9%
Yellow0.0%
Key (black)22.0%

Color previews

#c72ac7 text on a black background

contrast 4.58:1

Card sample

#c72ac7 text on a white background

contrast 4.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c72ac7

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.

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

#c72ac7, answered

What color is #c72ac7?

#c72ac7 is a balanced vivid magenta / pink, closest to Medium Orchid (ΔE2000 6.4). It sits at 300° on the hue wheel with 65% saturation and 47% lightness, which reads as neutral.

What is the RGB value of #c72ac7?

rgb(199, 42, 199) — 199 red, 42 green and 199 blue out of 255, or 78% / 16.5% / 78% by channel.

Is #c72ac7 a light or a dark color?

It is a dark color. Relative luminance is 0.1792 and perceived brightness is 52%, so white text on it reaches 4.58:1.

Should I use black or white text on #c72ac7?

White. It scores 4.58:1 against #c72ac7, versus 4.58:1 for black — AA at any size.

What is the complementary color of #c72ac7?

#2AC72A sits directly opposite on the wheel. Softer options are the split-complements #79C72A and #2AC779, which give the same contrast with far less vibration.

What colors go well with #c72ac7?

For interface work: #FAF4FA as the surface, #EDC0ED for borders, #9B4B9B for secondary text, #43AD1F as an accent and #691669 for hover and pressed states. For a palette, the analogous pair #792AC7 and #C72A79 stays calm, while #2AC72A is the loudest partner.

What is #c72ac7 in CMYK for printing?

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

Is #c72ac7 warm or cool?

Neutral — it scores 50 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C72A8E; nudged cooler, #8E28CA.

Work with #c72ac7 in the Color Lab