Skip to content

#c0197a

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

RGB
192, 25, 122
HSL
325°, 77%, 43%
CMYK
0, 87, 37, 25
Luminance
0.1331

At a glance

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

Hex
#c0197a
Hue
325°
magenta / pink
Saturation
77%
electric
Lightness
43%
dark
Brightness
75%
HSV value
Perceived
45%
weighted brightness
Luminance
0.1331
WCAG relative
Temperature
Warm
36/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
5.74:1
Closest name
Medium Violet Red
ΔE2000 2.3
Where it sits
Hue325° of 360°
Saturation77%
Lightness43%
Temperature
Warm ← → Cool36% 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#c0197a
RGBrgb(192, 25, 122)
HSLhsl(325, 77%, 43%)
CMYKcmyk(0%, 87%, 37%, 25%)
LABlab(43.2 67.6 -10.9)
LCHlch(43.2 68.5 350.9)
OKLCHoklch(0.538 0.210 352.3)
Decimal12589434
Display P3color(display-p3 0.753 0.098 0.478)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c0197a on white: 5.74:1
AA ✓ pass · AA-large · AAA
Aa
#c0197a on black: 3.66:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #40537C
deuteranopia · #6F7076
tritanopia · #CF004A

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #c0197a 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
#F9E7F1
#F4C7E2
#F29CCE
#EC6AB5
#E5389D
#D91C8A
#c0197a
#90135C
#691244
#410B2B
Base = 700Lightest = 50 · #FCF3F8Darkest = 950 · #410B2B
:root {
  --brand-50: #FCF3F8;
  --brand-100: #F9E7F1;
  --brand-200: #F4C7E2;
  --brand-300: #F29CCE;
  --brand-400: #EC6AB5;
  --brand-500: #E5389D;
  --brand-600: #D91C8A;
  --brand-700: #c0197a;
  --brand-800: #90135C;
  --brand-900: #691244;
  --brand-950: #410B2B;
  --brand: #c0197a;
  --brand-ink: #ffffff;
}

Colors that work with #c0197a

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#EDC0DA
Hairlines and dividers
Muted text#9B4B79
Captions on the surface
Accent#14B82F
Second voice, not a rival
Dark variant#710F48
Hover, pressed, headers
Light variant#FCE8F4
Selected rows, tints
Dark surface#24141D
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 #c0197a

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#19C05F
Analogous left#B219C0
Analogous right#C01927
Split-complement 1#27C019
Split-complement 2#19C0B2
Triadic 1#7AC019
Triadic 2#197AC0
Tetradic#C0B219

RGB percentages

Red75.3%
Green9.8%
Blue47.8%

CMYK percentages

Cyan0.0%
Magenta87.0%
Yellow36.5%
Key (black)24.7%

Color previews

#c0197a text on a black background

contrast 3.66:1

Card sample

#c0197a text on a white background

contrast 5.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c0197a

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.

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

#c0197a, answered

What color is #c0197a?

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

What is the RGB value of #c0197a?

rgb(192, 25, 122) — 192 red, 25 green and 122 blue out of 255, or 75.3% / 9.8% / 47.8% by channel.

Is #c0197a a light or a dark color?

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

Should I use black or white text on #c0197a?

White. It scores 5.74:1 against #c0197a, versus 3.66:1 for black — AA at any size.

What is the complementary color of #c0197a?

#19C05F sits directly opposite on the wheel. Softer options are the split-complements #27C019 and #19C0B2, which give the same contrast with far less vibration.

What colors go well with #c0197a?

For interface work: #FAF4F8 as the surface, #EDC0DA for borders, #9B4B79 for secondary text, #14B82F as an accent and #710F48 for hover and pressed states. For a palette, the analogous pair #B219C0 and #C01927 stays calm, while #19C05F is the loudest partner.

What is #c0197a in CMYK for printing?

cmyk(0%, 87%, 37%, 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 #c0197a warm or cool?

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

Work with #c0197a in the Color Lab