#c0189b
a dark, electric magenta / pink · neutral · closest name: Medium Violet Red
At a glance
Every number on this page in one read: what #c0189b is made of, how bright it looks, and which way it leans.
Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #c0189b |
| RGB | rgb(192, 24, 155) |
| HSL | hsl(313, 78%, 42%) |
| CMYK | cmyk(0%, 88%, 19%, 25%) |
| LAB | lab(44.6 71.6 -28.9) |
| LCH | lch(44.6 77.2 338.0) |
| OKLCH | oklch(0.553 0.228 339.9) |
| Decimal | 12589211 |
| Display P3 | color(display-p3 0.753 0.094 0.608) |
Copy-ready code
/* CSS */
color: #c0189b;
background-color: #c0189b;
/* Tailwind (arbitrary) */
class="text-[#c0189b] bg-[#c0189b]"
/* SCSS */
$brand: #c0189b;
/* SwiftUI */
Color(red: 0.753, green: 0.094, blue: 0.608)
/* Android */
Color.parseColor("#c0189b")
/* Flutter */
Color(0xFFC0189B)
/* Python / OpenCV (BGR) */
(155, 24, 192)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #c0189b 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.
:root {
--brand-50: #FCF3FA;
--brand-100: #F9E6F5;
--brand-200: #F5C7EB;
--brand-300: #F39BDF;
--brand-400: #EC69D0;
--brand-500: #E638C0;
--brand-600: #DA1BB0;
--brand-700: #c0189b;
--brand-800: #911275;
--brand-900: #691156;
--brand-950: #420B36;
--brand: #c0189b;
--brand-ink: #ffffff;
}Colors that work with #c0189b
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #c0189b
Derived from its contrast, chroma and lightness — not from taste.
- ✓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
- ⚠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 | #18C03D | Directly opposite — maximum tension | |
| Analogous left | #9118C0 | Neighbour, quieter | |
| Analogous right | #C01847 | Neighbour, quieter | |
| Split-complement 1 | #47C018 | Contrast without the clash | |
| Split-complement 2 | #18C091 | Contrast without the clash | |
| Triadic 1 | #9BC018 | Even thirds — balanced and loud | |
| Triadic 2 | #189BC0 | Even thirds — balanced and loud | |
| Tetradic | #C09118 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#c0189b text on a black background
contrast 3.85:1
#c0189b text on a white background
contrast 5.46:1
CSS3 live lab
The quick brown fox
color: #c0189b;
background-color: #c0189b;
Glowing headline
text-shadow: 2px 2px 8px #c0189b;
Soft neon halo
text-shadow: 0 0 14px rgba(192, 24, 155, 0.45);
box-shadow: 0 12px 32px -8px rgba(192, 24, 155, 0.45);
border: 3px solid #c0189b; background: linear-gradient(135deg, #c0189b, #C0182B);
Monochromatic scale
Palettes built from #c0189b
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.
Closest color with a full write-up: Mulberry (#c54b8c) — ΔE2000 9.4 away, with its history, psychology and brand usage.
#c0189b in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.
#c0189b, answered
What color is #c0189b?
#c0189b is a dark electric magenta / pink, closest to Medium Violet Red (ΔE2000 5.1). It sits at 313° on the hue wheel with 78% saturation and 42% lightness, which reads as neutral.
What is the RGB value of #c0189b?
rgb(192, 24, 155) — 192 red, 24 green and 155 blue out of 255, or 75.3% / 9.4% / 60.8% by channel.
Is #c0189b a light or a dark color?
It is a dark color. Relative luminance is 0.1423 and perceived brightness is 47%, so white text on it reaches 5.46:1.
Should I use black or white text on #c0189b?
White. It scores 5.46:1 against #c0189b, versus 3.85:1 for black — AA at any size.
What is the complementary color of #c0189b?
#18C03D sits directly opposite on the wheel. Softer options are the split-complements #47C018 and #18C091, which give the same contrast with far less vibration.
What colors go well with #c0189b?
For interface work: #FAF4F9 as the surface, #EDC0E3 for borders, #9B4B89 for secondary text, #17B913 as an accent and #710E5C for hover and pressed states. For a palette, the analogous pair #9118C0 and #C01847 stays calm, while #18C03D is the loudest partner.
What is #c0189b in CMYK for printing?
cmyk(0%, 88%, 19%, 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 #c0189b warm or cool?
Neutral — it scores 43 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C0185E; nudged cooler, #A916C2.