Skip to content

#b42663

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

RGB
180, 38, 99
HSL
334°, 65%, 43%
CMYK
0, 79, 45, 29
Luminance
0.1199

At a glance

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

Hex
#b42663
Hue
334°
magenta / pink
Saturation
65%
vivid
Lightness
43%
dark
Brightness
71%
HSV value
Perceived
42%
weighted brightness
Luminance
0.1199
WCAG relative
Temperature
Warm
31/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
6.18:1
Closest name
Medium Violet Red
ΔE2000 7.5
Where it sits
Hue334° of 360°
Saturation65%
Lightness43%
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#b42663
RGBrgb(180, 38, 99)
HSLhsl(334, 65%, 43%)
CMYKcmyk(0%, 79%, 45%, 29%)
LABlab(41.2 59.3 0.2)
LCHlch(41.2 59.3 0.2)
OKLCHoklch(0.517 0.182 0.4)
Decimal11806307
Display P3color(display-p3 0.706 0.149 0.388)

Copy-ready code

/* CSS */
color: #b42663;
background-color: #b42663;
/* Tailwind (arbitrary) */
class="text-[#b42663] bg-[#b42663]"
/* SCSS */
$brand: #b42663;
/* SwiftUI */
Color(red: 0.706, green: 0.149, blue: 0.388)
/* Android */
Color.parseColor("#b42663")
/* Flutter */
Color(0xFFB42663)
/* Python / OpenCV (BGR) */
(99, 38, 180)

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

Accessibility — WCAG contrast

Aa
#b42663 on white: 6.18:1
AA ✓ pass · AA-large · AAA
Aa
#b42663 on black: 3.40:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #485064
deuteranopia · #6E6B60
tritanopia · #C40241

Color scale — 50 to 950

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

#FBF3F7
#F7E8EF
#F1CBDB
#EBA2C2
#E274A3
#D84685
#CA2B6F
#b42663
#871C4A
#621938
#3D0F23
Base = 700Lightest = 50 · #FBF3F7Darkest = 950 · #3D0F23
:root {
  --brand-50: #FBF3F7;
  --brand-100: #F7E8EF;
  --brand-200: #F1CBDB;
  --brand-300: #EBA2C2;
  --brand-400: #E274A3;
  --brand-500: #D84685;
  --brand-600: #CA2B6F;
  --brand-700: #b42663;
  --brand-800: #871C4A;
  --brand-900: #621938;
  --brand-950: #3D0F23;
  --brand: #b42663;
  --brand-ink: #ffffff;
}

Colors that work with #b42663

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#20AC4D
Second voice, not a rival
Dark variant#69163A
Hover, pressed, headers
Light variant#FBEAF1
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 #b42663

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#26B477
Analogous left#B426AA
Analogous right#B43026
Split-complement 1#26B430
Split-complement 2#26AAB4
Triadic 1#63B426
Triadic 2#2663B4
Tetradic#AAB426

RGB percentages

Red70.6%
Green14.9%
Blue38.8%

CMYK percentages

Cyan0.0%
Magenta78.9%
Yellow45.0%
Key (black)29.4%

Color previews

#b42663 text on a black background

contrast 3.40:1

Card sample

#b42663 text on a white background

contrast 6.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(180, 38, 99, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(180, 38, 99, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b42663;
background: linear-gradient(135deg, #b42663, #B44826);

Monochromatic scale

Palettes built from #b42663

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.

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

#b42663, answered

What color is #b42663?

#b42663 is a dark vivid magenta / pink, closest to Medium Violet Red (ΔE2000 7.5). It sits at 334° on the hue wheel with 65% saturation and 43% lightness, which reads as warm.

What is the RGB value of #b42663?

rgb(180, 38, 99) — 180 red, 38 green and 99 blue out of 255, or 70.6% / 14.9% / 38.8% by channel.

Is #b42663 a light or a dark color?

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

Should I use black or white text on #b42663?

White. It scores 6.18:1 against #b42663, versus 3.40:1 for black — AA at any size.

What is the complementary color of #b42663?

#26B477 sits directly opposite on the wheel. Softer options are the split-complements #26B430 and #26AAB4, which give the same contrast with far less vibration.

What colors go well with #b42663?

For interface work: #FAF4F7 as the surface, #EDC0D3 for borders, #9B4B6D for secondary text, #20AC4D as an accent and #69163A for hover and pressed states. For a palette, the analogous pair #B426AA and #B43026 stays calm, while #26B477 is the loudest partner.

What is #b42663 in CMYK for printing?

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

Is #b42663 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 #B4262F; nudged cooler, #B62498.

Work with #b42663 in the Color Lab