Skip to content

#5b103c

a deep, vivid magenta / pink · warm · closest name: Purple

RGB
91, 16, 60
HSL
325°, 70%, 21%
CMYK
0, 82, 34, 64
Luminance
0.0292

At a glance

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

Hex
#5b103c
Hue
325°
magenta / pink
Saturation
70%
vivid
Lightness
21%
deep
Brightness
36%
HSV value
Perceived
22%
weighted brightness
Luminance
0.0292
WCAG relative
Temperature
Warm
36/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
13.26:1
Closest name
Purple
ΔE2000 14.4
Where it sits
Hue325° of 360°
Saturation70%
Lightness21%
Temperature
Warm ← → Cool36% 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#5b103c
RGBrgb(91, 16, 60)
HSLhsl(325, 70%, 21%)
CMYKcmyk(0%, 82%, 34%, 64%)
LABlab(19.7 37.2 -7.8)
LCHlch(19.7 38.0 348.1)
OKLCHoklch(0.323 0.116 349.8)
Decimal5967932
Display P3color(display-p3 0.357 0.063 0.235)

Copy-ready code

/* CSS */
color: #5b103c;
background-color: #5b103c;
/* Tailwind (arbitrary) */
class="text-[#5b103c] bg-[#5b103c]"
/* SCSS */
$brand: #5b103c;
/* SwiftUI */
Color(red: 0.357, green: 0.063, blue: 0.235)
/* Android */
Color.parseColor("#5b103c")
/* Flutter */
Color(0xFF5B103C)
/* Python / OpenCV (BGR) */
(60, 16, 91)

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 #5b103c · 13.26:1
Use #ffffffAAA at every size.
Aa
White text · 13.26:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.58:1
AA fail · AA large fail · AAA fail
Reading the other direction: #5b103c as text scores 13.26:1 on white and 1.58:1 on black.

Accessibility — WCAG contrast

Aa
#5b103c on white: 13.26:1
AA ✓ pass · AA-large · AAA
Aa
#5b103c on black: 1.58:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #1D273D
deuteranopia · #33343A
tritanopia · #620B24

Color scale — 50 to 950

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

#FCF3F8
#F8E7F1
#F2C9E1
#EEA0CE
#E670B5
#DD409C
#D02589
#AE1E72
#8B185C
#5b103c
#3F0E2B
Base = 900Lightest = 50 · #FCF3F8Darkest = 950 · #3F0E2B
:root {
  --brand-50: #FCF3F8;
  --brand-100: #F8E7F1;
  --brand-200: #F2C9E1;
  --brand-300: #EEA0CE;
  --brand-400: #E670B5;
  --brand-500: #DD409C;
  --brand-600: #D02589;
  --brand-700: #AE1E72;
  --brand-800: #8B185C;
  --brand-900: #5b103c;
  --brand-950: #3F0E2B;
  --brand: #5b103c;
  --brand-ink: #ffffff;
}

Colors that work with #5b103c

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#FAF4F8
Tinted page background
Border#EDC0DA
Hairlines and dividers
Muted text#9B4B7A
Captions on the surface
Accent#0E5D1B
Second voice, not a rival
Dark variant#6C1347
Hover, pressed, headers
Light variant#FBE9F4
Selected rows, tints
Dark surface#24141E
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 #5b103c

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
  • Text on black or near-black surfaces
  • 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#105B2F
Analogous left#55105B
Analogous right#5B1017
Split-complement 1#175B10
Split-complement 2#105B55
Triadic 1#3C5B10
Triadic 2#103C5B
Tetradic#5B5510

RGB percentages

Red35.7%
Green6.3%
Blue23.5%

CMYK percentages

Cyan0.0%
Magenta82.4%
Yellow34.1%
Key (black)64.3%

Color previews

#5b103c text on a black background

contrast 1.58:1

Card sample

#5b103c text on a white background

contrast 13.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(91, 16, 60, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(91, 16, 60, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5b103c;
background: linear-gradient(135deg, #5b103c, #5B1610);

Monochromatic scale

Palettes built from #5b103c

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.

#5b103c 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.

#5b103c, answered

What color is #5b103c?

#5b103c is a deep vivid magenta / pink, closest to Purple (ΔE2000 14.4). It sits at 325° on the hue wheel with 70% saturation and 21% lightness, which reads as warm.

What is the RGB value of #5b103c?

rgb(91, 16, 60) — 91 red, 16 green and 60 blue out of 255, or 35.7% / 6.3% / 23.5% by channel.

Is #5b103c a light or a dark color?

It is a dark color. Relative luminance is 0.0292 and perceived brightness is 22%, so white text on it reaches 13.26:1.

Should I use black or white text on #5b103c?

White. It scores 13.26:1 against #5b103c, versus 1.58:1 for black — AAA at any size.

What is the complementary color of #5b103c?

#105B2F sits directly opposite on the wheel. Softer options are the split-complements #175B10 and #105B55, which give the same contrast with far less vibration.

What colors go well with #5b103c?

For interface work: #FAF4F8 as the surface, #EDC0DA for borders, #9B4B7A for secondary text, #0E5D1B as an accent and #6C1347 for hover and pressed states. For a palette, the analogous pair #55105B and #5B1017 stays calm, while #105B2F is the loudest partner.

What is #5b103c in CMYK for printing?

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

Is #5b103c warm or cool?

Warm — it scores 36 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5B1021; nudged cooler, #5C0F59.

Work with #5b103c in the Color Lab