HSL(21, 67%, 48%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(21, 67%, 48%) color: hsl(21, 67%, 48%)
HEX #CC6228 color: #CC6228
RGB rgb(204, 98, 40) color: rgb(204, 98, 40)
CMYK cmyk(0%, 52%, 80%, 20%)
HSV hsv(21, 80%, 80%)
HWB hwb(21 16% 20%) color: hwb(21 16% 20%)
OKLCH oklch(0.6156 0.1513 45.91) color: oklch(0.6156 0.1513 45.91)
Lab lab(53.74 38.53 50.38) color: lab(53.74 38.53 50.38)
LCH lch(53.74 63.42 52.59) color: lch(53.74 63.42 52.59)

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

#9E9D36 — rgb(158, 157, 54)

Deuteranopia (Green-blind)

#A4AC39 — rgb(164, 172, 57)

Tritanopia (Blue-blind)

#C74144 — rgb(199, 65, 68)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #CC6228;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(21, 67%, 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, 67%, 48%)?

HEX: #CC6228 | RGB: rgb(204, 98, 40) | CMYK: 0%, 52%, 80%, 20% | HSV: 21°, 80%, 80%. Copy any format from the conversion table above.

What colors go well with #CC6228?

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

As HSL: color: hsl(21, 67%, 48%); — As HEX: color: #CC6228; — As RGB: color: rgb(204, 98, 40); — Tailwind CSS: bg-[hsl(21,67%,48%)] — CSS variable: --color-primary: hsl(21, 67%, 48%);