Skip to content

#970b2f

a dark, electric magenta / pink · warm · closest name: Brown

RGB
151, 11, 47
HSL
345°, 86%, 32%
CMYK
0, 93, 69, 41
Luminance
0.0702

At a glance

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

Hex
#970b2f
Hue
345°
magenta / pink
Saturation
86%
electric
Lightness
32%
dark
Brightness
59%
HSV value
Perceived
33%
weighted brightness
Luminance
0.0702
WCAG relative
Temperature
Warm
25/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
8.73:1
Closest name
Brown
ΔE2000 8
Where it sits
Hue345° of 360°
Saturation86%
Lightness32%
Temperature
Warm ← → Cool25% 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#970b2f
RGBrgb(151, 11, 47)
HSLhsl(345, 86%, 32%)
CMYKcmyk(0%, 93%, 69%, 41%)
LABlab(31.9 53.9 19.9)
LCHlch(31.9 57.5 20.3)
OKLCHoklch(0.434 0.167 16.3)
Decimal9898799
Display P3color(display-p3 0.592 0.043 0.184)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#970b2f on white: 8.73:1
AA ✓ pass · AA-large · AAA
Aa
#970b2f on black: 2.40:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #3C392F
deuteranopia · #5D552B
tritanopia · #A6001D

Color scale — 50 to 950

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

#FDF2F5
#FAE5EB
#F7C5D2
#F796AF
#F46287
#F02E60
#E41147
#BE0E3B
#970b2f
#6E0D26
#450817
Base = 800Lightest = 50 · #FDF2F5Darkest = 950 · #450817
:root {
  --brand-50: #FDF2F5;
  --brand-100: #FAE5EB;
  --brand-200: #F7C5D2;
  --brand-300: #F796AF;
  --brand-400: #F46287;
  --brand-500: #F02E60;
  --brand-600: #E41147;
  --brand-700: #BE0E3B;
  --brand-800: #970b2f;
  --brand-900: #6E0D26;
  --brand-950: #450817;
  --brand: #970b2f;
  --brand-ink: #ffffff;
}

Colors that work with #970b2f

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#FAF4F6
Tinted page background
Border#EDC0CB
Hairlines and dividers
Muted text#9B4B5F
Captions on the surface
Accent#089A50
Second voice, not a rival
Dark variant#770925
Hover, pressed, headers
Light variant#FDE7ED
Selected rows, tints
Dark surface#241418
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 #970b2f

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#0B9773
Analogous left#970B75
Analogous right#972D0B
Split-complement 1#0B972D
Split-complement 2#0B7597
Triadic 1#2F970B
Triadic 2#0B2F97
Tetradic#75970B

RGB percentages

Red59.2%
Green4.3%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta92.7%
Yellow68.9%
Key (black)40.8%

Color previews

#970b2f text on a black background

contrast 2.40:1

Card sample

#970b2f text on a white background

contrast 8.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(151, 11, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(151, 11, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #970b2f;
background: linear-gradient(135deg, #970b2f, #97440B);

Monochromatic scale

Palettes built from #970b2f

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.

#970b2f in the real world

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

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
ButtonsLinksFocus statesCharts
Print note

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

#970b2f, answered

What color is #970b2f?

#970b2f is a dark electric magenta / pink, closest to Brown (ΔE2000 8). It sits at 345° on the hue wheel with 86% saturation and 32% lightness, which reads as warm.

What is the RGB value of #970b2f?

rgb(151, 11, 47) — 151 red, 11 green and 47 blue out of 255, or 59.2% / 4.3% / 18.4% by channel.

Is #970b2f a light or a dark color?

It is a dark color. Relative luminance is 0.0702 and perceived brightness is 33%, so white text on it reaches 8.73:1.

Should I use black or white text on #970b2f?

White. It scores 8.73:1 against #970b2f, versus 2.40:1 for black — AAA at any size.

What is the complementary color of #970b2f?

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

What colors go well with #970b2f?

For interface work: #FAF4F6 as the surface, #EDC0CB for borders, #9B4B5F for secondary text, #089A50 as an accent and #770925 for hover and pressed states. For a palette, the analogous pair #970B75 and #972D0B stays calm, while #0B9773 is the loudest partner.

What is #970b2f in CMYK for printing?

cmyk(0%, 93%, 69%, 41%). 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 #970b2f warm or cool?

Warm — it scores 25 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #971A0B; nudged cooler, #990963.

Work with #970b2f in the Color Lab