HSL(31, 40%, 63%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(31, 40%, 63%) color: hsl(31, 40%, 63%)
HEX #C6A27B color: #C6A27B
RGB rgb(198, 162, 123) color: rgb(198, 162, 123)
CMYK cmyk(0%, 18%, 38%, 22%)
HSV hsv(31, 38%, 78%)
HWB hwb(31 48% 22%) color: hwb(31 48% 22%)
OKLCH oklch(0.7353 0.0679 68.7) color: oklch(0.7353 0.0679 68.7)
Lab lab(68.95 7.85 25.29) color: lab(68.95 7.85 25.29)
LCH lch(68.95 26.48 72.76) color: lch(68.95 26.48 72.76)

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 2.37:1
vs Black 8.86: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)

#B6B684 — rgb(182, 182, 132)

Deuteranopia (Green-blind)

#B9BB87 — rgb(185, 187, 135)

Tritanopia (Blue-blind)

#C48C8E — rgb(196, 140, 142)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(31, 40%, 83%), hsl(31, 40%, 63%));

gradient dark

background: linear-gradient(to right, hsl(31, 40%, 63%), hsl(31, 40%, 43%))

hex

background-color: #C6A27B;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(31, 40%, 63%);

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(31, 40%, 63%)?

HEX: #C6A27B | RGB: rgb(198, 162, 123) | CMYK: 0%, 18%, 38%, 22% | HSV: 31°, 38%, 78%. Copy any format from the conversion table above.

What colors go well with #C6A27B?

The complementary color is HSL(211, 40%, 63%). For a triadic harmony, use hues 31°, 151°, and 271°. For analogous combinations, try hues 1° and 61°. See the Color Harmony section above for complete palettes with previews.

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

As HSL: color: hsl(31, 40%, 63%); — As HEX: color: #C6A27B; — As RGB: color: rgb(198, 162, 123); — Tailwind CSS: bg-[hsl(31,40%,63%)] — CSS variable: --color-primary: hsl(31, 40%, 63%);