#271F22 Color Information
Hex color code: #271F22
The hex color #271F22 is a deep magenta with RGB values of (39, 31, 34) and HSL of (338°, 11%, 14%). It is commonly used in modern UI design.
Shades
color: #271F22; background-color: #271F22; border-color: #271F22; box-shadow: 0 0 10px #271F22; border: 2px solid #271F22;
bg-[#271F22] text-[#271F22] border-[#271F22] shadow-[0_0_10px_271F22]
Generate Gradient
background: linear-gradient(90deg, #271F22, #FF5733);
Preview in UI
Button
Badge
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.
Alert / Toast
Link / Accent
This is a paragraph with a link using your color. The color can be applied to interactive elements.
Related Colors
Complementary
Analogous
Triadic
Split Complementary
Tetradic
Monochromatic
Popular Colors
Common HEX Colors
Color Theory
Relationships based on the position of #271F22 in the color wheel.
RGB, HSL and CMYK Values
RGB
39, 31, 34
Red: 39 / Green: 31 / Blue: 34
HSL
338°, 11%, 14%
Hue: 338° / Saturation: 11% / Lightness: 14%
CMYK
0%, 21%, 13%, 85%
Cyan: 0% / Magenta: 21% / Yellow: 13% / Key: 85%
What color is #271F22?
#271F22 is a very dark shade associated with sophistication and elegance.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
A rich magenta tone, #271F22 has RGB (39, 31, 34) and HSL (338°, 11%, 14%). Known for evoking sophistication and elegance, this very dark shade is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #271F22 is #202825, creating high-contrast pairings. For softer combinations, try analogous colors like #282027.
Use #271F22 in CSS: color: #271F22 or background-color: #271F22. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #271F22
Sample text on this color - The quick brown fox jumps over the lazy dog.
Need more control? Contrast Checker →
Frequently Asked Questions
What color is #271F22?
#271F22 is a rich magenta color - a very dark shade that evokes sophistication and elegance.
What is the RGB value of #271F22?
#271F22 in RGB is (39, 31, 34) - 39 red, 31 green, and 34 blue.
How to use #271F22 in CSS?
Use #271F22 directly in your CSS properties like color or background-color.