HSL(2, 24%, 17%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(2,24%,17%)]

Color Conversions

Format Value CSS Usage
HSL hsl(2, 24%, 17%) color: hsl(2, 24%, 17%)
HEX #362221 color: #362221
RGB rgb(54, 34, 33) color: rgb(54, 34, 33)
CMYK cmyk(0%, 37%, 39%, 79%)
HSV hsv(3, 39%, 21%)
HWB hwb(3 13% 79%) color: hwb(3 13% 79%)
OKLCH oklch(0.2768 0.0311 22.45) color: oklch(0.2768 0.0311 22.45)
Lab lab(15.69 9.45 4.57) color: lab(15.69 9.45 4.57)
LCH lch(15.69 10.5 25.81) color: lch(15.69 10.5 25.81)

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 14.92:1
vs Black 1.41: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)

#2D2D21 — rgb(45, 45, 33)

Deuteranopia (Green-blind)

#2F3021 — rgb(47, 48, 33)

Tritanopia (Blue-blind)

#352121 — rgb(53, 33, 33)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(2, 24%, 17%);

text

color: hsl(2, 24%, 17%);

border

border: 2px solid hsl(2, 24%, 17%);

gradient light

background: linear-gradient(to right, hsl(2, 24%, 37%), hsl(2, 24%, 17%));

gradient dark

background: linear-gradient(to right, hsl(2, 24%, 17%), hsl(2, 24%, 0%))

hex

background-color: #362221;

tailwind

bg-[hsl(2,24%,17%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(2, 24%, 17%, 0.4);

css variable

--color-primary: hsl(2, 24%, 17%);

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(2, 24%, 17%)?

HEX: #362221 | RGB: rgb(54, 34, 33) | CMYK: 0%, 37%, 39%, 79% | HSV: 3°, 39%, 21%. Copy any format from the conversion table above.

What colors go well with #362221?

The complementary color is HSL(182, 24%, 17%). For a triadic harmony, use hues 2°, 122°, and 242°. For analogous combinations, try hues 332° and 32°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(2, 24%, 17%) in CSS?

As HSL: color: hsl(2, 24%, 17%); — As HEX: color: #362221; — As RGB: color: rgb(54, 34, 33); — Tailwind CSS: bg-[hsl(2,24%,17%)] — CSS variable: --color-primary: hsl(2, 24%, 17%);