Skip to content

#5f2513

a deep, vivid red · warm · closest name: Maroon

RGB
95, 37, 19
HSL
14°, 67%, 22%
CMYK
0, 61, 80, 63
Luminance
0.0380

At a glance

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

Hex
#5f2513
Hue
14°
red
Saturation
67%
vivid
Lightness
22%
deep
Brightness
37%
HSV value
Perceived
23%
weighted brightness
Luminance
0.0380
WCAG relative
Temperature
Warm
9/100 cool
Color family
Red
Tone
Vivid
Best ink
White
11.93:1
Closest name
Maroon
ΔE2000 9
Where it sits
Hue14° of 360°
Saturation67%
Lightness22%
Temperature
Warm ← → Cool9% 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#5f2513
RGBrgb(95, 37, 19)
HSLhsl(14, 67%, 22%)
CMYKcmyk(0%, 61%, 80%, 63%)
LABlab(23.0 25.2 24.6)
LCHlch(23.0 35.2 44.2)
OKLCHoklch(0.346 0.090 37.6)
Decimal6235411
Display P3color(display-p3 0.373 0.145 0.075)

Copy-ready code

/* CSS */
color: #5f2513;
background-color: #5f2513;
/* Tailwind (arbitrary) */
class="text-[#5f2513] bg-[#5f2513]"
/* SCSS */
$brand: #5f2513;
/* SwiftUI */
Color(red: 0.373, green: 0.145, blue: 0.075)
/* Android */
Color.parseColor("#5f2513")
/* Flutter */
Color(0xFF5F2513)
/* Python / OpenCV (BGR) */
(19, 37, 95)

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

Accessibility — WCAG contrast

Aa
#5f2513 on white: 11.93:1
AA ✓ pass · AA-large · AAA
Aa
#5f2513 on black: 1.76:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #352F11
deuteranopia · #433C11
tritanopia · #691821

Color scale — 50 to 950

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

#FBF5F3
#F8ECE8
#F1D4CA
#ECB3A1
#E38D73
#DA6744
#CC4F29
#AA4222
#88351B
#5f2513
#3E1A0F
Base = 900Lightest = 50 · #FBF5F3Darkest = 950 · #3E1A0F
:root {
  --brand-50: #FBF5F3;
  --brand-100: #F8ECE8;
  --brand-200: #F1D4CA;
  --brand-300: #ECB3A1;
  --brand-400: #E38D73;
  --brand-500: #DA6744;
  --brand-600: #CC4F29;
  --brand-700: #AA4222;
  --brand-800: #88351B;
  --brand-900: #5f2513;
  --brand-950: #3E1A0F;
  --brand: #5f2513;
  --brand-ink: #ffffff;
}

Colors that work with #5f2513

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#FAF6F4
Tinted page background
Border#EDCAC0
Hairlines and dividers
Muted text#9B5E4B
Captions on the surface
Accent#116260
Second voice, not a rival
Dark variant#6A2915
Hover, pressed, headers
Light variant#FBEEEA
Selected rows, tints
Dark surface#241814
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 #5f2513

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#134D5F
Analogous left#5F1327
Analogous right#5F4B13
Split-complement 1#135F4B
Split-complement 2#13275F
Triadic 1#135F25
Triadic 2#25135F
Tetradic#275F13

RGB percentages

Red37.3%
Green14.5%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta61.1%
Yellow80.0%
Key (black)62.7%

Color previews

#5f2513 text on a black background

contrast 1.76:1

Card sample

#5f2513 text on a white background

contrast 11.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #5f2513;
Background color
Panel with #5f2513 background
background-color: #5f2513;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #5f2513;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(95, 37, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(95, 37, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5f2513;
background: linear-gradient(135deg, #5f2513, #5F5813);

Monochromatic scale

Palettes built from #5f2513

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.

#5f2513 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.

#5f2513, answered

What color is #5f2513?

#5f2513 is a deep vivid red, closest to Maroon (ΔE2000 9). It sits at 14° on the hue wheel with 67% saturation and 22% lightness, which reads as warm.

What is the RGB value of #5f2513?

rgb(95, 37, 19) — 95 red, 37 green and 19 blue out of 255, or 37.3% / 14.5% / 7.5% by channel.

Is #5f2513 a light or a dark color?

It is a dark color. Relative luminance is 0.0380 and perceived brightness is 23%, so white text on it reaches 11.93:1.

Should I use black or white text on #5f2513?

White. It scores 11.93:1 against #5f2513, versus 1.76:1 for black — AAA at any size.

What is the complementary color of #5f2513?

#134D5F sits directly opposite on the wheel. Softer options are the split-complements #135F4B and #13275F, which give the same contrast with far less vibration.

What colors go well with #5f2513?

For interface work: #FAF6F4 as the surface, #EDCAC0 for borders, #9B5E4B for secondary text, #116260 as an accent and #6A2915 for hover and pressed states. For a palette, the analogous pair #5F1327 and #5F4B13 stays calm, while #134D5F is the loudest partner.

What is #5f2513 in CMYK for printing?

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

Is #5f2513 warm or cool?

Warm — it scores 9 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5F3013; nudged cooler, #60121C.

Work with #5f2513 in the Color Lab