#9c0421
a dark, electric red · warm · closest name: Brown
At a glance
Every number on this page in one read: what #9c0421 is made of, how bright it looks, and which way it leans.
Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #9c0421 |
| RGB | rgb(156, 4, 33) |
| HSL | hsl(349, 95%, 31%) |
| CMYK | cmyk(0%, 97%, 79%, 39%) |
| LAB | lab(32.4 55.6 29.8) |
| LCH | lch(32.4 63.1 28.2) |
| OKLCH | oklch(0.439 0.175 22.0) |
| Decimal | 10224673 |
| Display P3 | color(display-p3 0.612 0.016 0.129) |
Copy-ready code
/* CSS */
color: #9c0421;
background-color: #9c0421;
/* Tailwind (arbitrary) */
class="text-[#9c0421] bg-[#9c0421]"
/* SCSS */
$brand: #9c0421;
/* SwiftUI */
Color(red: 0.612, green: 0.016, blue: 0.129)
/* Android */
Color.parseColor("#9c0421")
/* Flutter */
Color(0xFF9C0421)
/* Python / OpenCV (BGR) */
(33, 4, 156)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #9c0421 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.
:root {
--brand-50: #FDF1F4;
--brand-100: #FBE4E8;
--brand-200: #FAC2CC;
--brand-300: #FC92A6;
--brand-400: #FB5B79;
--brand-500: #F9244D;
--brand-600: #EF0632;
--brand-700: #C7052A;
--brand-800: #9c0421;
--brand-900: #73081C;
--brand-950: #480512;
--brand: #9c0421;
--brand-ink: #ffffff;
}Colors that work with #9c0421
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #9c0421
Derived from its contrast, chroma and lightness — not from taste.
- ✓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
- ⚠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 | #049C7F | Directly opposite — maximum tension | |
| Analogous left | #9C046D | Neighbour, quieter | |
| Analogous right | #9C3304 | Neighbour, quieter | |
| Split-complement 1 | #049C33 | Contrast without the clash | |
| Split-complement 2 | #046D9C | Contrast without the clash | |
| Triadic 1 | #219C04 | Even thirds — balanced and loud | |
| Triadic 2 | #04219C | Even thirds — balanced and loud | |
| Tetradic | #6D9C04 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#9c0421 text on a black background
contrast 2.45:1
#9c0421 text on a white background
contrast 8.56:1
CSS3 live lab
The quick brown fox
color: #9c0421;
background-color: #9c0421;
Glowing headline
text-shadow: 2px 2px 8px #9c0421;
Soft neon halo
text-shadow: 0 0 14px rgba(156, 4, 33, 0.45);
box-shadow: 0 12px 32px -8px rgba(156, 4, 33, 0.45);
border: 3px solid #9c0421; background: linear-gradient(135deg, #9c0421, #9C4D04);
Monochromatic scale
Palettes built from #9c0421
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.
Closest color with a full write-up: Sangria (#92000a) — ΔE2000 5.8 away, with its history, psychology and brand usage.
#9c0421 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.
#9c0421, answered
What color is #9c0421?
#9c0421 is a dark electric red, closest to Brown (ΔE2000 4.9). It sits at 349° on the hue wheel with 95% saturation and 31% lightness, which reads as warm.
What is the RGB value of #9c0421?
rgb(156, 4, 33) — 156 red, 4 green and 33 blue out of 255, or 61.2% / 1.6% / 12.9% by channel.
Is #9c0421 a light or a dark color?
It is a dark color. Relative luminance is 0.0726 and perceived brightness is 34%, so white text on it reaches 8.56:1.
Should I use black or white text on #9c0421?
White. It scores 8.56:1 against #9c0421, versus 2.45:1 for black — AAA at any size.
What is the complementary color of #9c0421?
#049C7F sits directly opposite on the wheel. Softer options are the split-complements #049C33 and #046D9C, which give the same contrast with far less vibration.
What colors go well with #9c0421?
For interface work: #FAF4F5 as the surface, #EDC0C8 for borders, #9B4B5A for secondary text, #019F5A as an accent and #7C031A for hover and pressed states. For a palette, the analogous pair #9C046D and #9C3304 stays calm, while #049C7F is the loudest partner.
What is #9c0421 in CMYK for printing?
cmyk(0%, 97%, 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 #9c0421 warm or cool?
Warm — it scores 23 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #9C1F04; nudged cooler, #9E0259.