Skip to content

#9f2c2c

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

RGB
159, 44, 44
HSL
0°, 57%, 40%
CMYK
0, 72, 72, 38
Luminance
0.0935

At a glance

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

Hex
#9f2c2c
Hue
red
Saturation
57%
vivid
Lightness
40%
dark
Brightness
62%
HSV value
Perceived
37%
weighted brightness
Luminance
0.0935
WCAG relative
Temperature
Warm
17/100 cool
Color family
Red
Tone
Vivid
Best ink
White
7.31:1
Closest name
Brown
ΔE2000 1.3
Where it sits
Hue0° of 360°
Saturation57%
Lightness40%
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#9f2c2c
RGBrgb(159, 44, 44)
HSLhsl(0, 57%, 40%)
CMYKcmyk(0%, 72%, 72%, 38%)
LABlab(36.7 47.1 28.0)
LCHlch(36.7 54.8 30.8)
OKLCHoklch(0.472 0.151 25.1)
Decimal10431532
Display P3color(display-p3 0.624 0.173 0.173)

Copy-ready code

/* CSS */
color: #9f2c2c;
background-color: #9f2c2c;
/* Tailwind (arbitrary) */
class="text-[#9f2c2c] bg-[#9f2c2c]"
/* SCSS */
$brand: #9f2c2c;
/* SwiftUI */
Color(red: 0.624, green: 0.173, blue: 0.173)
/* Android */
Color.parseColor("#9f2c2c")
/* Flutter */
Color(0xFF9F2C2C)
/* Python / OpenCV (BGR) */
(44, 44, 159)

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

Accessibility — WCAG contrast

Aa
#9f2c2c on white: 7.31:1
AA ✓ pass · AA-large · AAA
Aa
#9f2c2c on black: 2.87:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4D462B
deuteranopia · #6A5F28
tritanopia · #AF002D

Color scale — 50 to 950

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

#FBF4F4
#F6E9E9
#EECDCD
#E7A7A7
#DB7B7B
#CE4F4F
#C03535
#9f2c2c
#802323
#5D1D1D
#3A1212
Base = 700Lightest = 50 · #FBF4F4Darkest = 950 · #3A1212
:root {
  --brand-50: #FBF4F4;
  --brand-100: #F6E9E9;
  --brand-200: #EECDCD;
  --brand-300: #E7A7A7;
  --brand-400: #DB7B7B;
  --brand-500: #CE4F4F;
  --brand-600: #C03535;
  --brand-700: #9f2c2c;
  --brand-800: #802323;
  --brand-900: #5D1D1D;
  --brand-950: #3A1212;
  --brand: #9f2c2c;
  --brand-ink: #ffffff;
}

Colors that work with #9f2c2c

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#EDC0C0
Hairlines and dividers
Muted text#9B4B4B
Captions on the surface
Accent#28A485
Second voice, not a rival
Dark variant#641C1C
Hover, pressed, headers
Light variant#F9EBEB
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 #9f2c2c

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#2C9F9F
Analogous left#9F2C65
Analogous right#9F652C
Split-complement 1#2C9F65
Split-complement 2#2C659F
Triadic 1#2C9F2C
Triadic 2#2C2C9F
Tetradic#659F2C

RGB percentages

Red62.4%
Green17.3%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta72.3%
Yellow72.3%
Key (black)37.6%

Color previews

#9f2c2c text on a black background

contrast 2.87:1

Card sample

#9f2c2c text on a white background

contrast 7.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(159, 44, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(159, 44, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9f2c2c;
background: linear-gradient(135deg, #9f2c2c, #9F792C);

Monochromatic scale

Palettes built from #9f2c2c

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.

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

#9f2c2c, answered

What color is #9f2c2c?

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

What is the RGB value of #9f2c2c?

rgb(159, 44, 44) — 159 red, 44 green and 44 blue out of 255, or 62.4% / 17.3% / 17.3% by channel.

Is #9f2c2c a light or a dark color?

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

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

White. It scores 7.31:1 against #9f2c2c, versus 2.87:1 for black — AAA at any size.

What is the complementary color of #9f2c2c?

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

What colors go well with #9f2c2c?

For interface work: #FAF4F4 as the surface, #EDC0C0 for borders, #9B4B4B for secondary text, #28A485 as an accent and #641C1C for hover and pressed states. For a palette, the analogous pair #9F2C65 and #9F652C stays calm, while #2C9F9F is the loudest partner.

What is #9f2c2c in CMYK for printing?

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

Is #9f2c2c 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 #9F4D2C; nudged cooler, #A12A56.

Work with #9f2c2c in the Color Lab