Skip to content

#db042f

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

RGB
219, 4, 47
HSL
348°, 96%, 44%
CMYK
0, 98, 79, 14
Luminance
0.1535

At a glance

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

Hex
#db042f
Hue
348°
red
Saturation
96%
electric
Lightness
44%
dark
Brightness
86%
HSV value
Perceived
47%
weighted brightness
Luminance
0.1535
WCAG relative
Temperature
Warm
23/100 cool
Color family
Red
Tone
Electric
Best ink
White
5.16:1
Closest name
Crimson
ΔE2000 2.9
Where it sits
Hue348° of 360°
Saturation96%
Lightness44%
Temperature
Warm ← → Cool23% 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#db042f
RGBrgb(219, 4, 47)
HSLhsl(348, 96%, 44%)
CMYKcmyk(0%, 98%, 79%, 14%)
LABlab(46.1 71.8 40.1)
LCHlch(46.1 82.3 29.2)
OKLCHoklch(0.564 0.226 22.7)
Decimal14353455
Display P3color(display-p3 0.859 0.016 0.184)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db042f on white: 5.16:1
AA ✓ pass · AA-large · AAA
Aa
#db042f on black: 4.07:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5A522E
deuteranopia · #8A7C26
tritanopia · #F2001E

Color scale — 50 to 950

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

#FDF1F4
#FCE4E9
#FAC1CD
#FD91A6
#FC5A7A
#FB234E
#F00434
#db042f
#A00322
#73071D
#480412
Base = 700Lightest = 50 · #FDF1F4Darkest = 950 · #480412
:root {
  --brand-50: #FDF1F4;
  --brand-100: #FCE4E9;
  --brand-200: #FAC1CD;
  --brand-300: #FD91A6;
  --brand-400: #FC5A7A;
  --brand-500: #FB234E;
  --brand-600: #F00434;
  --brand-700: #db042f;
  --brand-800: #A00322;
  --brand-900: #73071D;
  --brand-950: #480412;
  --brand: #db042f;
  --brand-ink: #ffffff;
}

Colors that work with #db042f

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#FAF4F6
Tinted page background
Border#EDC0C9
Hairlines and dividers
Muted text#9B4B5B
Captions on the surface
Accent#00CC71
Second voice, not a rival
Dark variant#7D021B
Hover, pressed, headers
Light variant#FFE6EB
Selected rows, tints
Dark surface#241417
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 #db042f

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#04DBB0
Analogous left#DB049A
Analogous right#DB4404
Split-complement 1#04DB44
Split-complement 2#049ADB
Triadic 1#2FDB04
Triadic 2#042FDB
Tetradic#9ADB04

RGB percentages

Red85.9%
Green1.6%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta98.2%
Yellow78.5%
Key (black)14.1%

Color previews

#db042f text on a black background

contrast 4.07:1

Card sample

#db042f text on a white background

contrast 5.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db042f

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.

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

#db042f, answered

What color is #db042f?

#db042f is a dark electric red, closest to Crimson (ΔE2000 2.9). It sits at 348° on the hue wheel with 96% saturation and 44% lightness, which reads as warm.

What is the RGB value of #db042f?

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

Is #db042f a light or a dark color?

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

Should I use black or white text on #db042f?

White. It scores 5.16:1 against #db042f, versus 4.07:1 for black — AA at any size.

What is the complementary color of #db042f?

#04DBB0 sits directly opposite on the wheel. Softer options are the split-complements #04DB44 and #049ADB, which give the same contrast with far less vibration.

What colors go well with #db042f?

For interface work: #FAF4F6 as the surface, #EDC0C9 for borders, #9B4B5B for secondary text, #00CC71 as an accent and #7D021B for hover and pressed states. For a palette, the analogous pair #DB049A and #DB4404 stays calm, while #04DBB0 is the loudest partner.

What is #db042f in CMYK for printing?

cmyk(0%, 98%, 79%, 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 #db042f warm or cool?

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

Work with #db042f in the Color Lab