Color #3A040F Color / Colour Code #3A040F
This page shows the hex color code for color #3a040f (#3A040F). The colour is a red tone with 87% saturation and 12% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.
Color Conversions
Accessibility Contrast
WCAG contrast ratios for #3A040F against common backgrounds.
Complementary Colors
#3A040F paired with its color wheel opposite for maximum contrast.
Analogous Colors
Hues at 318, 348, and 18 degrees for harmonious combinations.
Triadic Palette
Three colors at 348, 108, and 228 degrees.
Color Palettes Using #3A040F
Five shades at lightness levels 15% through 85% while keeping hue at 348 and saturation at 87%. Use the darkest shade for text and the lightest for backgrounds to build a cohesive single-hue design system.
Adjacent hues from 348 to 33 degrees create a warm, unified palette. This analogous scheme works for marketing materials, seasonal campaigns, and any design that needs visual warmth without clashing colors.
Combines the base color at hue 348 with its complement at 168 and two adjacent cool tones. This split-complementary approach provides strong visual contrast while remaining more balanced than a pure complementary scheme.
Five evenly spaced hues at 40% saturation and 80% lightness. Pastels are gentle on the eyes and work well for dashboards, onboarding screens, category tags, and any interface where multiple distinct colors are needed without visual aggression.
Shades & Tints of #3A040F
Lightness variations at hue 348 and 87% saturation.
CSS Gradients with #3A040F
Design Use Cases for #3A040F
High-Impact Accent
With 87% saturation, #3A040F is highly vivid. Reserve this for elements that need maximum attention: primary action buttons, notification badges, error states, or promotional banners. Use sparingly alongside neutral tones to avoid visual fatigue.
Dark Mode Background
At just 12% lightness, #3A040F works as a dark mode background or overlay color. Dark backgrounds reduce eye strain in low-light environments and make bright accent colors pop. Pair with light text (minimum 4.5:1 contrast ratio) for readability.
Urgency & Energy Signaling
#3A040F falls in the red spectrum (hue 348). Red triggers urgency and excitement, making it effective for sale badges, countdown timers, error messages, and "limited time" labels. In data visualization, use it to flag negative values or critical thresholds.
Gradient Pairing
Create a gradient from #3A040F (hue 348) to its complement at hue 168. For a subtler effect, try pairing with an analogous color at hue 18. Use CSS: background: linear-gradient(135deg, #3a040f, #04392f);
CSS Code for #3A040F
Similar Colors
Colors visually similar to #3A040F based on RGB, lightness, and hue variations.
Use This Color in Design Tools
Apply #3A040F across image editing and color design tools.
About Color #3A040F (#3A040F)
#3A040F is a red color (colour) with RGB channel values of 58 red, 4 green, and 15 blue. The red channel is dominant by a ratio of 14.5:1 over the weakest channel. In HSL terms, the hue sits at 348 degrees with 87% saturation and 12% lightness, placing it in the warm range of the colour spectrum.
The perceived brightness of #3A040F is 21/255 using the ITU-R BT.601 luma formula (0.299R + 0.587G + 0.114B). This appears dark to the human eye, so pair it with light text for adequate readability. For print production, the CMYK equivalent is 0% cyan, 93% magenta, 74% yellow, and 77% key (black).
The WCAG contrast ratio of #3A040F against white is 17.44:1 and against black is 1.20:1. This exceeds the AAA requirement (7:1) for normal text on white, making it excellent for body text and small UI labels on light backgrounds.
The complementary colour #04392F creates maximum visual tension when paired with #3A040F. For more harmonious color combinations, use the analogous colours #390429 and #391404, which sit 30 degrees on either side of the hue wheel. To build a complete design system, start with the monochromatic scale above for consistent shade variations, then add one complementary or triadic accent for interactive elements.
How to Explore Color #3A040F
- Enter your color value in HEX format.
- The tool converts it to RGB, HSL, CMYK format in real time.
- Copy the converted value to your clipboard.
What is HEX to RGB, HSL, CMYK color conversion
Converting from HEX to RGB, HSL, CMYK translates a color value between two different color models. Different color models are used in web design (HEX, RGB), print (CMYK), and color theory (HSL, HSV).
Related Tools & Colors
Frequently Asked Questions
- What color / colour is #3A040F?
- #3A040F is Color #3A040F, a red color (colour) with RGB(58, 4, 15), HSL(348, 87%, 12%), and CMYK(0%, 93%, 74%, 77%). Its perceived brightness is 21/255.
- Is #3A040F accessible for text?
- Against white, #3A040F has a contrast ratio of 17.44:1 (passes AA for normal text). Against black, it has 1.20:1 (fails AA). Use the contrast checker tool for custom background pairings.
- What colours pair well with #3A040F?
- The complementary colour is #04392F (hue 168). For subtle color combinations, use analogous colours #390429 and #391404. The triadic palette adds #0F3904 and #040F39 for vibrant variety.
- How do I use #3A040F in CSS?
- Use any format: color: #3a040f; or rgb(58, 4, 15); or hsl(348, 87%, 12%). For CSS custom properties: --color-primary: 348 87% 12%; then use it as hsl(var(--color-primary)).
- Is this color / colour explorer free?
- Yes, completely free with no signup required. All colour calculations run in your browser. You can explore any valid hex color code, not just the pre-generated palette.