Skip to content

#a12708

a dark, electric red · warm · closest name: Firebrick

RGB
161, 39, 8
HSL
12°, 91%, 33%
CMYK
0, 76, 95, 37
Luminance
0.0905

At a glance

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

Hex
#a12708
Hue
12°
red
Saturation
91%
electric
Lightness
33%
dark
Brightness
63%
HSV value
Perceived
36%
weighted brightness
Luminance
0.0905
WCAG relative
Temperature
Warm
10/100 cool
Color family
Red
Tone
Electric
Best ink
White
7.48:1
Closest name
Firebrick
ΔE2000 6.9
Where it sits
Hue12° of 360°
Saturation91%
Lightness33%
Temperature
Warm ← → Cool10% 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#a12708
RGBrgb(161, 39, 8)
HSLhsl(12, 91%, 33%)
CMYKcmyk(0%, 76%, 95%, 37%)
LABlab(36.1 48.5 45.8)
LCHlch(36.1 66.7 43.3)
OKLCHoklch(0.468 0.163 33.9)
Decimal10561288
Display P3color(display-p3 0.631 0.153 0.031)

Copy-ready code

/* CSS */
color: #a12708;
background-color: #a12708;
/* Tailwind (arbitrary) */
class="text-[#a12708] bg-[#a12708]"
/* SCSS */
$brand: #a12708;
/* SwiftUI */
Color(red: 0.631, green: 0.153, blue: 0.031)
/* Android */
Color.parseColor("#a12708")
/* Flutter */
Color(0xFFA12708)
/* Python / OpenCV (BGR) */
(8, 39, 161)

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

Accessibility — WCAG contrast

Aa
#a12708 on white: 7.48:1
AA ✓ pass · AA-large · AAA
Aa
#a12708 on black: 2.81:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4D4401
deuteranopia · #6B5F00
tritanopia · #B20023

Color scale — 50 to 950

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

#FDF4F2
#FBE9E5
#F9CEC3
#FAA994
#F77E5F
#F45329
#E9390C
#C22F0A
#a12708
#701F0A
#461306
Base = 800Lightest = 50 · #FDF4F2Darkest = 950 · #461306
:root {
  --brand-50: #FDF4F2;
  --brand-100: #FBE9E5;
  --brand-200: #F9CEC3;
  --brand-300: #FAA994;
  --brand-400: #F77E5F;
  --brand-500: #F45329;
  --brand-600: #E9390C;
  --brand-700: #C22F0A;
  --brand-800: #a12708;
  --brand-900: #701F0A;
  --brand-950: #461306;
  --brand: #a12708;
  --brand-ink: #ffffff;
}

Colors that work with #a12708

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#EDC9C0
Hairlines and dividers
Muted text#9B5B4B
Captions on the surface
Accent#06C6BE
Second voice, not a rival
Dark variant#791E06
Hover, pressed, headers
Light variant#FEEBE7
Selected rows, tints
Dark surface#241714
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 #a12708

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#0882A1
Analogous left#A10835
Analogous right#A17308
Split-complement 1#08A173
Split-complement 2#0835A1
Triadic 1#08A127
Triadic 2#2708A1
Tetradic#35A108

RGB percentages

Red63.1%
Green15.3%
Blue3.1%

CMYK percentages

Cyan0.0%
Magenta75.8%
Yellow95.0%
Key (black)36.9%

Color previews

#a12708 text on a black background

contrast 2.81:1

Card sample

#a12708 text on a white background

contrast 7.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(161, 39, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(161, 39, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a12708;
background: linear-gradient(135deg, #a12708, #A18D08);

Monochromatic scale

Palettes built from #a12708

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.

#a12708 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.

#a12708, answered

What color is #a12708?

#a12708 is a dark electric red, closest to Firebrick (ΔE2000 6.9). It sits at 12° on the hue wheel with 91% saturation and 33% lightness, which reads as warm.

What is the RGB value of #a12708?

rgb(161, 39, 8) — 161 red, 39 green and 8 blue out of 255, or 63.1% / 15.3% / 3.1% by channel.

Is #a12708 a light or a dark color?

It is a dark color. Relative luminance is 0.0905 and perceived brightness is 36%, so white text on it reaches 7.48:1.

Should I use black or white text on #a12708?

White. It scores 7.48:1 against #a12708, versus 2.81:1 for black — AAA at any size.

What is the complementary color of #a12708?

#0882A1 sits directly opposite on the wheel. Softer options are the split-complements #08A173 and #0835A1, which give the same contrast with far less vibration.

What colors go well with #a12708?

For interface work: #FAF6F4 as the surface, #EDC9C0 for borders, #9B5B4B for secondary text, #06C6BE as an accent and #791E06 for hover and pressed states. For a palette, the analogous pair #A10835 and #A17308 stays calm, while #0882A1 is the loudest partner.

What is #a12708 in CMYK for printing?

cmyk(0%, 76%, 95%, 37%). 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 #a12708 warm or cool?

Warm — it scores 10 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A13B08; nudged cooler, #A20620.

Work with #a12708 in the Color Lab