#120317 Color Information

Hex color code: #120317

The hex color #120317 is a intense magenta with RGB values of (18, 3, 23) and HSL of (285°, 77%, 5%). It is popular in mobile app design.

Try:
Color NameBlack
HEX
#120317
RGB
18, 3, 23
HSL
285°, 77%, 5%
CMYK
22%, 87%, 0%, 91%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #120317; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

18, 3, 23

Red: 18 / Green: 3 / Blue: 23

HSL

285°, 77%, 5%

Hue: 285° / Saturation: 77% / Lightness: 5%

CMYK

22%, 87%, 0%, 91%

Cyan: 22% / Magenta: 87% / Yellow: 0% / Key: 91%

What color is #120317?

#120317 is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #120317 to RGB:

rgb(18, 3, 23)HEX to RGB Converter →

HEX to HSL

Convert #120317 to HSL:

hsl(285, 77%, 5%)RGB to HSL Converter →

HEX to CMYK

Convert #120317 to CMYK:

cmyk(22%, 87%, 0%, 91%)Color Converter →

Color Meaning and Usage

#120317 is a intense magenta color with RGB values of 18, 3, 23 and HSL of 285°, 77%, 5%. This very dark shade evokes sophistication and elegance, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #120317 is #081703, creating high-contrast pairings. For softer combinations, try analogous colors like #080317.

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

Contrast with #120317

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #120317?

#120317 is a intense magenta color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #120317?

#120317 in RGB is (18, 3, 23) - 18 red, 3 green, and 23 blue.

How to use #120317 in CSS?

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

What colors go well with #120317?

#081703 (complementary), #080317 (analogous), and #000000 (lighter shade) work well with #120317.