Skip to content

#9c0a21

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

RGB
156, 10, 33
HSL
351°, 88%, 33%
CMYK
0, 94, 79, 39
Luminance
0.0739

At a glance

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

Hex
#9c0a21
Hue
351°
red
Saturation
88%
electric
Lightness
33%
dark
Brightness
61%
HSV value
Perceived
34%
weighted brightness
Luminance
0.0739
WCAG relative
Temperature
Warm
22/100 cool
Color family
Red
Tone
Electric
Best ink
White
8.47:1
Closest name
Brown
ΔE2000 4.5
Where it sits
Hue351° of 360°
Saturation88%
Lightness33%
Temperature
Warm ← → Cool22% 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#9c0a21
RGBrgb(156, 10, 33)
HSLhsl(351, 88%, 33%)
CMYKcmyk(0%, 94%, 79%, 39%)
LABlab(32.7 54.8 30.1)
LCHlch(32.7 62.5 28.8)
OKLCHoklch(0.441 0.172 22.6)
Decimal10226209
Display P3color(display-p3 0.612 0.039 0.129)

Copy-ready code

/* CSS */
color: #9c0a21;
background-color: #9c0a21;
/* Tailwind (arbitrary) */
class="text-[#9c0a21] bg-[#9c0a21]"
/* SCSS */
$brand: #9c0a21;
/* SwiftUI */
Color(red: 0.612, green: 0.039, blue: 0.129)
/* Android */
Color.parseColor("#9c0a21")
/* Flutter */
Color(0xFF9C0A21)
/* Python / OpenCV (BGR) */
(33, 10, 156)

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

Accessibility — WCAG contrast

Aa
#9c0a21 on white: 8.47:1
AA ✓ pass · AA-large · AAA
Aa
#9c0a21 on black: 2.48:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #403A20
deuteranopia · #62571B
tritanopia · #AC0017

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #9c0a21 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
#F896A5
#F56178
#F22C4B
#E60F31
#C00C29
#9c0a21
#6F0C1B
#450711
Base = 800Lightest = 50 · #FDF2F4Darkest = 950 · #450711
:root {
  --brand-50: #FDF2F4;
  --brand-100: #FAE5E8;
  --brand-200: #F8C4CC;
  --brand-300: #F896A5;
  --brand-400: #F56178;
  --brand-500: #F22C4B;
  --brand-600: #E60F31;
  --brand-700: #C00C29;
  --brand-800: #9c0a21;
  --brand-900: #6F0C1B;
  --brand-950: #450711;
  --brand: #9c0a21;
  --brand-ink: #ffffff;
}

Colors that work with #9c0a21

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#EDC0C7
Hairlines and dividers
Muted text#9B4B57
Captions on the surface
Accent#079F61
Second voice, not a rival
Dark variant#780819
Hover, pressed, headers
Light variant#FDE7EB
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 #9c0a21

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#0A9C85
Analogous left#9C0A6A
Analogous right#9C3C0A
Split-complement 1#0A9C3C
Split-complement 2#0A6A9C
Triadic 1#219C0A
Triadic 2#0A219C
Tetradic#6A9C0A

RGB percentages

Red61.2%
Green3.9%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta93.6%
Yellow78.8%
Key (black)38.8%

Color previews

#9c0a21 text on a black background

contrast 2.48:1

Card sample

#9c0a21 text on a white background

contrast 8.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(156, 10, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(156, 10, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9c0a21;
background: linear-gradient(135deg, #9c0a21, #9C540A);

Monochromatic scale

Palettes built from #9c0a21

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.

#9c0a21 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.

#9c0a21, answered

What color is #9c0a21?

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

What is the RGB value of #9c0a21?

rgb(156, 10, 33) — 156 red, 10 green and 33 blue out of 255, or 61.2% / 3.9% / 12.9% by channel.

Is #9c0a21 a light or a dark color?

It is a dark color. Relative luminance is 0.0739 and perceived brightness is 34%, so white text on it reaches 8.47:1.

Should I use black or white text on #9c0a21?

White. It scores 8.47:1 against #9c0a21, versus 2.48:1 for black — AAA at any size.

What is the complementary color of #9c0a21?

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

What colors go well with #9c0a21?

For interface work: #FAF4F5 as the surface, #EDC0C7 for borders, #9B4B57 for secondary text, #079F61 as an accent and #780819 for hover and pressed states. For a palette, the analogous pair #9C0A6A and #9C3C0A stays calm, while #0A9C85 is the loudest partner.

What is #9c0a21 in CMYK for printing?

cmyk(0%, 94%, 79%, 39%). 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 #9c0a21 warm or cool?

Warm — it scores 22 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #9C280A; nudged cooler, #9D0857.

Work with #9c0a21 in the Color Lab