HSL(21, 68%, 56%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(21,68%,56%)]

Color Conversions

Format Value CSS Usage
HSL hsl(21, 68%, 56%) color: hsl(21, 68%, 56%)
HEX #DB7843 color: #DB7843
RGB rgb(219, 120, 67) color: rgb(219, 120, 67)
CMYK cmyk(0%, 45%, 69%, 14%)
HSV hsv(21, 69%, 86%)
HWB hwb(21 27% 14%) color: hwb(21 27% 14%)
OKLCH oklch(0.674 0.1406 47.15) color: oklch(0.674 0.1406 47.15)
Lab lab(60.7 34.32 45.3) color: lab(60.7 34.32 45.3)
LCH lch(60.7 56.83 52.85) color: lch(60.7 56.83 52.85)

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 3.1:1
vs Black 6.78: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)

#B0AF50 — rgb(176, 175, 80)

Deuteranopia (Green-blind)

#B6BD53 — rgb(182, 189, 83)

Tritanopia (Blue-blind)

#D65A5C — rgb(214, 90, 92)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(21, 68%, 56%);

text

color: hsl(21, 68%, 56%);

border

border: 2px solid hsl(21, 68%, 56%);

gradient light

background: linear-gradient(to right, hsl(21, 68%, 76%), hsl(21, 68%, 56%));

gradient dark

background: linear-gradient(to right, hsl(21, 68%, 56%), hsl(21, 68%, 36%))

hex

background-color: #DB7843;

tailwind

bg-[hsl(21,68%,56%)]

box shadow

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

css variable

--color-primary: hsl(21, 68%, 56%);

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, 68%, 56%)?

HEX: #DB7843 | RGB: rgb(219, 120, 67) | CMYK: 0%, 45%, 69%, 14% | HSV: 21°, 69%, 86%. Copy any format from the conversion table above.

What colors go well with #DB7843?

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

As HSL: color: hsl(21, 68%, 56%); — As HEX: color: #DB7843; — As RGB: color: rgb(219, 120, 67); — Tailwind CSS: bg-[hsl(21,68%,56%)] — CSS variable: --color-primary: hsl(21, 68%, 56%);