#D7145B Color Information

Hex color code: #D7145B

#D7145B is a bold magenta color. In RGB it is (215, 20, 91), and in HSL it is (338°, 83%, 46%). It is often used for branding and logos.

Try:
Color NameCrimson
HEX
#D7145B
RGB
215, 20, 91
HSL
338°, 83%, 46%
CMYK
0%, 91%, 58%, 16%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #D7145B; 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 #D7145B; background-color: #D7145B15; }

Alert / Toast

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

Link / Accent

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

a { color: #D7145B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

215, 20, 91

Red: 215 / Green: 20 / Blue: 91

HSL

338°, 83%, 46%

Hue: 338° / Saturation: 83% / Lightness: 46%

CMYK

0%, 91%, 58%, 16%

Cyan: 0% / Magenta: 91% / Yellow: 58% / Key: 16%

What color is #D7145B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D7145B to RGB:

rgb(215, 20, 91)HEX to RGB Converter →

HEX to HSL

Convert #D7145B to HSL:

hsl(338, 83%, 46%)RGB to HSL Converter →

HEX to CMYK

Convert #D7145B to CMYK:

cmyk(0%, 91%, 58%, 16%)Color Converter →

Color Meaning and Usage

#D7145B is a striking magenta color with RGB values of 215, 20, 91 and HSL of 338°, 83%, 46%. This highly saturated hue evokes energy and excitement, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D7145B is #14D78F, creating high-contrast pairings. For softer combinations, try analogous colors like #D714BD.

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

Contrast with #D7145B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D7145B?

#D7145B is a striking magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #D7145B?

#D7145B in RGB is (215, 20, 91) - 215 red, 20 green, and 91 blue.

How to use #D7145B in CSS?

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

What colors go well with #D7145B?

#14D78F (complementary), #D714BD (analogous), and #910D3E (lighter shade) work well with #D7145B.