Skip to content

#5f2425

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

RGB
95, 36, 37
HSL
359°, 45%, 26%
CMYK
0, 62, 61, 63
Luminance
0.0383

At a glance

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

Hex
#5f2425
Hue
359°
red
Saturation
45%
vivid
Lightness
26%
dark
Brightness
37%
HSV value
Perceived
24%
weighted brightness
Luminance
0.0383
WCAG relative
Temperature
Warm
17/100 cool
Color family
Red
Tone
Vivid
Best ink
White
11.89:1
Closest name
Maroon
ΔE2000 12.1
Where it sits
Hue359° of 360°
Saturation45%
Lightness26%
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#5f2425
RGBrgb(95, 36, 37)
HSLhsl(359, 45%, 26%)
CMYKcmyk(0%, 62%, 61%, 63%)
LABlab(23.1 27.0 13.0)
LCHlch(23.1 30.0 25.7)
OKLCHoklch(0.347 0.086 21.7)
Decimal6235173
Display P3color(display-p3 0.373 0.141 0.145)

Copy-ready code

/* CSS */
color: #5f2425;
background-color: #5f2425;
/* Tailwind (arbitrary) */
class="text-[#5f2425] bg-[#5f2425]"
/* SCSS */
$brand: #5f2425;
/* SwiftUI */
Color(red: 0.373, green: 0.141, blue: 0.145)
/* Android */
Color.parseColor("#5f2425")
/* Flutter */
Color(0xFF5F2425)
/* Python / OpenCV (BGR) */
(37, 36, 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 #5f2425 · 11.89:1
Use #ffffffAAA at every size.
Aa
White text · 11.89:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.77:1
AA fail · AA large fail · AAA fail
Reading the other direction: #5f2425 as text scores 11.89:1 on white and 1.77:1 on black.

Accessibility — WCAG contrast

Aa
#5f2425 on white: 11.89:1
AA ✓ pass · AA-large · AAA
Aa
#5f2425 on black: 1.77:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #322F25
deuteranopia · #413C24
tritanopia · #681A25

Color scale — 50 to 950

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

#FAF5F5
#F5EAEB
#EBD1D1
#E0AEAE
#D18586
#C15C5E
#B14345
#94383A
#762D2E
#5f2425
#361617
Base = 900Lightest = 50 · #FAF5F5Darkest = 950 · #361617
:root {
  --brand-50: #FAF5F5;
  --brand-100: #F5EAEB;
  --brand-200: #EBD1D1;
  --brand-300: #E0AEAE;
  --brand-400: #D18586;
  --brand-500: #C15C5E;
  --brand-600: #B14345;
  --brand-700: #94383A;
  --brand-800: #762D2E;
  --brand-900: #5f2425;
  --brand-950: #361617;
  --brand: #5f2425;
  --brand-ink: #ffffff;
}

Colors that work with #5f2425

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#E9C4C4
Hairlines and dividers
Muted text#9B4B4C
Captions on the surface
Accent#216251
Second voice, not a rival
Dark variant#5C2324
Hover, pressed, headers
Light variant#F8EDED
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 #5f2425

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#245F5E
Analogous left#5F2443
Analogous right#5F4124
Split-complement 1#245F41
Split-complement 2#24435F
Triadic 1#255F24
Triadic 2#24255F
Tetradic#435F24

RGB percentages

Red37.3%
Green14.1%
Blue14.5%

CMYK percentages

Cyan0.0%
Magenta62.1%
Yellow61.1%
Key (black)62.7%

Color previews

#5f2425 text on a black background

contrast 1.77:1

Card sample

#5f2425 text on a white background

contrast 11.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #5f2425

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.

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

#5f2425, answered

What color is #5f2425?

#5f2425 is a dark vivid red, closest to Maroon (ΔE2000 12.1). It sits at 359° on the hue wheel with 45% saturation and 26% lightness, which reads as warm.

What is the RGB value of #5f2425?

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

Is #5f2425 a light or a dark color?

It is a dark color. Relative luminance is 0.0383 and perceived brightness is 24%, so white text on it reaches 11.89:1.

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

White. It scores 11.89:1 against #5f2425, versus 1.77:1 for black — AAA at any size.

What is the complementary color of #5f2425?

#245F5E sits directly opposite on the wheel. Softer options are the split-complements #245F41 and #24435F, which give the same contrast with far less vibration.

What colors go well with #5f2425?

For interface work: #FAF4F4 as the surface, #E9C4C4 for borders, #9B4B4C for secondary text, #216251 as an accent and #5C2324 for hover and pressed states. For a palette, the analogous pair #5F2443 and #5F4124 stays calm, while #245F5E is the loudest partner.

What is #5f2425 in CMYK for printing?

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

Is #5f2425 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 #5F3824; nudged cooler, #60233A.

Work with #5f2425 in the Color Lab