#D3121F Color Information

Hex color code: #D3121F

The hex color #D3121F is a vivid red with RGB values of (211, 18, 31) and HSL of (356°, 84%, 45%). It is commonly used in modern UI design.

Try:
Color NameCrimson
HEX
#D3121F
RGB
211, 18, 31
HSL
356°, 84%, 45%
CMYK
0%, 91%, 85%, 17%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #D3121F; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #D3121F; color: #FFFFFF; }

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 #D3121F; background-color: #D3121F15; }

Alert / Toast

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

Link / Accent

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

a { color: #D3121F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

211, 18, 31

Red: 211 / Green: 18 / Blue: 31

HSL

356°, 84%, 45%

Hue: 356° / Saturation: 84% / Lightness: 45%

CMYK

0%, 91%, 85%, 17%

Cyan: 0% / Magenta: 91% / Yellow: 85% / Key: 17%

What color is #D3121F?

#D3121F is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D3121F to RGB:

rgb(211, 18, 31)HEX to RGB Converter →

HEX to HSL

Convert #D3121F to HSL:

hsl(356, 84%, 45%)RGB to HSL Converter →

HEX to CMYK

Convert #D3121F to CMYK:

cmyk(0%, 91%, 85%, 17%)Color Converter →

Color Meaning and Usage

A eye-catching red tone, #D3121F has RGB (211, 18, 31) and HSL (356°, 84%, 45%). Known for evoking energy and excitement, this highly saturated hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D3121F is #12D3C6, creating high-contrast pairings. For softer combinations, try analogous colors like #D31280.

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

Contrast with #D3121F

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

Contrast Ratio: 3.88:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D3121F?

#D3121F is a eye-catching red color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #D3121F?

#D3121F in RGB is (211, 18, 31) - 211 red, 18 green, and 31 blue.

How to use #D3121F in CSS?

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

What colors go well with #D3121F?

#12D3C6 (complementary), #D31280 (analogous), and #8D0C15 (lighter shade) work well with #D3121F.