Skip to content

#c01584

a dark, electric magenta / pink · warm · closest name: Medium Violet Red

RGB
192, 21, 132
HSL
321°, 80%, 42%
CMYK
0, 89, 31, 25
Luminance
0.1341

At a glance

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

Hex
#c01584
Hue
321°
magenta / pink
Saturation
80%
electric
Lightness
42%
dark
Brightness
75%
HSV value
Perceived
45%
weighted brightness
Luminance
0.1341
WCAG relative
Temperature
Warm
38/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
5.70:1
Closest name
Medium Violet Red
ΔE2000 1.5
Where it sits
Hue321° of 360°
Saturation80%
Lightness42%
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#c01584
RGBrgb(192, 21, 132)
HSLhsl(321, 80%, 42%)
CMYKcmyk(0%, 89%, 31%, 25%)
LABlab(43.4 69.3 -16.8)
LCHlch(43.4 71.4 346.4)
OKLCHoklch(0.541 0.217 348.2)
Decimal12588420
Display P3color(display-p3 0.753 0.082 0.518)

Copy-ready code

/* CSS */
color: #c01584;
background-color: #c01584;
/* Tailwind (arbitrary) */
class="text-[#c01584] bg-[#c01584]"
/* SCSS */
$brand: #c01584;
/* SwiftUI */
Color(red: 0.753, green: 0.082, blue: 0.518)
/* Android */
Color.parseColor("#c01584")
/* Flutter */
Color(0xFFC01584)
/* Python / OpenCV (BGR) */
(132, 21, 192)

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

Accessibility — WCAG contrast

Aa
#c01584 on white: 5.70:1
AA ✓ pass · AA-large · AAA
Aa
#c01584 on black: 3.68:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #395486
deuteranopia · #6B7180
tritanopia · #CE004F

Color scale — 50 to 950

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

#FCF3F9
#F9E6F3
#F5C6E5
#F49AD4
#EE67BF
#E935AA
#DD1898
#c01584
#931065
#6A104B
#430A2F
Base = 700Lightest = 50 · #FCF3F9Darkest = 950 · #430A2F
:root {
  --brand-50: #FCF3F9;
  --brand-100: #F9E6F3;
  --brand-200: #F5C6E5;
  --brand-300: #F49AD4;
  --brand-400: #EE67BF;
  --brand-500: #E935AA;
  --brand-600: #DD1898;
  --brand-700: #c01584;
  --brand-800: #931065;
  --brand-900: #6A104B;
  --brand-950: #430A2F;
  --brand: #c01584;
  --brand-ink: #ffffff;
}

Colors that work with #c01584

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#EDC0DD
Hairlines and dividers
Muted text#9B4B7F
Captions on the surface
Accent#10BC21
Second voice, not a rival
Dark variant#730D4F
Hover, pressed, headers
Light variant#FCE8F5
Selected rows, tints
Dark surface#24141F
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 #c01584

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#15C051
Analogous left#A715C0
Analogous right#C0152E
Split-complement 1#2EC015
Split-complement 2#15C0A7
Triadic 1#84C015
Triadic 2#1584C0
Tetradic#C0A715

RGB percentages

Red75.3%
Green8.2%
Blue51.8%

CMYK percentages

Cyan0.0%
Magenta89.1%
Yellow31.2%
Key (black)24.7%

Color previews

#c01584 text on a black background

contrast 3.68:1

Card sample

#c01584 text on a white background

contrast 5.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(192, 21, 132, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 21, 132, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c01584;
background: linear-gradient(135deg, #c01584, #C01815);

Monochromatic scale

Palettes built from #c01584

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.

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

#c01584, answered

What color is #c01584?

#c01584 is a dark electric magenta / pink, closest to Medium Violet Red (ΔE2000 1.5). It sits at 321° on the hue wheel with 80% saturation and 42% lightness, which reads as warm.

What is the RGB value of #c01584?

rgb(192, 21, 132) — 192 red, 21 green and 132 blue out of 255, or 75.3% / 8.2% / 51.8% by channel.

Is #c01584 a light or a dark color?

It is a dark color. Relative luminance is 0.1341 and perceived brightness is 45%, so white text on it reaches 5.70:1.

Should I use black or white text on #c01584?

White. It scores 5.70:1 against #c01584, versus 3.68:1 for black — AA at any size.

What is the complementary color of #c01584?

#15C051 sits directly opposite on the wheel. Softer options are the split-complements #2EC015 and #15C0A7, which give the same contrast with far less vibration.

What colors go well with #c01584?

For interface work: #FAF4F8 as the surface, #EDC0DD for borders, #9B4B7F for secondary text, #10BC21 as an accent and #730D4F for hover and pressed states. For a palette, the analogous pair #A715C0 and #C0152E stays calm, while #15C051 is the loudest partner.

What is #c01584 in CMYK for printing?

cmyk(0%, 89%, 31%, 25%). 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 #c01584 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 #C01545; nudged cooler, #C013C2.

Work with #c01584 in the Color Lab