Skip to content

#d30213

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

RGB
211, 2, 19
HSL
355°, 98%, 42%
CMYK
0, 99, 91, 17
Luminance
0.1394

At a glance

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

Hex
#d30213
Hue
355°
red
Saturation
98%
electric
Lightness
42%
dark
Brightness
83%
HSV value
Perceived
45%
weighted brightness
Luminance
0.1394
WCAG relative
Temperature
Warm
19/100 cool
Color family
Red
Tone
Electric
Best ink
White
5.54:1
Closest name
Firebrick
ΔE2000 6.6
Where it sits
Hue355° of 360°
Saturation98%
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#d30213
RGBrgb(211, 2, 19)
HSLhsl(355, 98%, 42%)
CMYKcmyk(0%, 99%, 91%, 17%)
LABlab(44.1 69.4 52.0)
LCHlch(44.1 86.7 36.8)
OKLCHoklch(0.545 0.222 27.5)
Decimal13828627
Display P3color(display-p3 0.827 0.008 0.075)

Copy-ready code

/* CSS */
color: #d30213;
background-color: #d30213;
/* Tailwind (arbitrary) */
class="text-[#d30213] bg-[#d30213]"
/* SCSS */
$brand: #d30213;
/* SwiftUI */
Color(red: 0.827, green: 0.008, blue: 0.075)
/* Android */
Color.parseColor("#d30213")
/* Flutter */
Color(0xFFD30213)
/* Python / OpenCV (BGR) */
(19, 2, 211)

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

Accessibility — WCAG contrast

Aa
#d30213 on white: 5.54:1
AA ✓ pass · AA-large · AAA
Aa
#d30213 on black: 3.79:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #584E0E
deuteranopia · #867700
tritanopia · #E90011

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #d30213 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
#FCE3E5
#FBC1C5
#FE9099
#FD5866
#FD2133
#F20216
#d30213
#A2020F
#74060F
#490409
Base = 700Lightest = 50 · #FDF1F2Darkest = 950 · #490409
:root {
  --brand-50: #FDF1F2;
  --brand-100: #FCE3E5;
  --brand-200: #FBC1C5;
  --brand-300: #FE9099;
  --brand-400: #FD5866;
  --brand-500: #FD2133;
  --brand-600: #F20216;
  --brand-700: #d30213;
  --brand-800: #A2020F;
  --brand-900: #74060F;
  --brand-950: #490409;
  --brand: #d30213;
  --brand-ink: #ffffff;
}

Colors that work with #d30213

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#9B4B51
Captions on the surface
Accent#00CC88
Second voice, not a rival
Dark variant#7E010B
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 #d30213

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#02D3C2
Analogous left#D3027C
Analogous right#D35A02
Split-complement 1#02D35A
Split-complement 2#027CD3
Triadic 1#13D302
Triadic 2#0213D3
Tetradic#7CD302

RGB percentages

Red82.7%
Green0.8%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta99.1%
Yellow91.0%
Key (black)17.3%

Color previews

#d30213 text on a black background

contrast 3.79:1

Card sample

#d30213 text on a white background

contrast 5.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(211, 2, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(211, 2, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d30213;
background: linear-gradient(135deg, #d30213, #D37C02);

Monochromatic scale

Palettes built from #d30213

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.

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

#d30213, answered

What color is #d30213?

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

What is the RGB value of #d30213?

rgb(211, 2, 19) — 211 red, 2 green and 19 blue out of 255, or 82.7% / 0.8% / 7.5% by channel.

Is #d30213 a light or a dark color?

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

Should I use black or white text on #d30213?

White. It scores 5.54:1 against #d30213, versus 3.79:1 for black — AA at any size.

What is the complementary color of #d30213?

#02D3C2 sits directly opposite on the wheel. Softer options are the split-complements #02D35A and #027CD3, which give the same contrast with far less vibration.

What colors go well with #d30213?

For interface work: #FAF4F5 as the surface, #EDC0C3 for borders, #9B4B51 for secondary text, #00CC88 as an accent and #7E010B for hover and pressed states. For a palette, the analogous pair #D3027C and #D35A02 stays calm, while #02D3C2 is the loudest partner.

What is #d30213 in CMYK for printing?

cmyk(0%, 99%, 91%, 17%). 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 #d30213 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 #D32A02; nudged cooler, #D50060.

Work with #d30213 in the Color Lab