Skip to content

#c01168

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

RGB
192, 17, 104
HSL
330°, 84%, 41%
CMYK
0, 91, 46, 25
Luminance
0.1261

At a glance

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

Hex
#c01168
Hue
330°
magenta / pink
Saturation
84%
electric
Lightness
41%
dark
Brightness
75%
HSV value
Perceived
44%
weighted brightness
Luminance
0.1261
WCAG relative
Temperature
Warm
33/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
5.96:1
Closest name
Medium Violet Red
ΔE2000 6.1
Where it sits
Hue330° of 360°
Saturation84%
Lightness41%
Temperature
Warm ← → Cool33% 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#c01168
RGBrgb(192, 17, 104)
HSLhsl(330, 84%, 41%)
CMYKcmyk(0%, 91%, 46%, 25%)
LABlab(42.2 67.2 -1.2)
LCHlch(42.2 67.2 359.0)
OKLCHoklch(0.529 0.207 359.3)
Decimal12587368
Display P3color(display-p3 0.753 0.067 0.408)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c01168 on white: 5.96:1
AA ✓ pass · AA-large · AAA
Aa
#c01168 on black: 3.52:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #444F6A
deuteranopia · #726F64
tritanopia · #D1003E

Color scale — 50 to 950

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

#FCF2F7
#FAE6F0
#F6C5DE
#F698C7
#F164AA
#ED318E
#E1147A
#c01168
#960D51
#6C0E3D
#440926
Base = 700Lightest = 50 · #FCF2F7Darkest = 950 · #440926
:root {
  --brand-50: #FCF2F7;
  --brand-100: #FAE6F0;
  --brand-200: #F6C5DE;
  --brand-300: #F698C7;
  --brand-400: #F164AA;
  --brand-500: #ED318E;
  --brand-600: #E1147A;
  --brand-700: #c01168;
  --brand-800: #960D51;
  --brand-900: #6C0E3D;
  --brand-950: #440926;
  --brand: #c01168;
  --brand-ink: #ffffff;
}

Colors that work with #c01168

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#FAF4F7
Tinted page background
Border#EDC0D6
Hairlines and dividers
Muted text#9B4B72
Captions on the surface
Accent#0DBF3A
Second voice, not a rival
Dark variant#750A3F
Hover, pressed, headers
Light variant#FDE8F2
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 #c01168

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#11C069
Analogous left#C011BF
Analogous right#C01211
Split-complement 1#11C012
Split-complement 2#11BFC0
Triadic 1#68C011
Triadic 2#1168C0
Tetradic#BFC011

RGB percentages

Red75.3%
Green6.7%
Blue40.8%

CMYK percentages

Cyan0.0%
Magenta91.1%
Yellow45.8%
Key (black)24.7%

Color previews

#c01168 text on a black background

contrast 3.52:1

Card sample

#c01168 text on a white background

contrast 5.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c01168

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.

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

#c01168, answered

What color is #c01168?

#c01168 is a dark electric magenta / pink, closest to Medium Violet Red (ΔE2000 6.1). It sits at 330° on the hue wheel with 84% saturation and 41% lightness, which reads as warm.

What is the RGB value of #c01168?

rgb(192, 17, 104) — 192 red, 17 green and 104 blue out of 255, or 75.3% / 6.7% / 40.8% by channel.

Is #c01168 a light or a dark color?

It is a dark color. Relative luminance is 0.1261 and perceived brightness is 44%, so white text on it reaches 5.96:1.

Should I use black or white text on #c01168?

White. It scores 5.96:1 against #c01168, versus 3.52:1 for black — AA at any size.

What is the complementary color of #c01168?

#11C069 sits directly opposite on the wheel. Softer options are the split-complements #11C012 and #11BFC0, which give the same contrast with far less vibration.

What colors go well with #c01168?

For interface work: #FAF4F7 as the surface, #EDC0D6 for borders, #9B4B72 for secondary text, #0DBF3A as an accent and #750A3F for hover and pressed states. For a palette, the analogous pair #C011BF and #C01211 stays calm, while #11C069 is the loudest partner.

What is #c01168 in CMYK for printing?

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

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

Work with #c01168 in the Color Lab