Skip to content

#9b2f39

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

RGB
155, 47, 57
HSL
354°, 54%, 40%
CMYK
0, 70, 63, 39
Luminance
0.0930

At a glance

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

Hex
#9b2f39
Hue
354°
red
Saturation
54%
vivid
Lightness
40%
dark
Brightness
61%
HSV value
Perceived
37%
weighted brightness
Luminance
0.0930
WCAG relative
Temperature
Warm
20/100 cool
Color family
Red
Tone
Vivid
Best ink
White
7.34:1
Closest name
Brown
ΔE2000 5.3
Where it sits
Hue354° of 360°
Saturation54%
Lightness40%
Temperature
Warm ← → Cool20% 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#9b2f39
RGBrgb(155, 47, 57)
HSLhsl(354, 54%, 40%)
CMYKcmyk(0%, 70%, 63%, 39%)
LABlab(36.5 45.3 19.7)
LCHlch(36.5 49.4 23.5)
OKLCHoklch(0.471 0.143 19.4)
Decimal10170169
Display P3color(display-p3 0.608 0.184 0.224)

Copy-ready code

/* CSS */
color: #9b2f39;
background-color: #9b2f39;
/* Tailwind (arbitrary) */
class="text-[#9b2f39] bg-[#9b2f39]"
/* SCSS */
$brand: #9b2f39;
/* SwiftUI */
Color(red: 0.608, green: 0.184, blue: 0.224)
/* Android */
Color.parseColor("#9b2f39")
/* Flutter */
Color(0xFF9B2F39)
/* Python / OpenCV (BGR) */
(57, 47, 155)

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

Accessibility — WCAG contrast

Aa
#9b2f39 on white: 7.34:1
AA ✓ pass · AA-large · AAA
Aa
#9b2f39 on black: 2.86:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4C4839
deuteranopia · #675E36
tritanopia · #AA1433

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #9b2f39 is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FBF4F5
#F6E9EB
#EDCED1
#E5A9AE
#D87E86
#CB535E
#BC3945
#9b2f39
#7D262E
#5B1F25
#391317
Base = 700Lightest = 50 · #FBF4F5Darkest = 950 · #391317
:root {
  --brand-50: #FBF4F5;
  --brand-100: #F6E9EB;
  --brand-200: #EDCED1;
  --brand-300: #E5A9AE;
  --brand-400: #D87E86;
  --brand-500: #CB535E;
  --brand-600: #BC3945;
  --brand-700: #9b2f39;
  --brand-800: #7D262E;
  --brand-900: #5B1F25;
  --brand-950: #391317;
  --brand: #9b2f39;
  --brand-ink: #ffffff;
}

Colors that work with #9b2f39

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#ECC0C4
Hairlines and dividers
Muted text#9B4B52
Captions on the surface
Accent#2B9F77
Second voice, not a rival
Dark variant#621E24
Hover, pressed, headers
Light variant#F9EBED
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 #9b2f39

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#2F9B91
Analogous left#9B2F6F
Analogous right#9B5B2F
Split-complement 1#2F9B5B
Split-complement 2#2F6F9B
Triadic 1#399B2F
Triadic 2#2F399B
Tetradic#6F9B2F

RGB percentages

Red60.8%
Green18.4%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta69.7%
Yellow63.2%
Key (black)39.2%

Color previews

#9b2f39 text on a black background

contrast 2.86:1

Card sample

#9b2f39 text on a white background

contrast 7.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(155, 47, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(155, 47, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9b2f39;
background: linear-gradient(135deg, #9b2f39, #9B6D2F);

Monochromatic scale

Palettes built from #9b2f39

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.

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

#9b2f39, answered

What color is #9b2f39?

#9b2f39 is a dark vivid red, closest to Brown (ΔE2000 5.3). It sits at 354° on the hue wheel with 54% saturation and 40% lightness, which reads as warm.

What is the RGB value of #9b2f39?

rgb(155, 47, 57) — 155 red, 47 green and 57 blue out of 255, or 60.8% / 18.4% / 22.4% by channel.

Is #9b2f39 a light or a dark color?

It is a dark color. Relative luminance is 0.0930 and perceived brightness is 37%, so white text on it reaches 7.34:1.

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

White. It scores 7.34:1 against #9b2f39, versus 2.86:1 for black — AAA at any size.

What is the complementary color of #9b2f39?

#2F9B91 sits directly opposite on the wheel. Softer options are the split-complements #2F9B5B and #2F6F9B, which give the same contrast with far less vibration.

What colors go well with #9b2f39?

For interface work: #FAF4F5 as the surface, #ECC0C4 for borders, #9B4B52 for secondary text, #2B9F77 as an accent and #621E24 for hover and pressed states. For a palette, the analogous pair #9B2F6F and #9B5B2F stays calm, while #2F9B91 is the loudest partner.

What is #9b2f39 in CMYK for printing?

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

Is #9b2f39 warm or cool?

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

Work with #9b2f39 in the Color Lab