HSL(9, 40%, 52%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(9,40%,52%)]

Color Conversions

Format Value CSS Usage
HSL hsl(9, 40%, 52%) color: hsl(9, 40%, 52%)
HEX #B66254 color: #B66254
RGB rgb(182, 98, 84) color: rgb(182, 98, 84)
CMYK cmyk(0%, 46%, 54%, 29%)
HSV hsv(9, 54%, 71%)
HWB hwb(9 33% 29%) color: hwb(9 33% 29%)
OKLCH oklch(0.5904 0.1113 30.63) color: oklch(0.5904 0.1113 30.63)
Lab lab(51.06 32.41 23.09) color: lab(51.06 32.41 23.09)
LCH lch(51.06 39.79 35.47) color: lch(51.06 39.79 35.47)

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.32:1
vs Black 4.86: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)

#929157 — rgb(146, 145, 87)

Deuteranopia (Green-blind)

#979D58 — rgb(151, 157, 88)

Tritanopia (Blue-blind)

#B25A5B — rgb(178, 90, 91)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(9, 40%, 52%);

text

color: hsl(9, 40%, 52%);

border

border: 2px solid hsl(9, 40%, 52%);

gradient light

background: linear-gradient(to right, hsl(9, 40%, 72%), hsl(9, 40%, 52%));

gradient dark

background: linear-gradient(to right, hsl(9, 40%, 52%), hsl(9, 40%, 32%))

hex

background-color: #B66254;

tailwind

bg-[hsl(9,40%,52%)]

box shadow

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

css variable

--color-primary: hsl(9, 40%, 52%);

Related Colors

Use Cases for Red

Alerts & errors Call-to-action buttons Brand logos Sale badges Warning messages

Frequently Asked Questions

What are all the color codes for HSL(9, 40%, 52%)?

HEX: #B66254 | RGB: rgb(182, 98, 84) | CMYK: 0%, 46%, 54%, 29% | HSV: 9°, 54%, 71%. Copy any format from the conversion table above.

What colors go well with #B66254?

The complementary color is HSL(189, 40%, 52%). For a triadic harmony, use hues 9°, 129°, and 249°. For analogous combinations, try hues 339° and 39°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(9, 40%, 52%) in CSS?

As HSL: color: hsl(9, 40%, 52%); — As HEX: color: #B66254; — As RGB: color: rgb(182, 98, 84); — Tailwind CSS: bg-[hsl(9,40%,52%)] — CSS variable: --color-primary: hsl(9, 40%, 52%);