Skip to content

#9d1821

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

RGB
157, 24, 33
HSL
356°, 74%, 36%
CMYK
0, 85, 79, 38
Luminance
0.0793

At a glance

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

Hex
#9d1821
Hue
356°
red
Saturation
74%
vivid
Lightness
36%
dark
Brightness
62%
HSV value
Perceived
35%
weighted brightness
Luminance
0.0793
WCAG relative
Temperature
Warm
19/100 cool
Color family
Red
Tone
Vivid
Best ink
White
8.12:1
Closest name
Brown
ΔE2000 3.2
Where it sits
Hue356° of 360°
Saturation74%
Lightness36%
Temperature
Warm ← → Cool19% 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#9d1821
RGBrgb(157, 24, 33)
HSLhsl(356, 74%, 36%)
CMYKcmyk(0%, 85%, 79%, 38%)
LABlab(33.8 52.4 31.4)
LCHlch(33.8 61.1 31.0)
OKLCHoklch(0.450 0.167 24.5)
Decimal10295329
Display P3color(display-p3 0.616 0.094 0.129)

Copy-ready code

/* CSS */
color: #9d1821;
background-color: #9d1821;
/* Tailwind (arbitrary) */
class="text-[#9d1821] bg-[#9d1821]"
/* SCSS */
$brand: #9d1821;
/* SwiftUI */
Color(red: 0.616, green: 0.094, blue: 0.129)
/* Android */
Color.parseColor("#9d1821")
/* Flutter */
Color(0xFF9D1821)
/* Python / OpenCV (BGR) */
(33, 24, 157)

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

Accessibility — WCAG contrast

Aa
#9d1821 on white: 8.12:1
AA ✓ pass · AA-large · AAA
Aa
#9d1821 on black: 2.59:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #443D20
deuteranopia · #645A1B
tritanopia · #AD001D

Color scale — 50 to 950

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

#FCF3F4
#F8E7E8
#F3C8CB
#F09EA3
#E96D75
#E13C48
#D4202D
#B11B25
#9d1821
#671419
#400C10
Base = 800Lightest = 50 · #FCF3F4Darkest = 950 · #400C10
:root {
  --brand-50: #FCF3F4;
  --brand-100: #F8E7E8;
  --brand-200: #F3C8CB;
  --brand-300: #F09EA3;
  --brand-400: #E96D75;
  --brand-500: #E13C48;
  --brand-600: #D4202D;
  --brand-700: #B11B25;
  --brand-800: #9d1821;
  --brand-900: #671419;
  --brand-950: #400C10;
  --brand: #9d1821;
  --brand-ink: #ffffff;
}

Colors that work with #9d1821

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#EDC0C3
Hairlines and dividers
Muted text#9B4B50
Captions on the surface
Accent#14A174
Second voice, not a rival
Dark variant#6F1117
Hover, pressed, headers
Light variant#FCE9EA
Selected rows, tints
Dark surface#241415
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 #9d1821

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#189D94
Analogous left#9D1864
Analogous right#9D5118
Split-complement 1#189D51
Split-complement 2#18649D
Triadic 1#219D18
Triadic 2#18219D
Tetradic#649D18

RGB percentages

Red61.6%
Green9.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta84.7%
Yellow79.0%
Key (black)38.4%

Color previews

#9d1821 text on a black background

contrast 2.59:1

Card sample

#9d1821 text on a white background

contrast 8.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9d1821

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.

#9d1821 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

Converts to four-color process without much drama. Proof it anyway.

#9d1821, answered

What color is #9d1821?

#9d1821 is a dark vivid red, closest to Brown (ΔE2000 3.2). It sits at 356° on the hue wheel with 74% saturation and 36% lightness, which reads as warm.

What is the RGB value of #9d1821?

rgb(157, 24, 33) — 157 red, 24 green and 33 blue out of 255, or 61.6% / 9.4% / 12.9% by channel.

Is #9d1821 a light or a dark color?

It is a dark color. Relative luminance is 0.0793 and perceived brightness is 35%, so white text on it reaches 8.12:1.

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

White. It scores 8.12:1 against #9d1821, versus 2.59:1 for black — AAA at any size.

What is the complementary color of #9d1821?

#189D94 sits directly opposite on the wheel. Softer options are the split-complements #189D51 and #18649D, which give the same contrast with far less vibration.

What colors go well with #9d1821?

For interface work: #FAF4F5 as the surface, #EDC0C3 for borders, #9B4B50 for secondary text, #14A174 as an accent and #6F1117 for hover and pressed states. For a palette, the analogous pair #9D1864 and #9D5118 stays calm, while #189D94 is the loudest partner.

What is #9d1821 in CMYK for printing?

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

Is #9d1821 warm or cool?

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

Work with #9d1821 in the Color Lab