HSL(21, 78%, 40%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(21,78%,40%)]

Color Conversions

Format Value CSS Usage
HSL hsl(21, 78%, 40%) color: hsl(21, 78%, 40%)
HEX #B64E16 color: #B64E16
RGB rgb(182, 78, 22) color: rgb(182, 78, 22)
CMYK cmyk(0%, 57%, 88%, 29%)
HSV hsv(21, 88%, 71%)
HWB hwb(21 9% 29%) color: hwb(21 9% 29%)
OKLCH oklch(0.5514 0.1492 44.08) color: oklch(0.5514 0.1492 44.08)
Lab lab(46.25 39.43 49.92) color: lab(46.25 39.43 49.92)
LCH lch(46.25 63.61 51.7) color: lch(46.25 63.61 51.7)

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 5.13:1
vs Black 4.09: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)

#898824 — rgb(137, 136, 36)

Deuteranopia (Green-blind)

#8F9727 — rgb(143, 151, 39)

Tritanopia (Blue-blind)

#B12E31 — rgb(177, 46, 49)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(21, 78%, 40%);

text

color: hsl(21, 78%, 40%);

border

border: 2px solid hsl(21, 78%, 40%);

gradient light

background: linear-gradient(to right, hsl(21, 78%, 60%), hsl(21, 78%, 40%));

gradient dark

background: linear-gradient(to right, hsl(21, 78%, 40%), hsl(21, 78%, 20%))

hex

background-color: #B64E16;

tailwind

bg-[hsl(21,78%,40%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(21, 78%, 40%, 0.4);

css variable

--color-primary: hsl(21, 78%, 40%);

Related Colors

Use Cases for Orange

E-commerce CTAs Food & beverage branding Energetic UI elements Sale tags Sunset themes

Frequently Asked Questions

What are all the color codes for HSL(21, 78%, 40%)?

HEX: #B64E16 | RGB: rgb(182, 78, 22) | CMYK: 0%, 57%, 88%, 29% | HSV: 21°, 88%, 71%. Copy any format from the conversion table above.

What colors go well with #B64E16?

The complementary color is HSL(201, 78%, 40%). For a triadic harmony, use hues 21°, 141°, and 261°. For analogous combinations, try hues 351° and 51°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(21, 78%, 40%) in CSS?

As HSL: color: hsl(21, 78%, 40%); — As HEX: color: #B64E16; — As RGB: color: rgb(182, 78, 22); — Tailwind CSS: bg-[hsl(21,78%,40%)] — CSS variable: --color-primary: hsl(21, 78%, 40%);