HSL(351, 81%, 9%)

Very Dark Red — Red color

Adjust Color

Color Information

Color Name

Very Dark Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(351,81%,9%)]

Color Conversions

Format Value CSS Usage
HSL hsl(351, 81%, 9%) color: hsl(351, 81%, 9%)
HEX #2A040A color: #2A040A
RGB rgb(42, 4, 10) color: rgb(42, 4, 10)
CMYK cmyk(0%, 90%, 76%, 84%)
HSV hsv(351, 90%, 16%)
HWB hwb(351 2% 84%) color: hwb(351 2% 84%)
OKLCH oklch(0.1899 0.0639 15.3) color: oklch(0.1899 0.0639 15.3)
Lab lab(5.43 19.1 4.39) color: lab(5.43 19.1 4.39)
LCH lch(5.43 19.6 12.94) color: lch(5.43 19.6 12.94)

Color Theory

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 18.75:1
vs Black 1.12:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#1A1909 — rgb(26, 25, 9)

Deuteranopia (Green-blind)

#1C1F08 — rgb(28, 31, 8)

Tritanopia (Blue-blind)

#280707 — rgb(40, 7, 7)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(351, 81%, 9%);

text

color: hsl(351, 81%, 9%);

border

border: 2px solid hsl(351, 81%, 9%);

gradient light

background: linear-gradient(to right, hsl(351, 81%, 29%), hsl(351, 81%, 9%));

gradient dark

background: linear-gradient(to right, hsl(351, 81%, 9%), hsl(351, 81%, 0%))

hex

background-color: #2A040A;

tailwind

bg-[hsl(351,81%,9%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(351, 81%, 9%, 0.4);

css variable

--color-primary: hsl(351, 81%, 9%);

Related Colors

Use Cases for Very Dark Red

Alerts & errors Call-to-action buttons Brand logos Sale badges Warning messages

Frequently Asked Questions

What are all the color codes for HSL(351, 81%, 9%)?

HEX: #2A040A | RGB: rgb(42, 4, 10) | CMYK: 0%, 90%, 76%, 84% | HSV: 351°, 90%, 16%. Copy any format from the conversion table above.

What colors go well with #2A040A?

The complementary color is HSL(171, 81%, 9%). For a triadic harmony, use hues 351°, 111°, and 231°. For analogous combinations, try hues 321° and 21°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(351, 81%, 9%) in CSS?

As HSL: color: hsl(351, 81%, 9%); — As HEX: color: #2A040A; — As RGB: color: rgb(42, 4, 10); — Tailwind CSS: bg-[hsl(351,81%,9%)] — CSS variable: --color-primary: hsl(351, 81%, 9%);