Skip to content

#a50b21

a dark, electric red · warm · closest name: Brown

RGB
165, 11, 33
HSL
351°, 88%, 35%
CMYK
0, 93, 80, 35
Luminance
0.0835

At a glance

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

Hex
#a50b21
Hue
351°
red
Saturation
88%
electric
Lightness
35%
dark
Brightness
65%
HSV value
Perceived
36%
weighted brightness
Luminance
0.0835
WCAG relative
Temperature
Warm
21/100 cool
Color family
Red
Tone
Electric
Best ink
White
7.87:1
Closest name
Brown
ΔE2000 3.2
Where it sits
Hue351° of 360°
Saturation88%
Lightness35%
Temperature
Warm ← → Cool21% 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#a50b21
RGBrgb(165, 11, 33)
HSLhsl(351, 88%, 35%)
CMYKcmyk(0%, 93%, 80%, 35%)
LABlab(34.7 57.0 32.8)
LCHlch(34.7 65.8 29.9)
OKLCHoklch(0.459 0.180 23.4)
Decimal10816289
Display P3color(display-p3 0.647 0.043 0.129)

Copy-ready code

/* CSS */
color: #a50b21;
background-color: #a50b21;
/* Tailwind (arbitrary) */
class="text-[#a50b21] bg-[#a50b21]"
/* SCSS */
$brand: #a50b21;
/* SwiftUI */
Color(red: 0.647, green: 0.043, blue: 0.129)
/* Android */
Color.parseColor("#a50b21")
/* Flutter */
Color(0xFFA50B21)
/* Python / OpenCV (BGR) */
(33, 11, 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 #a50b21 · 7.87:1
Use #ffffffAAA at every size.
Aa
White text · 7.87:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.67:1
AA fail · AA large fail · AAA fail
Reading the other direction: #a50b21 as text scores 7.87:1 on white and 2.67:1 on black.

Accessibility — WCAG contrast

Aa
#a50b21 on white: 7.87:1
AA ✓ pass · AA-large · AAA
Aa
#a50b21 on black: 2.67:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #443D20
deuteranopia · #685D1A
tritanopia · #B60017

Color scale — 50 to 950

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

#FDF2F4
#FAE5E8
#F8C4CC
#F896A4
#F46176
#F12D49
#E50F2E
#BF0D26
#a50b21
#6E0C1A
#450710
Base = 800Lightest = 50 · #FDF2F4Darkest = 950 · #450710
:root {
  --brand-50: #FDF2F4;
  --brand-100: #FAE5E8;
  --brand-200: #F8C4CC;
  --brand-300: #F896A4;
  --brand-400: #F46176;
  --brand-500: #F12D49;
  --brand-600: #E50F2E;
  --brand-700: #BF0D26;
  --brand-800: #a50b21;
  --brand-900: #6E0C1A;
  --brand-950: #450710;
  --brand: #a50b21;
  --brand-ink: #ffffff;
}

Colors that work with #a50b21

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#FAF4F5
Tinted page background
Border#EDC0C6
Hairlines and dividers
Muted text#9B4B56
Captions on the surface
Accent#08C47A
Second voice, not a rival
Dark variant#780818
Hover, pressed, headers
Light variant#FDE7EA
Selected rows, tints
Dark surface#241416
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 #a50b21

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#0BA58F
Analogous left#A50B6E
Analogous right#A5420B
Split-complement 1#0BA542
Split-complement 2#0B6EA5
Triadic 1#21A50B
Triadic 2#0B21A5
Tetradic#6EA50B

RGB percentages

Red64.7%
Green4.3%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta93.3%
Yellow80.0%
Key (black)35.3%

Color previews

#a50b21 text on a black background

contrast 2.67:1

Card sample

#a50b21 text on a white background

contrast 7.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a50b21

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.

#a50b21 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Food and drinkEntertainmentRetailSport
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#a50b21, answered

What color is #a50b21?

#a50b21 is a dark electric red, closest to Brown (ΔE2000 3.2). It sits at 351° on the hue wheel with 88% saturation and 35% lightness, which reads as warm.

What is the RGB value of #a50b21?

rgb(165, 11, 33) — 165 red, 11 green and 33 blue out of 255, or 64.7% / 4.3% / 12.9% by channel.

Is #a50b21 a light or a dark color?

It is a dark color. Relative luminance is 0.0835 and perceived brightness is 36%, so white text on it reaches 7.87:1.

Should I use black or white text on #a50b21?

White. It scores 7.87:1 against #a50b21, versus 2.67:1 for black — AAA at any size.

What is the complementary color of #a50b21?

#0BA58F sits directly opposite on the wheel. Softer options are the split-complements #0BA542 and #0B6EA5, which give the same contrast with far less vibration.

What colors go well with #a50b21?

For interface work: #FAF4F5 as the surface, #EDC0C6 for borders, #9B4B56 for secondary text, #08C47A as an accent and #780818 for hover and pressed states. For a palette, the analogous pair #A50B6E and #A5420B stays calm, while #0BA58F is the loudest partner.

What is #a50b21 in CMYK for printing?

cmyk(0%, 93%, 80%, 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 #a50b21 warm or cool?

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

Work with #a50b21 in the Color Lab