Skip to content

#a5103c

a dark, electric magenta / pink · warm · closest name: Brown

RGB
165, 16, 60
HSL
342°, 82%, 36%
CMYK
0, 90, 64, 35
Luminance
0.0870

At a glance

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

Hex
#a5103c
Hue
342°
magenta / pink
Saturation
82%
electric
Lightness
36%
dark
Brightness
65%
HSV value
Perceived
37%
weighted brightness
Luminance
0.0870
WCAG relative
Temperature
Warm
27/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
7.67:1
Closest name
Brown
ΔE2000 9.1
Where it sits
Hue342° of 360°
Saturation82%
Lightness36%
Temperature
Warm ← → Cool27% 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#a5103c
RGBrgb(165, 16, 60)
HSLhsl(342, 82%, 36%)
CMYKcmyk(0%, 90%, 64%, 35%)
LABlab(35.4 57.5 16.6)
LCHlch(35.4 59.8 16.1)
OKLCHoklch(0.466 0.178 13.1)
Decimal10817596
Display P3color(display-p3 0.647 0.063 0.235)

Copy-ready code

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

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

Accessibility — WCAG contrast

Aa
#a5103c on white: 7.67:1
AA ✓ pass · AA-large · AAA
Aa
#a5103c on black: 2.74:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #41403C
deuteranopia · #665E38
tritanopia · #B50026

Color scale — 50 to 950

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

#FCF2F5
#FAE6EC
#F6C6D4
#F599B4
#F0668E
#EB3269
#DF1651
#BA1244
#a5103c
#6C0F2A
#43091A
Base = 800Lightest = 50 · #FCF2F5Darkest = 950 · #43091A
:root {
  --brand-50: #FCF2F5;
  --brand-100: #FAE6EC;
  --brand-200: #F6C6D4;
  --brand-300: #F599B4;
  --brand-400: #F0668E;
  --brand-500: #EB3269;
  --brand-600: #DF1651;
  --brand-700: #BA1244;
  --brand-800: #a5103c;
  --brand-900: #6C0F2A;
  --brand-950: #43091A;
  --brand: #a5103c;
  --brand-ink: #ffffff;
}

Colors that work with #a5103c

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#FAF4F6
Tinted page background
Border#EDC0CD
Hairlines and dividers
Muted text#9B4B62
Captions on the surface
Accent#0EBE5D
Second voice, not a rival
Dark variant#740B2A
Hover, pressed, headers
Light variant#FDE8EE
Selected rows, tints
Dark surface#241419
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 #a5103c

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#10A579
Analogous left#A51086
Analogous right#A52F10
Split-complement 1#10A52F
Split-complement 2#1086A5
Triadic 1#3CA510
Triadic 2#103CA5
Tetradic#86A510

RGB percentages

Red64.7%
Green6.3%
Blue23.5%

CMYK percentages

Cyan0.0%
Magenta90.3%
Yellow63.6%
Key (black)35.3%

Color previews

#a5103c text on a black background

contrast 2.74:1

Card sample

#a5103c text on a white background

contrast 7.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a5103c

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.

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

#a5103c, answered

What color is #a5103c?

#a5103c is a dark electric magenta / pink, closest to Brown (ΔE2000 9.1). It sits at 342° on the hue wheel with 82% saturation and 36% lightness, which reads as warm.

What is the RGB value of #a5103c?

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

Is #a5103c a light or a dark color?

It is a dark color. Relative luminance is 0.0870 and perceived brightness is 37%, so white text on it reaches 7.67:1.

Should I use black or white text on #a5103c?

White. It scores 7.67:1 against #a5103c, versus 2.74:1 for black — AAA at any size.

What is the complementary color of #a5103c?

#10A579 sits directly opposite on the wheel. Softer options are the split-complements #10A52F and #1086A5, which give the same contrast with far less vibration.

What colors go well with #a5103c?

For interface work: #FAF4F6 as the surface, #EDC0CD for borders, #9B4B62 for secondary text, #0EBE5D as an accent and #740B2A for hover and pressed states. For a palette, the analogous pair #A51086 and #A52F10 stays calm, while #10A579 is the loudest partner.

What is #a5103c in CMYK for printing?

cmyk(0%, 90%, 64%, 35%). 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 #a5103c warm or cool?

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

Work with #a5103c in the Color Lab