#97331f
a dark, vivid red · warm · closest name: Brown
At a glance
Every number on this page in one read: what #97331f is made of, how bright it looks, and which way it leans.
Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #97331f |
| RGB | rgb(151, 51, 31) |
| HSL | hsl(10, 66%, 36%) |
| CMYK | cmyk(0%, 66%, 80%, 41%) |
| LAB | lab(36.1 40.8 34.5) |
| LCH | lch(36.1 53.5 40.2) |
| OKLCH | oklch(0.465 0.138 33.2) |
| Decimal | 9909023 |
| Display P3 | color(display-p3 0.592 0.200 0.122) |
Copy-ready code
/* CSS */
color: #97331f;
background-color: #97331f;
/* Tailwind (arbitrary) */
class="text-[#97331f] bg-[#97331f]"
/* SCSS */
$brand: #97331f;
/* SwiftUI */
Color(red: 0.592, green: 0.200, blue: 0.122)
/* Android */
Color.parseColor("#97331f")
/* Flutter */
Color(0xFF97331F)
/* Python / OpenCV (BGR) */
(31, 51, 151)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #97331f 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.
:root {
--brand-50: #FBF5F3;
--brand-100: #F8EAE8;
--brand-200: #F1D1CB;
--brand-300: #ECAEA2;
--brand-400: #E28673;
--brand-500: #D95E45;
--brand-600: #CB452A;
--brand-700: #A93923;
--brand-800: #97331f;
--brand-900: #622418;
--brand-950: #3D170F;
--brand: #97331f;
--brand-ink: #ffffff;
}Colors that work with #97331f
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #97331f
Derived from its contrast, chroma and lightness — not from taste.
- ✓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
- ⚠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 | #1F8397 | Directly opposite — maximum tension | |
| Analogous left | #971F47 | Neighbour, quieter | |
| Analogous right | #976F1F | Neighbour, quieter | |
| Split-complement 1 | #1F976F | Contrast without the clash | |
| Split-complement 2 | #1F4797 | Contrast without the clash | |
| Triadic 1 | #1F9733 | Even thirds — balanced and loud | |
| Triadic 2 | #331F97 | Even thirds — balanced and loud | |
| Tetradic | #47971F | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#97331f text on a black background
contrast 2.81:1
#97331f text on a white background
contrast 7.48:1
CSS3 live lab
The quick brown fox
color: #97331f;
background-color: #97331f;
Glowing headline
text-shadow: 2px 2px 8px #97331f;
Soft neon halo
text-shadow: 0 0 14px rgba(151, 51, 31, 0.45);
box-shadow: 0 12px 32px -8px rgba(151, 51, 31, 0.45);
border: 3px solid #97331f; background: linear-gradient(135deg, #97331f, #97831F);
Monochromatic scale
Palettes built from #97331f
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.
Closest color with a full write-up: Chestnut (#954535) — ΔE2000 5 away, with its history, psychology and brand usage.
#97331f in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#97331f, answered
What color is #97331f?
#97331f is a dark vivid red, closest to Brown (ΔE2000 5.5). It sits at 10° on the hue wheel with 66% saturation and 36% lightness, which reads as warm.
What is the RGB value of #97331f?
rgb(151, 51, 31) — 151 red, 51 green and 31 blue out of 255, or 59.2% / 20% / 12.2% by channel.
Is #97331f a light or a dark color?
It is a dark color. Relative luminance is 0.0905 and perceived brightness is 36%, so white text on it reaches 7.48:1.
Should I use black or white text on #97331f?
White. It scores 7.48:1 against #97331f, versus 2.81:1 for black — AAA at any size.
What is the complementary color of #97331f?
#1F8397 sits directly opposite on the wheel. Softer options are the split-complements #1F976F and #1F4797, which give the same contrast with far less vibration.
What colors go well with #97331f?
For interface work: #FAF5F4 as the surface, #EDC7C0 for borders, #9B584B for secondary text, #1B9B90 as an accent and #6A2416 for hover and pressed states. For a palette, the analogous pair #971F47 and #976F1F stays calm, while #1F8397 is the loudest partner.
What is #97331f in CMYK for printing?
cmyk(0%, 66%, 80%, 41%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #97331f warm or cool?
Warm — it scores 11 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #97471F; nudged cooler, #991D36.