Skip to content

#c0107c

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

RGB
192, 16, 124
HSL
323°, 85%, 41%
CMYK
0, 92, 35, 25
Luminance
0.1303

At a glance

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

Hex
#c0107c
Hue
323°
magenta / pink
Saturation
85%
electric
Lightness
41%
dark
Brightness
75%
HSV value
Perceived
45%
weighted brightness
Luminance
0.1303
WCAG relative
Temperature
Warm
37/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
5.82:1
Closest name
Medium Violet Red
ΔE2000 2.1
Where it sits
Hue323° of 360°
Saturation85%
Lightness41%
Temperature
Warm ← → Cool37% 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#c0107c
RGBrgb(192, 16, 124)
HSLhsl(323, 85%, 41%)
CMYKcmyk(0%, 92%, 35%, 25%)
LABlab(42.8 69.2 -12.7)
LCHlch(42.8 70.4 349.6)
OKLCHoklch(0.536 0.216 351.2)
Decimal12587132
Display P3color(display-p3 0.753 0.063 0.486)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c0107c on white: 5.82:1
AA ✓ pass · AA-large · AAA
Aa
#c0107c on black: 3.61:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #3B527E
deuteranopia · #6D7078
tritanopia · #CF0049

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #c0107c 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
#F7C5E3
#F697D2
#F264BB
#EE30A4
#E21392
#c0107c
#970D61
#6D0E48
#44082D
Base = 700Lightest = 50 · #FCF2F9Darkest = 950 · #44082D
:root {
  --brand-50: #FCF2F9;
  --brand-100: #FAE6F2;
  --brand-200: #F7C5E3;
  --brand-300: #F697D2;
  --brand-400: #F264BB;
  --brand-500: #EE30A4;
  --brand-600: #E21392;
  --brand-700: #c0107c;
  --brand-800: #970D61;
  --brand-900: #6D0E48;
  --brand-950: #44082D;
  --brand: #c0107c;
  --brand-ink: #ffffff;
}

Colors that work with #c0107c

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#EDC0DB
Hairlines and dividers
Muted text#9B4B7C
Captions on the surface
Accent#0CC024
Second voice, not a rival
Dark variant#760A4C
Hover, pressed, headers
Light variant#FDE7F5
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 #c0107c

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#10C054
Analogous left#AC10C0
Analogous right#C01024
Split-complement 1#24C010
Split-complement 2#10C0AC
Triadic 1#7CC010
Triadic 2#107CC0
Tetradic#C0AC10

RGB percentages

Red75.3%
Green6.3%
Blue48.6%

CMYK percentages

Cyan0.0%
Magenta91.7%
Yellow35.4%
Key (black)24.7%

Color previews

#c0107c text on a black background

contrast 3.61:1

Card sample

#c0107c text on a white background

contrast 5.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c0107c

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.

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

#c0107c, answered

What color is #c0107c?

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

What is the RGB value of #c0107c?

rgb(192, 16, 124) — 192 red, 16 green and 124 blue out of 255, or 75.3% / 6.3% / 48.6% by channel.

Is #c0107c a light or a dark color?

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

Should I use black or white text on #c0107c?

White. It scores 5.82:1 against #c0107c, versus 3.61:1 for black — AA at any size.

What is the complementary color of #c0107c?

#10C054 sits directly opposite on the wheel. Softer options are the split-complements #24C010 and #10C0AC, which give the same contrast with far less vibration.

What colors go well with #c0107c?

For interface work: #FAF4F8 as the surface, #EDC0DB for borders, #9B4B7C for secondary text, #0CC024 as an accent and #760A4C for hover and pressed states. For a palette, the analogous pair #AC10C0 and #C01024 stays calm, while #10C054 is the loudest partner.

What is #c0107c in CMYK for printing?

cmyk(0%, 92%, 35%, 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 #c0107c warm or cool?

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

Work with #c0107c in the Color Lab