Skip to content

#b94271

a balanced, vivid magenta / pink · warm · closest name: Medium Violet Red

RGB
185, 66, 113
HSL
336°, 47%, 49%
CMYK
0, 64, 39, 28
Luminance
0.1540

At a glance

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

Hex
#b94271
Hue
336°
magenta / pink
Saturation
47%
vivid
Lightness
49%
balanced
Brightness
73%
HSV value
Perceived
47%
weighted brightness
Luminance
0.1540
WCAG relative
Temperature
Warm
30/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
5.15:1
Closest name
Medium Violet Red
ΔE2000 7.5
Where it sits
Hue336° of 360°
Saturation47%
Lightness49%
Temperature
Warm ← → Cool30% 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#b94271
RGBrgb(185, 66, 113)
HSLhsl(336, 47%, 49%)
CMYKcmyk(0%, 64%, 39%, 28%)
LABlab(46.2 52.0 -1.1)
LCHlch(46.2 52.1 358.8)
OKLCHoklch(0.557 0.159 359.2)
Decimal12141169
Display P3color(display-p3 0.725 0.259 0.443)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b94271 on white: 5.15:1
AA ✓ pass · AA-large · AAA
Aa
#b94271 on black: 4.08:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #585F72
deuteranopia · #78766E
tritanopia · #C83655

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #b94271 is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FAF5F7
#F5EAEF
#ECD0DB
#E1ACC1
#D383A2
#C45A84
#b94271
#96365C
#782B49
#582338
#371623
Base = 600Lightest = 50 · #FAF5F7Darkest = 950 · #371623
:root {
  --brand-50: #FAF5F7;
  --brand-100: #F5EAEF;
  --brand-200: #ECD0DB;
  --brand-300: #E1ACC1;
  --brand-400: #D383A2;
  --brand-500: #C45A84;
  --brand-600: #b94271;
  --brand-700: #96365C;
  --brand-800: #782B49;
  --brand-900: #582338;
  --brand-950: #371623;
  --brand: #b94271;
  --brand-ink: #ffffff;
}

Colors that work with #b94271

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#EAC3D2
Hairlines and dividers
Muted text#9B4B6A
Captions on the surface
Accent#329A57
Second voice, not a rival
Dark variant#5E2239
Hover, pressed, headers
Light variant#F8ECF1
Selected rows, tints
Dark surface#24141A
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 #b94271

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
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • 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#42B98A
Analogous left#B942AC
Analogous right#B94E42
Split-complement 1#42B94E
Split-complement 2#42ACB9
Triadic 1#71B942
Triadic 2#4271B9
Tetradic#ACB942

RGB percentages

Red72.5%
Green25.9%
Blue44.3%

CMYK percentages

Cyan0.0%
Magenta64.3%
Yellow38.9%
Key (black)27.5%

Color previews

#b94271 text on a black background

contrast 4.08:1

Card sample

#b94271 text on a white background

contrast 5.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b94271

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.

#b94271 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

Converts to four-color process without much drama. Proof it anyway.

#b94271, answered

What color is #b94271?

#b94271 is a balanced vivid magenta / pink, closest to Medium Violet Red (ΔE2000 7.5). It sits at 336° on the hue wheel with 47% saturation and 49% lightness, which reads as warm.

What is the RGB value of #b94271?

rgb(185, 66, 113) — 185 red, 66 green and 113 blue out of 255, or 72.5% / 25.9% / 44.3% by channel.

Is #b94271 a light or a dark color?

It is a dark color. Relative luminance is 0.1540 and perceived brightness is 47%, so white text on it reaches 5.15:1.

Should I use black or white text on #b94271?

White. It scores 5.15:1 against #b94271, versus 4.08:1 for black — AA at any size.

What is the complementary color of #b94271?

#42B98A sits directly opposite on the wheel. Softer options are the split-complements #42B94E and #42ACB9, which give the same contrast with far less vibration.

What colors go well with #b94271?

For interface work: #FAF4F7 as the surface, #EAC3D2 for borders, #9B4B6A for secondary text, #329A57 as an accent and #5E2239 for hover and pressed states. For a palette, the analogous pair #B942AC and #B94E42 stays calm, while #42B98A is the loudest partner.

What is #b94271 in CMYK for printing?

cmyk(0%, 64%, 39%, 28%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #b94271 warm or cool?

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

Work with #b94271 in the Color Lab