Skip to content

#c71283

a dark, electric magenta / pink · warm · “Medium Violet Red”

RGB
199, 18, 131
HSL
323°, 83%, 43%
CMYK
0, 91, 34, 22
Luminance
0.1421

At a glance

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

Hex
#c71283
Hue
323°
magenta / pink
Saturation
83%
electric
Lightness
43%
dark
Brightness
78%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1421
WCAG relative
Temperature
Warm
38/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
5.46:1
Closest name
Medium Violet Red
ΔE2000 0.4
Where it sits
Hue323° of 360°
Saturation83%
Lightness43%
Temperature
Warm ← → Cool38% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#c71283
RGBrgb(199, 18, 131)
HSLhsl(323, 83%, 43%)
CMYKcmyk(0%, 91%, 34%, 22%)
LABlab(44.5 71.2 -14.3)
LCHlch(44.5 72.6 348.7)
OKLCHoklch(0.551 0.222 350.3)
Decimal13046403
Display P3color(display-p3 0.780 0.071 0.514)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c71283 on white: 5.46:1
AA ✓ pass · AA-large · AAA
Aa
#c71283 on black: 3.84:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #3D5685
deuteranopia · #70747F
tritanopia · #D7004E

Color scale — 50 to 950

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

#FCF2F9
#FAE6F2
#F6C6E4
#F698D3
#F165BC
#EC31A6
#E01494
#c71283
#960E63
#6C0E49
#44092E
Base = 700Lightest = 50 · #FCF2F9Darkest = 950 · #44092E
:root {
  --brand-50: #FCF2F9;
  --brand-100: #FAE6F2;
  --brand-200: #F6C6E4;
  --brand-300: #F698D3;
  --brand-400: #F165BC;
  --brand-500: #EC31A6;
  --brand-600: #E01494;
  --brand-700: #c71283;
  --brand-800: #960E63;
  --brand-900: #6C0E49;
  --brand-950: #44092E;
  --brand: #c71283;
  --brand-ink: #ffffff;
}

Colors that work with #c71283

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#FAF4F8
Tinted page background
Border#EDC0DC
Hairlines and dividers
Muted text#9B4B7D
Captions on the surface
Accent#0DBF23
Second voice, not a rival
Dark variant#750B4D
Hover, pressed, headers
Light variant#FDE8F5
Selected rows, tints
Dark surface#24141E
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 #c71283

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#12C756
Analogous left#B012C7
Analogous right#C71229
Split-complement 1#29C712
Split-complement 2#12C7B0
Triadic 1#83C712
Triadic 2#1283C7
Tetradic#C7B012

RGB percentages

Red78.0%
Green7.1%
Blue51.4%

CMYK percentages

Cyan0.0%
Magenta91.0%
Yellow34.2%
Key (black)22.0%

Color previews

#c71283 text on a black background

contrast 3.84:1

Card sample

#c71283 text on a white background

contrast 5.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c71283

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.

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

#c71283, answered

What color is #c71283?

#c71283 is a dark electric magenta / pink — the CSS keyword Medium Violet Red. It sits at 323° on the hue wheel with 83% saturation and 43% lightness, which reads as warm.

What is the RGB value of #c71283?

rgb(199, 18, 131) — 199 red, 18 green and 131 blue out of 255, or 78% / 7.1% / 51.4% by channel.

Is #c71283 a light or a dark color?

It is a dark color. Relative luminance is 0.1421 and perceived brightness is 46%, so white text on it reaches 5.46:1.

Should I use black or white text on #c71283?

White. It scores 5.46:1 against #c71283, versus 3.84:1 for black — AA at any size.

What is the complementary color of #c71283?

#12C756 sits directly opposite on the wheel. Softer options are the split-complements #29C712 and #12C7B0, which give the same contrast with far less vibration.

What colors go well with #c71283?

For interface work: #FAF4F8 as the surface, #EDC0DC for borders, #9B4B7D for secondary text, #0DBF23 as an accent and #750B4D for hover and pressed states. For a palette, the analogous pair #B012C7 and #C71229 stays calm, while #12C756 is the loudest partner.

What is #c71283 in CMYK for printing?

cmyk(0%, 91%, 34%, 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 #c71283 warm or cool?

Warm — it scores 38 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C71241; nudged cooler, #C910C7.

Work with #c71283 in the Color Lab