Skip to content

#5f0613

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

RGB
95, 6, 19
HSL
351°, 88%, 20%
CMYK
0, 94, 80, 63
Luminance
0.0261

At a glance

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

Hex
#5f0613
Hue
351°
red
Saturation
88%
electric
Lightness
20%
deep
Brightness
37%
HSV value
Perceived
21%
weighted brightness
Luminance
0.0261
WCAG relative
Temperature
Warm
22/100 cool
Color family
Red
Tone
Electric
Best ink
White
13.80:1
Closest name
Maroon
ΔE2000 9.8
Where it sits
Hue351° of 360°
Saturation88%
Lightness20%
Temperature
Warm ← → Cool22% 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#5f0613
RGBrgb(95, 6, 19)
HSLhsl(351, 88%, 20%)
CMYKcmyk(0%, 94%, 80%, 63%)
LABlab(18.4 37.8 19.4)
LCHlch(18.4 42.5 27.2)
OKLCHoklch(0.311 0.119 21.6)
Decimal6227475
Display P3color(display-p3 0.373 0.024 0.075)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#5f0613 on white: 13.80:1
AA ✓ pass · AA-large · AAA
Aa
#5f0613 on black: 1.52:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #242113
deuteranopia · #3A3310
tritanopia · #69000C

Color scale — 50 to 950

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

#FDF2F4
#FAE5E8
#F8C4CC
#F895A4
#F56176
#F22C49
#E60F2E
#C00C26
#990A1F
#5f0613
#450710
Base = 900Lightest = 50 · #FDF2F4Darkest = 950 · #450710
:root {
  --brand-50: #FDF2F4;
  --brand-100: #FAE5E8;
  --brand-200: #F8C4CC;
  --brand-300: #F895A4;
  --brand-400: #F56176;
  --brand-500: #F22C49;
  --brand-600: #E60F2E;
  --brand-700: #C00C26;
  --brand-800: #990A1F;
  --brand-900: #5f0613;
  --brand-950: #450710;
  --brand: #5f0613;
  --brand-ink: #ffffff;
}

Colors that work with #5f0613

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#EDC0C6
Hairlines and dividers
Muted text#9B4B56
Captions on the surface
Accent#04613C
Second voice, not a rival
Dark variant#780818
Hover, pressed, headers
Light variant#FDE7EA
Selected rows, tints
Dark surface#241416
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 #5f0613

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#065F52
Analogous left#5F0640
Analogous right#5F2506
Split-complement 1#065F25
Split-complement 2#06405F
Triadic 1#135F06
Triadic 2#06135F
Tetradic#405F06

RGB percentages

Red37.3%
Green2.4%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta93.7%
Yellow80.0%
Key (black)62.7%

Color previews

#5f0613 text on a black background

contrast 1.52:1

Card sample

#5f0613 text on a white background

contrast 13.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #5f0613

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.

#5f0613 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#5f0613, answered

What color is #5f0613?

#5f0613 is a deep electric red, closest to Maroon (ΔE2000 9.8). It sits at 351° on the hue wheel with 88% saturation and 20% lightness, which reads as warm.

What is the RGB value of #5f0613?

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

Is #5f0613 a light or a dark color?

It is a dark color. Relative luminance is 0.0261 and perceived brightness is 21%, so white text on it reaches 13.80:1.

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

White. It scores 13.80:1 against #5f0613, versus 1.52:1 for black — AAA at any size.

What is the complementary color of #5f0613?

#065F52 sits directly opposite on the wheel. Softer options are the split-complements #065F25 and #06405F, which give the same contrast with far less vibration.

What colors go well with #5f0613?

For interface work: #FAF4F5 as the surface, #EDC0C6 for borders, #9B4B56 for secondary text, #04613C as an accent and #780818 for hover and pressed states. For a palette, the analogous pair #5F0640 and #5F2506 stays calm, while #065F52 is the loudest partner.

What is #5f0613 in CMYK for printing?

cmyk(0%, 94%, 80%, 63%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #5f0613 warm or cool?

Warm — it scores 22 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5F1A06; nudged cooler, #600534.

Work with #5f0613 in the Color Lab