Skip to content

#511f06

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

RGB
81, 31, 6
HSL
20°, 86%, 17%
CMYK
0, 62, 93, 68
Luminance
0.0274

At a glance

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

Hex
#511f06
Hue
20°
orange
Saturation
86%
electric
Lightness
17%
deep
Brightness
32%
HSV value
Perceived
20%
weighted brightness
Luminance
0.0274
WCAG relative
Temperature
Warm
6/100 cool
Color family
Orange
Tone
Electric
Best ink
White
13.56:1
Closest name
Maroon
ΔE2000 11.6
Where it sits
Hue20° of 360°
Saturation86%
Lightness17%
Temperature
Warm ← → Cool6% 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#511f06
RGBrgb(81, 31, 6)
HSLhsl(20, 86%, 17%)
CMYKcmyk(0%, 62%, 93%, 68%)
LABlab(19.0 21.9 25.6)
LCHlch(19.0 33.7 49.5)
OKLCHoklch(0.310 0.083 43.7)
Decimal5316358
Display P3color(display-p3 0.318 0.122 0.024)

Copy-ready code

/* CSS */
color: #511f06;
background-color: #511f06;
/* Tailwind (arbitrary) */
class="text-[#511f06] bg-[#511f06]"
/* SCSS */
$brand: #511f06;
/* SwiftUI */
Color(red: 0.318, green: 0.122, blue: 0.024)
/* Android */
Color.parseColor("#511f06")
/* Flutter */
Color(0xFF511F06)
/* Python / OpenCV (BGR) */
(6, 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 #511f06 · 13.56:1
Use #ffffffAAA at every size.
Aa
White text · 13.56: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: #511f06 as text scores 13.56:1 on white and 1.55:1 on black.

Accessibility — WCAG contrast

Aa
#511f06 on white: 13.56:1
AA ✓ pass · AA-large · AAA
Aa
#511f06 on black: 1.55:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #2D2703
deuteranopia · #393205
tritanopia · #5A131A

Color scale — 50 to 950

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

#FDF6F2
#FAECE5
#F7D5C5
#F7B797
#F39362
#F06F2E
#E45711
#BE490E
#983A0B
#6E2D0D
#511f06
Base = 950Lightest = 50 · #FDF6F2Darkest = 950 · #511f06
:root {
  --brand-50: #FDF6F2;
  --brand-100: #FAECE5;
  --brand-200: #F7D5C5;
  --brand-300: #F7B797;
  --brand-400: #F39362;
  --brand-500: #F06F2E;
  --brand-600: #E45711;
  --brand-700: #BE490E;
  --brand-800: #983A0B;
  --brand-900: #6E2D0D;
  --brand-950: #511f06;
  --brand: #511f06;
  --brand-ink: #ffffff;
}

Colors that work with #511f06

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#EDCFC0
Hairlines and dividers
Muted text#9B654B
Captions on the surface
Accent#044C53
Second voice, not a rival
Dark variant#772D09
Hover, pressed, headers
Light variant#FDEFE7
Selected rows, tints
Dark surface#241914
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 #511f06

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#063851
Analogous left#510613
Analogous right#514506
Split-complement 1#065145
Split-complement 2#061351
Triadic 1#06511F
Triadic 2#1F0651
Tetradic#135106

RGB percentages

Red31.8%
Green12.2%
Blue2.4%

CMYK percentages

Cyan0.0%
Magenta61.7%
Yellow92.6%
Key (black)68.2%

Color previews

#511f06 text on a black background

contrast 1.55:1

Card sample

#511f06 text on a white background

contrast 13.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #511f06

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.

#511f06 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

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

#511f06, answered

What color is #511f06?

#511f06 is a deep electric orange, closest to Maroon (ΔE2000 11.6). It sits at 20° on the hue wheel with 86% saturation and 17% lightness, which reads as warm.

What is the RGB value of #511f06?

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

Is #511f06 a light or a dark color?

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

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

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

What is the complementary color of #511f06?

#063851 sits directly opposite on the wheel. Softer options are the split-complements #065145 and #061351, which give the same contrast with far less vibration.

What colors go well with #511f06?

For interface work: #FAF6F4 as the surface, #EDCFC0 for borders, #9B654B for secondary text, #044C53 as an accent and #772D09 for hover and pressed states. For a palette, the analogous pair #510613 and #514506 stays calm, while #063851 is the loudest partner.

What is #511f06 in CMYK for printing?

cmyk(0%, 62%, 93%, 68%). 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 #511f06 warm or cool?

Warm — it scores 6 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #692F08; nudged cooler, #520508.

Work with #511f06 in the Color Lab