HSL(12, 94%, 36%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(12,94%,36%)]

Color Conversions

Format Value CSS Usage
HSL hsl(12, 94%, 36%) color: hsl(12, 94%, 36%)
HEX #B22806 color: #B22806
RGB rgb(178, 40, 6) color: rgb(178, 40, 6)
CMYK cmyk(0%, 78%, 97%, 30%)
HSV hsv(12, 97%, 70%)
HWB hwb(12 2% 30%) color: hwb(12 2% 30%)
OKLCH oklch(0.4997 0.1784 33.41) color: oklch(0.4997 0.1784 33.41)
Lab lab(39.58 53.58 50.27) color: lab(39.58 53.58 50.27)
LCH lch(39.58 73.47 43.17) color: lch(39.58 73.47 43.17)

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 6.56:1
vs Black 3.2:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#76750E — rgb(118, 117, 14)

Deuteranopia (Green-blind)

#7E8910 — rgb(126, 137, 16)

Tritanopia (Blue-blind)

#AB1516 — rgb(171, 21, 22)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(12, 94%, 36%);

text

color: hsl(12, 94%, 36%);

border

border: 2px solid hsl(12, 94%, 36%);

gradient light

background: linear-gradient(to right, hsl(12, 94%, 56%), hsl(12, 94%, 36%));

gradient dark

background: linear-gradient(to right, hsl(12, 94%, 36%), hsl(12, 94%, 16%))

hex

background-color: #B22806;

tailwind

bg-[hsl(12,94%,36%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(12, 94%, 36%, 0.4);

css variable

--color-primary: hsl(12, 94%, 36%);

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(12, 94%, 36%)?

HEX: #B22806 | RGB: rgb(178, 40, 6) | CMYK: 0%, 78%, 97%, 30% | HSV: 12°, 97%, 70%. Copy any format from the conversion table above.

What colors go well with #B22806?

The complementary color is HSL(192, 94%, 36%). For a triadic harmony, use hues 12°, 132°, and 252°. For analogous combinations, try hues 342° and 42°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(12, 94%, 36%) in CSS?

As HSL: color: hsl(12, 94%, 36%); — As HEX: color: #B22806; — As RGB: color: rgb(178, 40, 6); — Tailwind CSS: bg-[hsl(12,94%,36%)] — CSS variable: --color-primary: hsl(12, 94%, 36%);