Skip to content

#d12b21

a balanced, vivid red · warm · closest name: Firebrick

RGB
209, 43, 33
HSL
3°, 73%, 48%
CMYK
0, 79, 84, 18
Luminance
0.1539

At a glance

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

Hex
#d12b21
Hue
red
Saturation
73%
vivid
Lightness
48%
balanced
Brightness
82%
HSV value
Perceived
47%
weighted brightness
Luminance
0.1539
WCAG relative
Temperature
Warm
15/100 cool
Color family
Red
Tone
Vivid
Best ink
White
5.15:1
Closest name
Firebrick
ΔE2000 7.2
Where it sits
Hue3° of 360°
Saturation73%
Lightness48%
Temperature
Warm ← → Cool15% 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#d12b21
RGBrgb(209, 43, 33)
HSLhsl(3, 73%, 48%)
CMYKcmyk(0%, 79%, 84%, 18%)
LABlab(46.2 62.5 47.0)
LCHlch(46.2 78.2 37.0)
OKLCHoklch(0.560 0.203 29.0)
Decimal13708065
Display P3color(display-p3 0.820 0.169 0.129)

Copy-ready code

/* CSS */
color: #d12b21;
background-color: #d12b21;
/* Tailwind (arbitrary) */
class="text-[#d12b21] bg-[#d12b21]"
/* SCSS */
$brand: #d12b21;
/* SwiftUI */
Color(red: 0.820, green: 0.169, blue: 0.129)
/* Android */
Color.parseColor("#d12b21")
/* Flutter */
Color(0xFFD12B21)
/* Python / OpenCV (BGR) */
(33, 43, 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 #d12b21 · 5.15:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.15:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.08:1
AA fail · AA large pass · AAA fail
Reading the other direction: #d12b21 as text scores 5.15:1 on white and 4.08:1 on black.

Accessibility — WCAG contrast

Aa
#d12b21 on white: 5.15:1
AA ✓ pass · AA-large · AAA
Aa
#d12b21 on black: 4.08:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #61561D
deuteranopia · #897A16
tritanopia · #E7002B

Color scale — 50 to 950

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

#FCF4F3
#F8E8E7
#F3CBC9
#F0A39E
#E8756E
#E0463D
#d12b21
#B0241C
#8D1D16
#661914
#40100D
Base = 600Lightest = 50 · #FCF4F3Darkest = 950 · #40100D
:root {
  --brand-50: #FCF4F3;
  --brand-100: #F8E8E7;
  --brand-200: #F3CBC9;
  --brand-300: #F0A39E;
  --brand-400: #E8756E;
  --brand-500: #E0463D;
  --brand-600: #d12b21;
  --brand-700: #B0241C;
  --brand-800: #8D1D16;
  --brand-900: #661914;
  --brand-950: #40100D;
  --brand: #d12b21;
  --brand-ink: #ffffff;
}

Colors that work with #d12b21

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#FAF5F4
Tinted page background
Border#EDC2C0
Hairlines and dividers
Muted text#9B4F4B
Captions on the surface
Accent#18B496
Second voice, not a rival
Dark variant#6E1711
Hover, pressed, headers
Light variant#FCEAE9
Selected rows, tints
Dark surface#241514
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 #d12b21

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
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • 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#21C7D1
Analogous left#D1216F
Analogous right#D18321
Split-complement 1#21D183
Split-complement 2#216FD1
Triadic 1#21D12B
Triadic 2#2B21D1
Tetradic#6FD121

RGB percentages

Red82.0%
Green16.9%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta79.4%
Yellow84.2%
Key (black)18.0%

Color previews

#d12b21 text on a black background

contrast 4.08:1

Card sample

#d12b21 text on a white background

contrast 5.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d12b21

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.

#d12b21 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

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

#d12b21, answered

What color is #d12b21?

#d12b21 is a balanced vivid red, closest to Firebrick (ΔE2000 7.2). It sits at 3° on the hue wheel with 73% saturation and 48% lightness, which reads as warm.

What is the RGB value of #d12b21?

rgb(209, 43, 33) — 209 red, 43 green and 33 blue out of 255, or 82% / 16.9% / 12.9% by channel.

Is #d12b21 a light or a dark color?

It is a dark color. Relative luminance is 0.1539 and perceived brightness is 47%, so white text on it reaches 5.15:1.

Should I use black or white text on #d12b21?

White. It scores 5.15:1 against #d12b21, versus 4.08:1 for black — AA at any size.

What is the complementary color of #d12b21?

#21C7D1 sits directly opposite on the wheel. Softer options are the split-complements #21D183 and #216FD1, which give the same contrast with far less vibration.

What colors go well with #d12b21?

For interface work: #FAF5F4 as the surface, #EDC2C0 for borders, #9B4F4B for secondary text, #18B496 as an accent and #6E1711 for hover and pressed states. For a palette, the analogous pair #D1216F and #D18321 stays calm, while #21C7D1 is the loudest partner.

What is #d12b21 in CMYK for printing?

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

Is #d12b21 warm or cool?

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

Work with #d12b21 in the Color Lab