#C31D5D Color Information

Hex color code: #C31D5D

The hex color #C31D5D is a bold magenta with RGB values of (195, 29, 93) and HSL of (337°, 74%, 44%). It is often used for branding and logos.

Try:
Color NameMedium Violet Red
HEX
#C31D5D
RGB
195, 29, 93
HSL
337°, 74%, 44%
CMYK
0%, 85%, 52%, 24%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C31D5D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

195, 29, 93

Red: 195 / Green: 29 / Blue: 93

HSL

337°, 74%, 44%

Hue: 337° / Saturation: 74% / Lightness: 44%

CMYK

0%, 85%, 52%, 24%

Cyan: 0% / Magenta: 85% / Yellow: 52% / Key: 24%

What color is #C31D5D?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C31D5D to RGB:

rgb(195, 29, 93)HEX to RGB Converter →

HEX to HSL

Convert #C31D5D to HSL:

hsl(337, 74%, 44%)RGB to HSL Converter →

HEX to CMYK

Convert #C31D5D to CMYK:

cmyk(0%, 85%, 52%, 24%)Color Converter →

Color Meaning and Usage

A striking magenta tone, #C31D5D has RGB (195, 29, 93) and HSL (337°, 74%, 44%). Known for evoking warmth and passion, this red-orange hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C31D5D is #1DC384, creating high-contrast pairings. For softer combinations, try analogous colors like #C31DB0.

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

Contrast with #C31D5D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C31D5D?

#C31D5D is a striking magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #C31D5D?

#C31D5D in RGB is (195, 29, 93) - 195 red, 29 green, and 93 blue.

How to use #C31D5D in CSS?

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

What colors go well with #C31D5D?

#1DC384 (complementary), #C31DB0 (analogous), and #81133D (lighter shade) work well with #C31D5D.