Skip to content

#DC040C Color

#DC040C is rgb(220, 4, 12) in RGB, hsl(358, 96%, 44%) in HSL, and about cmyk(0%, 98%, 95%, 14%) in CMYK. It has no registered color name of its own — the closest is Nintendo Red (#E4000F), very hard to tell apart at ΔE 2.94. White text is the more readable choice on this background.

#DC040C
HEX#DC040C
RGBrgb(220, 4, 12)
HSLhsl(358, 96%, 44%)
HSVhsv(358, 98%, 86%)
CMYKcmyk(0%, 98%, 95%, 14%)
OKLCHoklch(56.3% 0.229 28.5)
LABlab(47.02% 72.02 58.89)
LCHlch(47.02% 93.04 39.27)

What #DC040C Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #DC040C, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every red in the library.

#DC040C Channel Values

How #DC040C breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 220 · G 4 · B 128-bit channels as sent to the display
HSLH 358° · S 96% · L 44%Easiest model for building lighter and darker variants
HSVH 358° · S 98% · V 86%Matches the picker in most design tools
CMYKC 0% · M 98% · Y 95% · K 14%Approximate ink mix; confirm with an ICC profile before printing
Luminance5.17:1 vs white · 4.07:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #DC040C background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text5.17:1AA normal AA large AAA normal
Fails AABlack text4.07:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #DC040C in the contrast checker.

Colors That Go With #DC040C

Pairings derived from color-wheel relationships. The complementary color sits opposite #DC040C; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #DC040C

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #DC040C.

How #DC040C Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#DC040C
Protanopia#626201
Protanomaly#A24D06
Deuteranopia#868600
Deuteranomaly#AF6A00
Tritanopia#DC0505
Tritanomaly#DC0508
Achromatopsia#6D6D6D

Test a full palette in the color blindness simulator.

Using #DC040C in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-dc040c: #DC040C;
CSS backgroundbackground-color: #DC040C;
Tailwind configcolors: { 'color-dc040c': '#DC040C' }
SwiftUIColor(red: 0.863, green: 0.016, blue: 0.047)
Android XML<color name="color_dc040c">#DC040C</color>
SVG fillfill="#DC040C"

More Red Colors

#DC040C sits in the red family. These are its neighbours across that family's full range, each with its own breakdown.

#DC040C Frequently Asked Questions

What color is #DC040C?

#DC040C is a mid-tone red — rgb(220, 4, 12) in RGB and hsl(358, 96%, 44%) in HSL. It carries no registered color name of its own; the closest named color is Nintendo Red (#E4000F), which is very hard to tell apart at a CIE76 distance of 2.94.

What is the RGB value of #DC040C?

#DC040C is rgb(220, 4, 12) — red 220, green 4, and blue 12 on the 0-255 scale.

What is the CMYK value of #DC040C?

#DC040C converts to approximately cmyk(0%, 98%, 95%, 14%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #DC040C be black or white?

White text is the more readable choice. #DC040C scores 5.17:1 against white and 4.07:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #DC040C as a CSS color keyword?

No. #DC040C is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is red (#FF0000) at a CIE76 distance of 15.84, which is visibly different.

Open #DC040C in a Tool

Keep exploring: every red in the color library, the guide to shades of red, or the full color library.