Skip to content

#511f0c

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

RGB
81, 31, 12
HSL
17°, 74%, 18%
CMYK
0, 62, 85, 68
Luminance
0.0276

At a glance

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

Hex
#511f0c
Hue
17°
orange
Saturation
74%
vivid
Lightness
18%
deep
Brightness
32%
HSV value
Perceived
20%
weighted brightness
Luminance
0.0276
WCAG relative
Temperature
Warm
8/100 cool
Color family
Orange
Tone
Vivid
Best ink
White
13.54:1
Closest name
Maroon
ΔE2000 11.3
Where it sits
Hue17° of 360°
Saturation74%
Lightness18%
Temperature
Warm ← → Cool8% 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#511f0c
RGBrgb(81, 31, 12)
HSLhsl(17, 74%, 18%)
CMYKcmyk(0%, 62%, 85%, 68%)
LABlab(19.0 22.1 23.2)
LCHlch(19.0 32.1 46.4)
OKLCHoklch(0.310 0.081 40.1)
Decimal5316364
Display P3color(display-p3 0.318 0.122 0.047)

Copy-ready code

/* CSS */
color: #511f0c;
background-color: #511f0c;
/* Tailwind (arbitrary) */
class="text-[#511f0c] bg-[#511f0c]"
/* SCSS */
$brand: #511f0c;
/* SwiftUI */
Color(red: 0.318, green: 0.122, blue: 0.047)
/* Android */
Color.parseColor("#511f0c")
/* Flutter */
Color(0xFF511F0C)
/* Python / OpenCV (BGR) */
(12, 31, 81)

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

Accessibility — WCAG contrast

Aa
#511f0c on white: 13.54:1
AA ✓ pass · AA-large · AAA
Aa
#511f0c on black: 1.55:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #2D270A
deuteranopia · #39320A
tritanopia · #5A141B

Color scale — 50 to 950

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

#FCF5F3
#F9ECE7
#F3D4C8
#F1B49D
#E98F6C
#E2693C
#D55220
#B2441A
#8E3615
#672A13
#511f0c
Base = 950Lightest = 50 · #FCF5F3Darkest = 950 · #511f0c
:root {
  --brand-50: #FCF5F3;
  --brand-100: #F9ECE7;
  --brand-200: #F3D4C8;
  --brand-300: #F1B49D;
  --brand-400: #E98F6C;
  --brand-500: #E2693C;
  --brand-600: #D55220;
  --brand-700: #B2441A;
  --brand-800: #8E3615;
  --brand-900: #672A13;
  --brand-950: #511f0c;
  --brand: #511f0c;
  --brand-ink: #ffffff;
}

Colors that work with #511f0c

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#EDCCC0
Hairlines and dividers
Muted text#9B614B
Captions on the surface
Accent#0A5153
Second voice, not a rival
Dark variant#6F2A10
Hover, pressed, headers
Light variant#FCEEE9
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 #511f0c

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#0C3E51
Analogous left#510C1B
Analogous right#51410C
Split-complement 1#0C5141
Split-complement 2#0C1B51
Triadic 1#0C511F
Triadic 2#1F0C51
Tetradic#1B510C

RGB percentages

Red31.8%
Green12.2%
Blue4.7%

CMYK percentages

Cyan0.0%
Magenta61.7%
Yellow85.2%
Key (black)68.2%

Color previews

#511f0c text on a black background

contrast 1.55:1

Card sample

#511f0c text on a white background

contrast 13.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #511f0c;
Background color
Panel with #511f0c background
background-color: #511f0c;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #511f0c;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(81, 31, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(81, 31, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #511f0c;
background: linear-gradient(135deg, #511f0c, #514D0C);

Monochromatic scale

Palettes built from #511f0c

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.

#511f0c in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
E-commerceFood deliveryLogisticsCreator tools
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#511f0c, answered

What color is #511f0c?

#511f0c is a deep vivid orange, closest to Maroon (ΔE2000 11.3). It sits at 17° on the hue wheel with 74% saturation and 18% lightness, which reads as warm.

What is the RGB value of #511f0c?

rgb(81, 31, 12) — 81 red, 31 green and 12 blue out of 255, or 31.8% / 12.2% / 4.7% by channel.

Is #511f0c a light or a dark color?

It is a dark color. Relative luminance is 0.0276 and perceived brightness is 20%, so white text on it reaches 13.54:1.

Should I use black or white text on #511f0c?

White. It scores 13.54:1 against #511f0c, versus 1.55:1 for black — AAA at any size.

What is the complementary color of #511f0c?

#0C3E51 sits directly opposite on the wheel. Softer options are the split-complements #0C5141 and #0C1B51, which give the same contrast with far less vibration.

What colors go well with #511f0c?

For interface work: #FAF6F4 as the surface, #EDCCC0 for borders, #9B614B for secondary text, #0A5153 as an accent and #6F2A10 for hover and pressed states. For a palette, the analogous pair #510C1B and #51410C stays calm, while #0C3E51 is the loudest partner.

What is #511f0c in CMYK for printing?

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

Is #511f0c warm or cool?

Warm — it scores 8 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #51270C; nudged cooler, #520B12.

Work with #511f0c in the Color Lab