#DC7F2E Color Information

Hex color code: #DC7F2E

The hex color #DC7F2E is a eye-catching orange with RGB values of (220, 127, 46) and HSL of (28°, 71%, 52%). It is widely used in graphic design.

Try:
Color NamePeru
HEX
#DC7F2E
RGB
220, 127, 46
HSL
28°, 71%, 52%
CMYK
0%, 42%, 79%, 14%

Shades

CSS Usage
color: #DC7F2E;
background-color: #DC7F2E;
border-color: #DC7F2E;
box-shadow: 0 0 10px #DC7F2E;
border: 2px solid #DC7F2E;
Tailwind Usage
bg-[#DC7F2E]
text-[#DC7F2E]
border-[#DC7F2E]
shadow-[0_0_10px_DC7F2E]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #DC7F2E, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #DC7F2E; color: #000000; }

Badge

New Feature
.badge { background-color: #DC7F2E; color: #000000; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #DC7F2E; background-color: #DC7F2E15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #DC7F2E20; border-left: 4px solid #DC7F2E; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #DC7F2E; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #DC7F2E in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

220, 127, 46

Red: 220 / Green: 127 / Blue: 46

HSL

28°, 71%, 52%

Hue: 28° / Saturation: 71% / Lightness: 52%

CMYK

0%, 42%, 79%, 14%

Cyan: 0% / Magenta: 42% / Yellow: 79% / Key: 14%

What color is #DC7F2E?

#DC7F2E is a red-orange hue associated with warmth and passion.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #DC7F2E to RGB:

rgb(220, 127, 46)HEX to RGB Converter →

HEX to HSL

Convert #DC7F2E to HSL:

hsl(28, 71%, 52%)RGB to HSL Converter →

HEX to CMYK

Convert #DC7F2E to CMYK:

cmyk(0%, 42%, 79%, 14%)Color Converter →

Color Meaning and Usage

A bold orange tone, #DC7F2E has RGB (220, 127, 46) and HSL (28°, 71%, 52%). Known for evoking warmth and passion, this red-orange hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #DC7F2E is #2E8ADC, creating high-contrast pairings. For softer combinations, try analogous colors like #DC2E33.

Use #DC7F2E in CSS: color: #DC7F2E or background-color: #DC7F2E. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #DC7F2E

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 7.12:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #DC7F2E?

#DC7F2E is a bold orange color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #DC7F2E?

#DC7F2E in RGB is (220, 127, 46) - 220 red, 127 green, and 46 blue.

How to use #DC7F2E in CSS?

Use #DC7F2E directly in your CSS properties like color or background-color.

What colors go well with #DC7F2E?

#2E8ADC (complementary), #DC2E33 (analogous), and #A15A1B (lighter shade) work well with #DC7F2E.