#640C4B Color Information

Hex color code: #640C4B

The hex color #640C4B is a dramatic magenta with RGB values of (100, 12, 75) and HSL of (317°, 79%, 22%). It is typically applied in digital products.

Try:
Color NamePurple
HEX
#640C4B
RGB
100, 12, 75
HSL
317°, 79%, 22%
CMYK
0%, 88%, 25%, 61%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #640C4B; 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 #640C4B; background-color: #640C4B15; }

Alert / Toast

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

Link / Accent

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

a { color: #640C4B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #640C4B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

100, 12, 75

Red: 100 / Green: 12 / Blue: 75

HSL

317°, 79%, 22%

Hue: 317° / Saturation: 79% / Lightness: 22%

CMYK

0%, 88%, 25%, 61%

Cyan: 0% / Magenta: 88% / Yellow: 25% / Key: 61%

What color is #640C4B?

#640C4B is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #640C4B to RGB:

rgb(100, 12, 75)HEX to RGB Converter →

HEX to HSL

Convert #640C4B to HSL:

hsl(317, 79%, 22%)RGB to HSL Converter →

HEX to CMYK

Convert #640C4B to CMYK:

cmyk(0%, 88%, 25%, 61%)Color Converter →

Color Meaning and Usage

A dramatic magenta tone, #640C4B has RGB (100, 12, 75) and HSL (317°, 79%, 22%). Known for evoking romance and playfulness, this magenta-red hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #640C4B is #0C6425, creating high-contrast pairings. For softer combinations, try analogous colors like #510C64.

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

Contrast with #640C4B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #640C4B?

#640C4B is a dramatic magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #640C4B?

#640C4B in RGB is (100, 12, 75) - 100 red, 12 green, and 75 blue.

How to use #640C4B in CSS?

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

What colors go well with #640C4B?

#0C6425 (complementary), #510C64 (analogous), and #200418 (lighter shade) work well with #640C4B.