HSL(9, 12%, 15%)

Grayish Red — Red color

Adjust Color

Color Information

Color Name

Grayish Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

N/A

CSS Class

bg-[hsl(9,12%,15%)]

Color Conversions

Format Value CSS Usage
HSL hsl(9, 12%, 15%) color: hsl(9, 12%, 15%)
HEX #2B2322 color: #2B2322
RGB rgb(43, 35, 34) color: rgb(43, 35, 34)
CMYK cmyk(0%, 19%, 21%, 83%)
HSV hsv(7, 21%, 17%)
HWB hwb(7 13% 83%) color: hwb(7 13% 83%)
OKLCH oklch(0.2649 0.0124 26.36) color: oklch(0.2649 0.0124 26.36)
Lab lab(14.58 3.57 2.08) color: lab(14.58 3.57 2.08)
LCH lch(14.58 4.13 30.23) color: lch(14.58 4.13 30.23)

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 15.37:1
vs Black 1.37:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#282722 — rgb(40, 39, 34)

Deuteranopia (Green-blind)

#282922 — rgb(40, 41, 34)

Tritanopia (Blue-blind)

#2B2222 — rgb(43, 34, 34)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(9, 12%, 15%);

text

color: hsl(9, 12%, 15%);

border

border: 2px solid hsl(9, 12%, 15%);

gradient light

background: linear-gradient(to right, hsl(9, 12%, 35%), hsl(9, 12%, 15%));

gradient dark

background: linear-gradient(to right, hsl(9, 12%, 15%), hsl(9, 12%, 0%))

hex

background-color: #2B2322;

tailwind

bg-[hsl(9,12%,15%)]

box shadow

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

css variable

--color-primary: hsl(9, 12%, 15%);

Related Colors

Use Cases for Grayish 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, 12%, 15%)?

HEX: #2B2322 | RGB: rgb(43, 35, 34) | CMYK: 0%, 19%, 21%, 83% | HSV: 7°, 21%, 17%. Copy any format from the conversion table above.

What colors go well with #2B2322?

The complementary color is HSL(189, 12%, 15%). 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, 12%, 15%) in CSS?

As HSL: color: hsl(9, 12%, 15%); — As HEX: color: #2B2322; — As RGB: color: rgb(43, 35, 34); — Tailwind CSS: bg-[hsl(9,12%,15%)] — CSS variable: --color-primary: hsl(9, 12%, 15%);