Skip to content

#dc2f02

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

RGB
220, 47, 2
HSL
12°, 98%, 44%
CMYK
0, 79, 99, 14
Luminance
0.1725

At a glance

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

Hex
#dc2f02
Hue
12°
red
Saturation
98%
electric
Lightness
44%
dark
Brightness
86%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1725
WCAG relative
Temperature
Warm
10/100 cool
Color family
Red
Tone
Electric
Best ink
White
4.72:1
Closest name
Red
ΔE2000 6.2
Where it sits
Hue12° of 360°
Saturation98%
Lightness44%
Temperature
Warm ← → Cool10% 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#dc2f02
RGBrgb(220, 47, 2)
HSLhsl(12, 98%, 44%)
CMYKcmyk(0%, 79%, 99%, 14%)
LABlab(48.6 64.1 60.6)
LCHlch(48.6 88.2 43.4)
OKLCHoklch(0.581 0.213 33.2)
Decimal14429954
Display P3color(display-p3 0.863 0.184 0.008)

Copy-ready code

/* CSS */
color: #dc2f02;
background-color: #dc2f02;
/* Tailwind (arbitrary) */
class="text-[#dc2f02] bg-[#dc2f02]"
/* SCSS */
$brand: #dc2f02;
/* SwiftUI */
Color(red: 0.863, green: 0.184, blue: 0.008)
/* Android */
Color.parseColor("#dc2f02")
/* Flutter */
Color(0xFFDC2F02)
/* Python / OpenCV (BGR) */
(2, 47, 220)

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

Accessibility — WCAG contrast

Aa
#dc2f02 on white: 4.72:1
AA ✓ pass · AA-large · AAA
Aa
#dc2f02 on black: 4.45:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #685B00
deuteranopia · #928100
tritanopia · #F3002A

Color scale — 50 to 950

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

#FDF4F1
#FCE9E3
#FBCDC1
#FEA790
#FD7A58
#FD4E21
#F33402
#dc2f02
#A22301
#741D06
#491204
Base = 700Lightest = 50 · #FDF4F1Darkest = 950 · #491204
:root {
  --brand-50: #FDF4F1;
  --brand-100: #FCE9E3;
  --brand-200: #FBCDC1;
  --brand-300: #FEA790;
  --brand-400: #FD7A58;
  --brand-500: #FD4E21;
  --brand-600: #F33402;
  --brand-700: #dc2f02;
  --brand-800: #A22301;
  --brand-900: #741D06;
  --brand-950: #491204;
  --brand: #dc2f02;
  --brand-ink: #ffffff;
}

Colors that work with #dc2f02

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#FAF6F4
Tinted page background
Border#EDC9C0
Hairlines and dividers
Muted text#9B5B4B
Captions on the surface
Accent#00CCC3
Second voice, not a rival
Dark variant#7E1B01
Hover, pressed, headers
Light variant#FFEBE6
Selected rows, tints
Dark surface#241714
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 #dc2f02

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#02AFDC
Analogous left#DC0242
Analogous right#DC9C02
Split-complement 1#02DC9C
Split-complement 2#0242DC
Triadic 1#02DC2F
Triadic 2#2F02DC
Tetradic#42DC02

RGB percentages

Red86.3%
Green18.4%
Blue0.8%

CMYK percentages

Cyan0.0%
Magenta78.6%
Yellow99.1%
Key (black)13.7%

Color previews

#dc2f02 text on a black background

contrast 4.45:1

Card sample

#dc2f02 text on a white background

contrast 4.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc2f02

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.

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

#dc2f02, answered

What color is #dc2f02?

#dc2f02 is a dark electric red, closest to Red (ΔE2000 6.2). It sits at 12° on the hue wheel with 98% saturation and 44% lightness, which reads as warm.

What is the RGB value of #dc2f02?

rgb(220, 47, 2) — 220 red, 47 green and 2 blue out of 255, or 86.3% / 18.4% / 0.8% by channel.

Is #dc2f02 a light or a dark color?

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

Should I use black or white text on #dc2f02?

White. It scores 4.72:1 against #dc2f02, versus 4.45:1 for black — AA at any size.

What is the complementary color of #dc2f02?

#02AFDC sits directly opposite on the wheel. Softer options are the split-complements #02DC9C and #0242DC, which give the same contrast with far less vibration.

What colors go well with #dc2f02?

For interface work: #FAF6F4 as the surface, #EDC9C0 for borders, #9B5B4B for secondary text, #00CCC3 as an accent and #7E1B01 for hover and pressed states. For a palette, the analogous pair #DC0242 and #DC9C02 stays calm, while #02AFDC is the loudest partner.

What is #dc2f02 in CMYK for printing?

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

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

Work with #dc2f02 in the Color Lab