Skip to content

#c01b72

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

RGB
192, 27, 114
HSL
328°, 75%, 43%
CMYK
0, 86, 41, 25
Luminance
0.1321

At a glance

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

Hex
#c01b72
Hue
328°
magenta / pink
Saturation
75%
electric
Lightness
43%
dark
Brightness
75%
HSV value
Perceived
45%
weighted brightness
Luminance
0.1321
WCAG relative
Temperature
Warm
34/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
5.77:1
Closest name
Medium Violet Red
ΔE2000 3.9
Where it sits
Hue328° of 360°
Saturation75%
Lightness43%
Temperature
Warm ← → Cool34% 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#c01b72
RGBrgb(192, 27, 114)
HSLhsl(328, 75%, 43%)
CMYKcmyk(0%, 86%, 41%, 25%)
LABlab(43.1 66.4 -6.1)
LCHlch(43.1 66.7 354.7)
OKLCHoklch(0.536 0.205 355.7)
Decimal12589938
Display P3color(display-p3 0.753 0.106 0.447)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c01b72 on white: 5.77:1
AA ✓ pass · AA-large · AAA
Aa
#c01b72 on black: 3.64:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #445374
deuteranopia · #71706E
tritanopia · #D00046

Color scale — 50 to 950

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

#FCF3F8
#F9E7F0
#F4C8DF
#F19DC9
#EA6BAE
#E33A93
#D71E7F
#c01b72
#8F1455
#68133F
#410C28
Base = 700Lightest = 50 · #FCF3F8Darkest = 950 · #410C28
:root {
  --brand-50: #FCF3F8;
  --brand-100: #F9E7F0;
  --brand-200: #F4C8DF;
  --brand-300: #F19DC9;
  --brand-400: #EA6BAE;
  --brand-500: #E33A93;
  --brand-600: #D71E7F;
  --brand-700: #c01b72;
  --brand-800: #8F1455;
  --brand-900: #68133F;
  --brand-950: #410C28;
  --brand: #c01b72;
  --brand-ink: #ffffff;
}

Colors that work with #c01b72

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#EDC0D7
Hairlines and dividers
Muted text#9B4B75
Captions on the surface
Accent#15B739
Second voice, not a rival
Dark variant#701042
Hover, pressed, headers
Light variant#FCE9F3
Selected rows, tints
Dark surface#24141C
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 #c01b72

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#1BC069
Analogous left#BB1BC0
Analogous right#C01B1F
Split-complement 1#1FC01B
Split-complement 2#1BC0BB
Triadic 1#72C01B
Triadic 2#1B72C0
Tetradic#C0BB1B

RGB percentages

Red75.3%
Green10.6%
Blue44.7%

CMYK percentages

Cyan0.0%
Magenta85.9%
Yellow40.6%
Key (black)24.7%

Color previews

#c01b72 text on a black background

contrast 3.64:1

Card sample

#c01b72 text on a white background

contrast 5.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c01b72

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.

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

#c01b72, answered

What color is #c01b72?

#c01b72 is a dark electric magenta / pink, closest to Medium Violet Red (ΔE2000 3.9). It sits at 328° on the hue wheel with 75% saturation and 43% lightness, which reads as warm.

What is the RGB value of #c01b72?

rgb(192, 27, 114) — 192 red, 27 green and 114 blue out of 255, or 75.3% / 10.6% / 44.7% by channel.

Is #c01b72 a light or a dark color?

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

Should I use black or white text on #c01b72?

White. It scores 5.77:1 against #c01b72, versus 3.64:1 for black — AA at any size.

What is the complementary color of #c01b72?

#1BC069 sits directly opposite on the wheel. Softer options are the split-complements #1FC01B and #1BC0BB, which give the same contrast with far less vibration.

What colors go well with #c01b72?

For interface work: #FAF4F8 as the surface, #EDC0D7 for borders, #9B4B75 for secondary text, #15B739 as an accent and #701042 for hover and pressed states. For a palette, the analogous pair #BB1BC0 and #C01B1F stays calm, while #1BC069 is the loudest partner.

What is #c01b72 in CMYK for printing?

cmyk(0%, 86%, 41%, 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 #c01b72 warm or cool?

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

Work with #c01b72 in the Color Lab