Skip to content

#db2f0c

a balanced, electric red · warm · closest name: Red

RGB
219, 47, 12
HSL
10°, 90%, 45%
CMYK
0, 79, 95, 14
Luminance
0.1712

At a glance

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

Hex
#db2f0c
Hue
10°
red
Saturation
90%
electric
Lightness
45%
balanced
Brightness
86%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1712
WCAG relative
Temperature
Warm
11/100 cool
Color family
Red
Tone
Electric
Best ink
White
4.75:1
Closest name
Red
ΔE2000 6.2
Where it sits
Hue10° of 360°
Saturation90%
Lightness45%
Temperature
Warm ← → Cool11% 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#db2f0c
RGBrgb(219, 47, 12)
HSLhsl(10, 90%, 45%)
CMYKcmyk(0%, 79%, 95%, 14%)
LABlab(48.4 63.9 57.8)
LCHlch(48.4 86.2 42.1)
OKLCHoklch(0.580 0.211 32.4)
Decimal14364428
Display P3color(display-p3 0.859 0.184 0.047)

Copy-ready code

/* CSS */
color: #db2f0c;
background-color: #db2f0c;
/* Tailwind (arbitrary) */
class="text-[#db2f0c] bg-[#db2f0c]"
/* SCSS */
$brand: #db2f0c;
/* SwiftUI */
Color(red: 0.859, green: 0.184, blue: 0.047)
/* Android */
Color.parseColor("#db2f0c")
/* Flutter */
Color(0xFFDB2F0C)
/* Python / OpenCV (BGR) */
(12, 47, 219)

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

Accessibility — WCAG contrast

Aa
#db2f0c on white: 4.75:1
AA ✓ pass · AA-large · AAA
Aa
#db2f0c on black: 4.42:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #685B00
deuteranopia · #918100
tritanopia · #F2002B

Color scale — 50 to 950

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

#FDF4F2
#FBE8E5
#F8CCC3
#F9A695
#F6795F
#F34C2A
#db2f0c
#C1290B
#9B2108
#701C0B
#461107
Base = 600Lightest = 50 · #FDF4F2Darkest = 950 · #461107
:root {
  --brand-50: #FDF4F2;
  --brand-100: #FBE8E5;
  --brand-200: #F8CCC3;
  --brand-300: #F9A695;
  --brand-400: #F6795F;
  --brand-500: #F34C2A;
  --brand-600: #db2f0c;
  --brand-700: #C1290B;
  --brand-800: #9B2108;
  --brand-900: #701C0B;
  --brand-950: #461107;
  --brand: #db2f0c;
  --brand-ink: #ffffff;
}

Colors that work with #db2f0c

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#EDC7C0
Hairlines and dividers
Muted text#9B584B
Captions on the surface
Accent#06C6B6
Second voice, not a rival
Dark variant#791A07
Hover, pressed, headers
Light variant#FEEBE7
Selected rows, tints
Dark surface#241614
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 #db2f0c

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#0CB8DB
Analogous left#DB0C51
Analogous right#DB960C
Split-complement 1#0CDB96
Split-complement 2#0C51DB
Triadic 1#0CDB2F
Triadic 2#2F0CDB
Tetradic#51DB0C

RGB percentages

Red85.9%
Green18.4%
Blue4.7%

CMYK percentages

Cyan0.0%
Magenta78.5%
Yellow94.5%
Key (black)14.1%

Color previews

#db2f0c text on a black background

contrast 4.42:1

Card sample

#db2f0c text on a white background

contrast 4.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db2f0c

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.

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

#db2f0c, answered

What color is #db2f0c?

#db2f0c is a balanced electric red, closest to Red (ΔE2000 6.2). It sits at 10° on the hue wheel with 90% saturation and 45% lightness, which reads as warm.

What is the RGB value of #db2f0c?

rgb(219, 47, 12) — 219 red, 47 green and 12 blue out of 255, or 85.9% / 18.4% / 4.7% by channel.

Is #db2f0c a light or a dark color?

It is a dark color. Relative luminance is 0.1712 and perceived brightness is 49%, so white text on it reaches 4.75:1.

Should I use black or white text on #db2f0c?

White. It scores 4.75:1 against #db2f0c, versus 4.42:1 for black — AA at any size.

What is the complementary color of #db2f0c?

#0CB8DB sits directly opposite on the wheel. Softer options are the split-complements #0CDB96 and #0C51DB, which give the same contrast with far less vibration.

What colors go well with #db2f0c?

For interface work: #FAF5F4 as the surface, #EDC7C0 for borders, #9B584B for secondary text, #06C6B6 as an accent and #791A07 for hover and pressed states. For a palette, the analogous pair #DB0C51 and #DB960C stays calm, while #0CB8DB is the loudest partner.

What is #db2f0c in CMYK for printing?

cmyk(0%, 79%, 95%, 14%). 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 #db2f0c warm or cool?

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

Work with #db2f0c in the Color Lab