HSL(7, 86%, 34%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(7,86%,34%)]

Color Conversions

Format Value CSS Usage
HSL hsl(7, 86%, 34%) color: hsl(7, 86%, 34%)
HEX #A11E0C color: #A11E0C
RGB rgb(161, 30, 12) color: rgb(161, 30, 12)
CMYK cmyk(0%, 81%, 93%, 37%)
HSV hsv(7, 93%, 63%)
HWB hwb(7 4% 37%) color: hwb(7 4% 37%)
OKLCH oklch(0.4601 0.1686 31.13) color: oklch(0.4601 0.1686 31.13)
Lab lab(35.07 51.44 43.63) color: lab(35.07 51.44 43.63)
LCH lch(35.07 67.45 40.3) color: lch(35.07 67.45 40.3)

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 7.76:1
vs Black 2.71: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)

#686710 — rgb(104, 103, 16)

Deuteranopia (Green-blind)

#707A11 — rgb(112, 122, 17)

Tritanopia (Blue-blind)

#9A1415 — rgb(154, 20, 21)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(7, 86%, 34%);

text

color: hsl(7, 86%, 34%);

border

border: 2px solid hsl(7, 86%, 34%);

gradient light

background: linear-gradient(to right, hsl(7, 86%, 54%), hsl(7, 86%, 34%));

gradient dark

background: linear-gradient(to right, hsl(7, 86%, 34%), hsl(7, 86%, 14%))

hex

background-color: #A11E0C;

tailwind

bg-[hsl(7,86%,34%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(7, 86%, 34%, 0.4);

css variable

--color-primary: hsl(7, 86%, 34%);

Related Colors

Use Cases for Red

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

Frequently Asked Questions

What are all the color codes for HSL(7, 86%, 34%)?

HEX: #A11E0C | RGB: rgb(161, 30, 12) | CMYK: 0%, 81%, 93%, 37% | HSV: 7°, 93%, 63%. Copy any format from the conversion table above.

What colors go well with #A11E0C?

The complementary color is HSL(187, 86%, 34%). For a triadic harmony, use hues 7°, 127°, and 247°. For analogous combinations, try hues 337° and 37°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(7, 86%, 34%) in CSS?

As HSL: color: hsl(7, 86%, 34%); — As HEX: color: #A11E0C; — As RGB: color: rgb(161, 30, 12); — Tailwind CSS: bg-[hsl(7,86%,34%)] — CSS variable: --color-primary: hsl(7, 86%, 34%);