Skip to content

#c0155e

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

RGB
192, 21, 94
HSL
334°, 80%, 42%
CMYK
0, 89, 51, 25
Luminance
0.1255

At a glance

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

Hex
#c0155e
Hue
334°
magenta / pink
Saturation
80%
electric
Lightness
42%
dark
Brightness
75%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1255
WCAG relative
Temperature
Warm
31/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
5.98:1
Closest name
Medium Violet Red
ΔE2000 8.6
Where it sits
Hue334° of 360°
Saturation80%
Lightness42%
Temperature
Warm ← → Cool31% 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#c0155e
RGBrgb(192, 21, 94)
HSLhsl(334, 80%, 42%)
CMYKcmyk(0%, 89%, 51%, 25%)
LABlab(42.1 65.8 4.9)
LCHlch(42.1 66.0 4.3)
OKLCHoklch(0.527 0.202 3.7)
Decimal12588382
Display P3color(display-p3 0.753 0.082 0.369)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c0155e on white: 5.98:1
AA ✓ pass · AA-large · AAA
Aa
#c0155e on black: 3.51:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #484F5F
deuteranopia · #746F5A
tritanopia · #D2003A

Color scale — 50 to 950

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

#FCF3F7
#F9E6EE
#F5C6DA
#F49AC0
#EE67A1
#E93582
#DD186C
#c0155e
#931048
#6A1037
#430A22
Base = 700Lightest = 50 · #FCF3F7Darkest = 950 · #430A22
:root {
  --brand-50: #FCF3F7;
  --brand-100: #F9E6EE;
  --brand-200: #F5C6DA;
  --brand-300: #F49AC0;
  --brand-400: #EE67A1;
  --brand-500: #E93582;
  --brand-600: #DD186C;
  --brand-700: #c0155e;
  --brand-800: #931048;
  --brand-900: #6A1037;
  --brand-950: #430A22;
  --brand: #c0155e;
  --brand-ink: #ffffff;
}

Colors that work with #c0155e

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#EDC0D3
Hairlines and dividers
Muted text#9B4B6D
Captions on the surface
Accent#10BC48
Second voice, not a rival
Dark variant#730D38
Hover, pressed, headers
Light variant#FCE8F1
Selected rows, tints
Dark surface#24141B
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 #c0155e

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#15C077
Analogous left#C015B4
Analogous right#C02215
Split-complement 1#15C022
Split-complement 2#15B4C0
Triadic 1#5EC015
Triadic 2#155EC0
Tetradic#B4C015

RGB percentages

Red75.3%
Green8.2%
Blue36.9%

CMYK percentages

Cyan0.0%
Magenta89.1%
Yellow51.0%
Key (black)24.7%

Color previews

#c0155e text on a black background

contrast 3.51:1

Card sample

#c0155e text on a white background

contrast 5.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c0155e

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.

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

#c0155e, answered

What color is #c0155e?

#c0155e is a dark electric magenta / pink, closest to Medium Violet Red (ΔE2000 8.6). It sits at 334° on the hue wheel with 80% saturation and 42% lightness, which reads as warm.

What is the RGB value of #c0155e?

rgb(192, 21, 94) — 192 red, 21 green and 94 blue out of 255, or 75.3% / 8.2% / 36.9% by channel.

Is #c0155e a light or a dark color?

It is a dark color. Relative luminance is 0.1255 and perceived brightness is 43%, so white text on it reaches 5.98:1.

Should I use black or white text on #c0155e?

White. It scores 5.98:1 against #c0155e, versus 3.51:1 for black — AA at any size.

What is the complementary color of #c0155e?

#15C077 sits directly opposite on the wheel. Softer options are the split-complements #15C022 and #15B4C0, which give the same contrast with far less vibration.

What colors go well with #c0155e?

For interface work: #FAF4F7 as the surface, #EDC0D3 for borders, #9B4B6D for secondary text, #10BC48 as an accent and #730D38 for hover and pressed states. For a palette, the analogous pair #C015B4 and #C02215 stays calm, while #15C077 is the loudest partner.

What is #c0155e in CMYK for printing?

cmyk(0%, 89%, 51%, 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 #c0155e warm or cool?

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

Work with #c0155e in the Color Lab