Skip to content

#c71cbf

a dark, electric magenta / pink · neutral · closest name: Medium Orchid

RGB
199, 28, 191
HSL
303°, 75%, 45%
CMYK
0, 86, 4, 22
Luminance
0.1673

At a glance

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

Hex
#c71cbf
Hue
303°
magenta / pink
Saturation
75%
electric
Lightness
45%
dark
Brightness
78%
HSV value
Perceived
50%
weighted brightness
Luminance
0.1673
WCAG relative
Temperature
Neutral
48/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
4.83:1
Closest name
Medium Orchid
ΔE2000 8.1
Where it sits
Hue303° of 360°
Saturation75%
Lightness45%
Temperature
Warm ← → Cool48% 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#c71cbf
RGBrgb(199, 28, 191)
HSLhsl(303, 75%, 45%)
CMYKcmyk(0%, 86%, 4%, 22%)
LABlab(47.9 77.2 -44.9)
LCHlch(47.9 89.3 329.8)
OKLCHoklch(0.585 0.252 330.5)
Decimal13049023
Display P3color(display-p3 0.780 0.110 0.749)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c71cbf on white: 4.83:1
AA ✓ pass · AA-large · AAA
Aa
#c71cbf on black: 4.35:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0064C3
deuteranopia · #5979BB
tritanopia · #CF3A72

Color scale — 50 to 950

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

#FCF3FB
#F9E7F8
#F4C8F2
#F19DED
#EA6BE4
#E33ADB
#c71cbf
#B319AC
#8F1489
#681364
#410C3E
Base = 600Lightest = 50 · #FCF3FBDarkest = 950 · #410C3E
:root {
  --brand-50: #FCF3FB;
  --brand-100: #F9E7F8;
  --brand-200: #F4C8F2;
  --brand-300: #F19DED;
  --brand-400: #EA6BE4;
  --brand-500: #E33ADB;
  --brand-600: #c71cbf;
  --brand-700: #B319AC;
  --brand-800: #8F1489;
  --brand-900: #681364;
  --brand-950: #410C3E;
  --brand: #c71cbf;
  --brand-ink: #ffffff;
}

Colors that work with #c71cbf

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#EDC0EB
Hairlines and dividers
Muted text#9B4B97
Captions on the surface
Accent#36B715
Second voice, not a rival
Dark variant#70106B
Hover, pressed, headers
Light variant#FCE9FB
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 #c71cbf

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

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#1CC724
Analogous left#791CC7
Analogous right#C71C69
Split-complement 1#69C71C
Split-complement 2#1CC779
Triadic 1#BFC71C
Triadic 2#1CBFC7
Tetradic#C7791C

RGB percentages

Red78.0%
Green11.0%
Blue74.9%

CMYK percentages

Cyan0.0%
Magenta85.9%
Yellow4.0%
Key (black)22.0%

Color previews

#c71cbf text on a black background

contrast 4.35:1

Card sample

#c71cbf text on a white background

contrast 4.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c71cbf

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.

#c71cbf 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#c71cbf, answered

What color is #c71cbf?

#c71cbf is a dark electric magenta / pink, closest to Medium Orchid (ΔE2000 8.1). It sits at 303° on the hue wheel with 75% saturation and 45% lightness, which reads as neutral.

What is the RGB value of #c71cbf?

rgb(199, 28, 191) — 199 red, 28 green and 191 blue out of 255, or 78% / 11% / 74.9% by channel.

Is #c71cbf a light or a dark color?

It is a dark color. Relative luminance is 0.1673 and perceived brightness is 50%, so white text on it reaches 4.83:1.

Should I use black or white text on #c71cbf?

White. It scores 4.83:1 against #c71cbf, versus 4.35:1 for black — AA at any size.

What is the complementary color of #c71cbf?

#1CC724 sits directly opposite on the wheel. Softer options are the split-complements #69C71C and #1CC779, which give the same contrast with far less vibration.

What colors go well with #c71cbf?

For interface work: #FAF4FA as the surface, #EDC0EB for borders, #9B4B97 for secondary text, #36B715 as an accent and #70106B for hover and pressed states. For a palette, the analogous pair #791CC7 and #C71C69 stays calm, while #1CC724 is the loudest partner.

What is #c71cbf in CMYK for printing?

cmyk(0%, 86%, 4%, 22%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #c71cbf warm or cool?

Neutral — it scores 48 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C71C80; nudged cooler, #911AC9.

Work with #c71cbf in the Color Lab