HSL(21, 87%, 78%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(21,87%,78%)]

Color Conversions

Format Value CSS Usage
HSL hsl(21, 87%, 78%) color: hsl(21, 87%, 78%)
HEX #F8B896 color: #F8B896
RGB rgb(248, 184, 150) color: rgb(248, 184, 150)
CMYK cmyk(0%, 26%, 40%, 3%)
HSV hsv(21, 40%, 97%)
HWB hwb(21 58% 3%) color: hwb(21 58% 3%)
OKLCH oklch(0.8335 0.0876 49.09) color: oklch(0.8335 0.0876 49.09)
Lab lab(79.87 18.92 26.34) color: lab(79.87 18.92 26.34)
LCH lch(79.87 32.43 54.31) color: lch(79.87 32.43 54.31)

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 1.71:1
vs Black 12.29:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#DCDC9E — rgb(220, 220, 158)

Deuteranopia (Green-blind)

#E0E5A0 — rgb(224, 229, 160)

Tritanopia (Blue-blind)

#F5A5A6 — rgb(245, 165, 166)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(21, 87%, 78%);

text

color: hsl(21, 87%, 78%);

border

border: 2px solid hsl(21, 87%, 78%);

gradient light

background: linear-gradient(to right, hsl(21, 87%, 98%), hsl(21, 87%, 78%));

gradient dark

background: linear-gradient(to right, hsl(21, 87%, 78%), hsl(21, 87%, 58%))

hex

background-color: #F8B896;

tailwind

bg-[hsl(21,87%,78%)]

box shadow

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

css variable

--color-primary: hsl(21, 87%, 78%);

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, 87%, 78%)?

HEX: #F8B896 | RGB: rgb(248, 184, 150) | CMYK: 0%, 26%, 40%, 3% | HSV: 21°, 40%, 97%. Copy any format from the conversion table above.

What colors go well with #F8B896?

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

As HSL: color: hsl(21, 87%, 78%); — As HEX: color: #F8B896; — As RGB: color: rgb(248, 184, 150); — Tailwind CSS: bg-[hsl(21,87%,78%)] — CSS variable: --color-primary: hsl(21, 87%, 78%);