HSL(18, 63%, 40%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(18,63%,40%)]

Color Conversions

Format Value CSS Usage
HSL hsl(18, 63%, 40%) color: hsl(18, 63%, 40%)
HEX #A64C26 color: #A64C26
RGB rgb(166, 76, 38) color: rgb(166, 76, 38)
CMYK cmyk(0%, 54%, 77%, 35%)
HSV hsv(18, 77%, 65%)
HWB hwb(18 15% 35%) color: hwb(18 15% 35%)
OKLCH oklch(0.525 0.1295 41.92) color: oklch(0.525 0.1295 41.92)
Lab lab(43.39 34.63 39.16) color: lab(43.39 34.63 39.16)
LCH lch(43.39 52.28 48.51) color: lch(43.39 52.28 48.51)

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

#7F7E2F — rgb(127, 126, 47)

Deuteranopia (Green-blind)

#848B31 — rgb(132, 139, 49)

Tritanopia (Blue-blind)

#A23638 — rgb(162, 54, 56)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(18, 63%, 40%);

text

color: hsl(18, 63%, 40%);

border

border: 2px solid hsl(18, 63%, 40%);

gradient light

background: linear-gradient(to right, hsl(18, 63%, 60%), hsl(18, 63%, 40%));

gradient dark

background: linear-gradient(to right, hsl(18, 63%, 40%), hsl(18, 63%, 20%))

hex

background-color: #A64C26;

tailwind

bg-[hsl(18,63%,40%)]

box shadow

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

css variable

--color-primary: hsl(18, 63%, 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(18, 63%, 40%)?

HEX: #A64C26 | RGB: rgb(166, 76, 38) | CMYK: 0%, 54%, 77%, 35% | HSV: 18°, 77%, 65%. Copy any format from the conversion table above.

What colors go well with #A64C26?

The complementary color is HSL(198, 63%, 40%). For a triadic harmony, use hues 18°, 138°, and 258°. For analogous combinations, try hues 348° and 48°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(18, 63%, 40%) in CSS?

As HSL: color: hsl(18, 63%, 40%); — As HEX: color: #A64C26; — As RGB: color: rgb(166, 76, 38); — Tailwind CSS: bg-[hsl(18,63%,40%)] — CSS variable: --color-primary: hsl(18, 63%, 40%);