HSL(21, 43%, 48%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(21,43%,48%)]

Color Conversions

Format Value CSS Usage
HSL hsl(21, 43%, 48%) color: hsl(21, 43%, 48%)
HEX #AF6B46 color: #AF6B46
RGB rgb(175, 107, 70) color: rgb(175, 107, 70)
CMYK cmyk(0%, 39%, 60%, 31%)
HSV hsv(21, 60%, 69%)
HWB hwb(21 28% 31%) color: hwb(21 28% 31%)
OKLCH oklch(0.5943 0.1012 48.55) color: oklch(0.5943 0.1012 48.55)
Lab lab(51.92 23.46 31.96) color: lab(51.92 23.46 31.96)
LCH lch(51.92 39.65 53.72) color: lch(51.92 39.65 53.72)

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 4.19:1
vs Black 5.01:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#92914F — rgb(146, 145, 79)

Deuteranopia (Green-blind)

#969B51 — rgb(150, 155, 81)

Tritanopia (Blue-blind)

#AC5658 — rgb(172, 86, 88)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(21, 43%, 48%);

text

color: hsl(21, 43%, 48%);

border

border: 2px solid hsl(21, 43%, 48%);

gradient light

background: linear-gradient(to right, hsl(21, 43%, 68%), hsl(21, 43%, 48%));

gradient dark

background: linear-gradient(to right, hsl(21, 43%, 48%), hsl(21, 43%, 28%))

hex

background-color: #AF6B46;

tailwind

bg-[hsl(21,43%,48%)]

box shadow

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

css variable

--color-primary: hsl(21, 43%, 48%);

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, 43%, 48%)?

HEX: #AF6B46 | RGB: rgb(175, 107, 70) | CMYK: 0%, 39%, 60%, 31% | HSV: 21°, 60%, 69%. Copy any format from the conversion table above.

What colors go well with #AF6B46?

The complementary color is HSL(201, 43%, 48%). 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, 43%, 48%) in CSS?

As HSL: color: hsl(21, 43%, 48%); — As HEX: color: #AF6B46; — As RGB: color: rgb(175, 107, 70); — Tailwind CSS: bg-[hsl(21,43%,48%)] — CSS variable: --color-primary: hsl(21, 43%, 48%);