Skip to content

#d10312

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

RGB
209, 3, 18
HSL
356°, 97%, 42%
CMYK
0, 99, 91, 18
Luminance
0.1366

At a glance

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

Hex
#d10312
Hue
356°
red
Saturation
97%
electric
Lightness
42%
dark
Brightness
82%
HSV value
Perceived
45%
weighted brightness
Luminance
0.1366
WCAG relative
Temperature
Warm
19/100 cool
Color family
Red
Tone
Electric
Best ink
White
5.63:1
Closest name
Firebrick
ΔE2000 6.3
Where it sits
Hue356° of 360°
Saturation97%
Lightness42%
Temperature
Warm ← → Cool19% 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#d10312
RGBrgb(209, 3, 18)
HSLhsl(356, 97%, 42%)
CMYKcmyk(0%, 99%, 91%, 18%)
LABlab(43.8 68.8 51.9)
LCHlch(43.8 86.2 37.0)
OKLCHoklch(0.542 0.220 27.7)
Decimal13697810
Display P3color(display-p3 0.820 0.012 0.071)

Copy-ready code

/* CSS */
color: #d10312;
background-color: #d10312;
/* Tailwind (arbitrary) */
class="text-[#d10312] bg-[#d10312]"
/* SCSS */
$brand: #d10312;
/* SwiftUI */
Color(red: 0.820, green: 0.012, blue: 0.071)
/* Android */
Color.parseColor("#d10312")
/* Flutter */
Color(0xFFD10312)
/* Python / OpenCV (BGR) */
(18, 3, 209)

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 #d10312 · 5.63:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.63:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.73:1
AA fail · AA large pass · AAA fail
Reading the other direction: #d10312 as text scores 5.63:1 on white and 3.73:1 on black.

Accessibility — WCAG contrast

Aa
#d10312 on white: 5.63:1
AA ✓ pass · AA-large · AAA
Aa
#d10312 on black: 3.73:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #584D0C
deuteranopia · #857500
tritanopia · #E70011

Color scale — 50 to 950

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

#FDF1F2
#FCE4E5
#FBC1C5
#FD9098
#FD5965
#FC2232
#F10315
#d10312
#A1020E
#74060E
#480409
Base = 700Lightest = 50 · #FDF1F2Darkest = 950 · #480409
:root {
  --brand-50: #FDF1F2;
  --brand-100: #FCE4E5;
  --brand-200: #FBC1C5;
  --brand-300: #FD9098;
  --brand-400: #FD5965;
  --brand-500: #FC2232;
  --brand-600: #F10315;
  --brand-700: #d10312;
  --brand-800: #A1020E;
  --brand-900: #74060E;
  --brand-950: #480409;
  --brand: #d10312;
  --brand-ink: #ffffff;
}

Colors that work with #d10312

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#EDC0C3
Hairlines and dividers
Muted text#9B4B50
Captions on the surface
Accent#00CC8B
Second voice, not a rival
Dark variant#7E020B
Hover, pressed, headers
Light variant#FFE6E8
Selected rows, tints
Dark surface#241415
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 #d10312

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
  • 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#03D1C2
Analogous left#D10379
Analogous right#D15B03
Split-complement 1#03D15B
Split-complement 2#0379D1
Triadic 1#12D103
Triadic 2#0312D1
Tetradic#79D103

RGB percentages

Red82.0%
Green1.2%
Blue7.1%

CMYK percentages

Cyan0.0%
Magenta98.6%
Yellow91.4%
Key (black)18.0%

Color previews

#d10312 text on a black background

contrast 3.73:1

Card sample

#d10312 text on a white background

contrast 5.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d10312

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.

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

#d10312, answered

What color is #d10312?

#d10312 is a dark electric red, closest to Firebrick (ΔE2000 6.3). It sits at 356° on the hue wheel with 97% saturation and 42% lightness, which reads as warm.

What is the RGB value of #d10312?

rgb(209, 3, 18) — 209 red, 3 green and 18 blue out of 255, or 82% / 1.2% / 7.1% by channel.

Is #d10312 a light or a dark color?

It is a dark color. Relative luminance is 0.1366 and perceived brightness is 45%, so white text on it reaches 5.63:1.

Should I use black or white text on #d10312?

White. It scores 5.63:1 against #d10312, versus 3.73:1 for black — AA at any size.

What is the complementary color of #d10312?

#03D1C2 sits directly opposite on the wheel. Softer options are the split-complements #03D15B and #0379D1, which give the same contrast with far less vibration.

What colors go well with #d10312?

For interface work: #FAF4F5 as the surface, #EDC0C3 for borders, #9B4B50 for secondary text, #00CC8B as an accent and #7E020B for hover and pressed states. For a palette, the analogous pair #D10379 and #D15B03 stays calm, while #03D1C2 is the loudest partner.

What is #d10312 in CMYK for printing?

cmyk(0%, 99%, 91%, 18%). 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 #d10312 warm or cool?

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

Work with #d10312 in the Color Lab