Skip to content

#971f21

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

RGB
151, 31, 33
HSL
359°, 66%, 36%
CMYK
0, 80, 78, 41
Luminance
0.0767

At a glance

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

Hex
#971f21
Hue
359°
red
Saturation
66%
vivid
Lightness
36%
dark
Brightness
59%
HSV value
Perceived
34%
weighted brightness
Luminance
0.0767
WCAG relative
Temperature
Warm
17/100 cool
Color family
Red
Tone
Vivid
Best ink
White
8.29:1
Closest name
Brown
ΔE2000 3.5
Where it sits
Hue359° of 360°
Saturation66%
Lightness36%
Temperature
Warm ← → Cool17% 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#971f21
RGBrgb(151, 31, 33)
HSLhsl(359, 66%, 36%)
CMYKcmyk(0%, 80%, 78%, 41%)
LABlab(33.3 48.6 30.4)
LCHlch(33.3 57.4 32.1)
OKLCHoklch(0.444 0.156 25.6)
Decimal9903905
Display P3color(display-p3 0.592 0.122 0.129)

Copy-ready code

/* CSS */
color: #971f21;
background-color: #971f21;
/* Tailwind (arbitrary) */
class="text-[#971f21] bg-[#971f21]"
/* SCSS */
$brand: #971f21;
/* SwiftUI */
Color(red: 0.592, green: 0.122, blue: 0.129)
/* Android */
Color.parseColor("#971f21")
/* Flutter */
Color(0xFF971F21)
/* Python / OpenCV (BGR) */
(33, 31, 151)

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

Accessibility — WCAG contrast

Aa
#971f21 on white: 8.29:1
AA ✓ pass · AA-large · AAA
Aa
#971f21 on black: 2.53:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #443E20
deuteranopia · #62581C
tritanopia · #A70021

Color scale — 50 to 950

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

#FBF3F4
#F8E8E8
#F1CBCB
#ECA2A3
#E27375
#D94547
#CB2A2C
#A92325
#971f21
#621819
#3D0F10
Base = 800Lightest = 50 · #FBF3F4Darkest = 950 · #3D0F10
:root {
  --brand-50: #FBF3F4;
  --brand-100: #F8E8E8;
  --brand-200: #F1CBCB;
  --brand-300: #ECA2A3;
  --brand-400: #E27375;
  --brand-500: #D94547;
  --brand-600: #CB2A2C;
  --brand-700: #A92325;
  --brand-800: #971f21;
  --brand-900: #621819;
  --brand-950: #3D0F10;
  --brand: #971f21;
  --brand-ink: #ffffff;
}

Colors that work with #971f21

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#FAF4F4
Tinted page background
Border#EDC0C1
Hairlines and dividers
Muted text#9B4B4C
Captions on the surface
Accent#1B9B79
Second voice, not a rival
Dark variant#6A1617
Hover, pressed, headers
Light variant#FBEAEA
Selected rows, tints
Dark surface#241414
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 #971f21

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#1F9795
Analogous left#971F5D
Analogous right#97591F
Split-complement 1#1F9759
Split-complement 2#1F5D97
Triadic 1#21971F
Triadic 2#1F2197
Tetradic#5D971F

RGB percentages

Red59.2%
Green12.2%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta79.5%
Yellow78.1%
Key (black)40.8%

Color previews

#971f21 text on a black background

contrast 2.53:1

Card sample

#971f21 text on a white background

contrast 8.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(151, 31, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(151, 31, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #971f21;
background: linear-gradient(135deg, #971f21, #976D1F);

Monochromatic scale

Palettes built from #971f21

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.

#971f21 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.

#971f21, answered

What color is #971f21?

#971f21 is a dark vivid red, closest to Brown (ΔE2000 3.5). It sits at 359° on the hue wheel with 66% saturation and 36% lightness, which reads as warm.

What is the RGB value of #971f21?

rgb(151, 31, 33) — 151 red, 31 green and 33 blue out of 255, or 59.2% / 12.2% / 12.9% by channel.

Is #971f21 a light or a dark color?

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

Should I use black or white text on #971f21?

White. It scores 8.29:1 against #971f21, versus 2.53:1 for black — AAA at any size.

What is the complementary color of #971f21?

#1F9795 sits directly opposite on the wheel. Softer options are the split-complements #1F9759 and #1F5D97, which give the same contrast with far less vibration.

What colors go well with #971f21?

For interface work: #FAF4F4 as the surface, #EDC0C1 for borders, #9B4B4C for secondary text, #1B9B79 as an accent and #6A1617 for hover and pressed states. For a palette, the analogous pair #971F5D and #97591F stays calm, while #1F9795 is the loudest partner.

What is #971f21 in CMYK for printing?

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

Is #971f21 warm or cool?

Warm — it scores 17 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #97401F; nudged cooler, #991D4D.

Work with #971f21 in the Color Lab