HSL(22, 87%, 38%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(22,87%,38%)]

Color Conversions

Format Value CSS Usage
HSL hsl(22, 87%, 38%) color: hsl(22, 87%, 38%)
HEX #B54A0D color: #B54A0D
RGB rgb(181, 74, 13) color: rgb(181, 74, 13)
CMYK cmyk(0%, 59%, 93%, 29%)
HSV hsv(22, 93%, 71%)
HWB hwb(22 5% 29%) color: hwb(22 5% 29%)
OKLCH oklch(0.5437 0.153 43.77) color: oklch(0.5437 0.153 43.77)
Lab lab(45.29 40.83 52.11) color: lab(45.29 40.83 52.11)
LCH lch(45.29 66.2 51.92) color: lch(45.29 66.2 51.92)

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.32:1
vs Black 3.95: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)

#87861C — rgb(135, 134, 28)

Deuteranopia (Green-blind)

#8D951F — rgb(141, 149, 31)

Tritanopia (Blue-blind)

#B0272A — rgb(176, 39, 42)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(22, 87%, 38%);

text

color: hsl(22, 87%, 38%);

border

border: 2px solid hsl(22, 87%, 38%);

gradient light

background: linear-gradient(to right, hsl(22, 87%, 58%), hsl(22, 87%, 38%));

gradient dark

background: linear-gradient(to right, hsl(22, 87%, 38%), hsl(22, 87%, 18%))

hex

background-color: #B54A0D;

tailwind

bg-[hsl(22,87%,38%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(22, 87%, 38%, 0.4);

css variable

--color-primary: hsl(22, 87%, 38%);

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(22, 87%, 38%)?

HEX: #B54A0D | RGB: rgb(181, 74, 13) | CMYK: 0%, 59%, 93%, 29% | HSV: 22°, 93%, 71%. Copy any format from the conversion table above.

What colors go well with #B54A0D?

The complementary color is HSL(202, 87%, 38%). For a triadic harmony, use hues 22°, 142°, and 262°. For analogous combinations, try hues 352° and 52°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(22, 87%, 38%) in CSS?

As HSL: color: hsl(22, 87%, 38%); — As HEX: color: #B54A0D; — As RGB: color: rgb(181, 74, 13); — Tailwind CSS: bg-[hsl(22,87%,38%)] — CSS variable: --color-primary: hsl(22, 87%, 38%);