Skip to content

#b9155e

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

RGB
185, 21, 94
HSL
333°, 80%, 40%
CMYK
0, 89, 49, 28
Luminance
0.1166

At a glance

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

Hex
#b9155e
Hue
333°
magenta / pink
Saturation
80%
electric
Lightness
40%
dark
Brightness
73%
HSV value
Perceived
42%
weighted brightness
Luminance
0.1166
WCAG relative
Temperature
Warm
32/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
6.30:1
Closest name
Medium Violet Red
ΔE2000 8.3
Where it sits
Hue333° of 360°
Saturation80%
Lightness40%
Temperature
Warm ← → Cool32% 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#b9155e
RGBrgb(185, 21, 94)
HSLhsl(333, 80%, 40%)
CMYKcmyk(0%, 89%, 49%, 28%)
LABlab(40.7 64.1 2.7)
LCHlch(40.7 64.2 2.4)
OKLCHoklch(0.514 0.197 2.2)
Decimal12129630
Display P3color(display-p3 0.725 0.082 0.369)

Copy-ready code

/* CSS */
color: #b9155e;
background-color: #b9155e;
/* Tailwind (arbitrary) */
class="text-[#b9155e] bg-[#b9155e]"
/* SCSS */
$brand: #b9155e;
/* SwiftUI */
Color(red: 0.725, green: 0.082, blue: 0.369)
/* Android */
Color.parseColor("#b9155e")
/* Flutter */
Color(0xFFB9155E)
/* Python / OpenCV (BGR) */
(94, 21, 185)

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 #b9155e · 6.30:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.30:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.33:1
AA fail · AA large pass · AAA fail
Reading the other direction: #b9155e as text scores 6.30:1 on white and 3.33:1 on black.

Accessibility — WCAG contrast

Aa
#b9155e on white: 6.30:1
AA ✓ pass · AA-large · AAA
Aa
#b9155e on black: 3.33:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #454C5F
deuteranopia · #6F6B5A
tritanopia · #CA0039

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #b9155e 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
#F9E6EF
#F5C7DB
#F49AC2
#EE68A3
#E83585
#DC1970
#b9155e
#93114A
#6A1038
#420A23
Base = 700Lightest = 50 · #FCF3F7Darkest = 950 · #420A23
:root {
  --brand-50: #FCF3F7;
  --brand-100: #F9E6EF;
  --brand-200: #F5C7DB;
  --brand-300: #F49AC2;
  --brand-400: #EE68A3;
  --brand-500: #E83585;
  --brand-600: #DC1970;
  --brand-700: #b9155e;
  --brand-800: #93114A;
  --brand-900: #6A1038;
  --brand-950: #420A23;
  --brand: #b9155e;
  --brand-ink: #ffffff;
}

Colors that work with #b9155e

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#EDC0D4
Hairlines and dividers
Muted text#9B4B6E
Captions on the surface
Accent#11BB44
Second voice, not a rival
Dark variant#720D3A
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 #b9155e

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#15B970
Analogous left#B915B0
Analogous right#B91E15
Split-complement 1#15B91E
Split-complement 2#15B0B9
Triadic 1#5EB915
Triadic 2#155EB9
Tetradic#B0B915

RGB percentages

Red72.5%
Green8.2%
Blue36.9%

CMYK percentages

Cyan0.0%
Magenta88.6%
Yellow49.2%
Key (black)27.5%

Color previews

#b9155e text on a black background

contrast 3.33:1

Card sample

#b9155e text on a white background

contrast 6.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b9155e

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.

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

#b9155e, answered

What color is #b9155e?

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

What is the RGB value of #b9155e?

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

Is #b9155e a light or a dark color?

It is a dark color. Relative luminance is 0.1166 and perceived brightness is 42%, so white text on it reaches 6.30:1.

Should I use black or white text on #b9155e?

White. It scores 6.30:1 against #b9155e, versus 3.33:1 for black — AA at any size.

What is the complementary color of #b9155e?

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

What colors go well with #b9155e?

For interface work: #FAF4F7 as the surface, #EDC0D4 for borders, #9B4B6E for secondary text, #11BB44 as an accent and #720D3A for hover and pressed states. For a palette, the analogous pair #B915B0 and #B91E15 stays calm, while #15B970 is the loudest partner.

What is #b9155e in CMYK for printing?

cmyk(0%, 89%, 49%, 28%). 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 #b9155e warm or cool?

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

Work with #b9155e in the Color Lab