HSL(1, 18%, 21%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

N/A

CSS Class

bg-[hsl(1,18%,21%)]

Color Conversions

Format Value CSS Usage
HSL hsl(1, 18%, 21%) color: hsl(1, 18%, 21%)
HEX #3F2C2C color: #3F2C2C
RGB rgb(63, 44, 44) color: rgb(63, 44, 44)
CMYK cmyk(0%, 30%, 30%, 75%)
HSV hsv(0, 30%, 25%)
HWB hwb(0 18% 75%) color: hwb(0 18% 75%)
OKLCH oklch(0.3154 0.0283 18.77) color: oklch(0.3154 0.0283 18.77)
Lab lab(20.2 8.78 3.46) color: lab(20.2 8.78 3.46)
LCH lch(20.2 9.44 21.51) color: lch(20.2 9.44 21.51)

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 13.06:1
vs Black 1.61: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)

#37372C — rgb(55, 55, 44)

Deuteranopia (Green-blind)

#38392C — rgb(56, 57, 44)

Tritanopia (Blue-blind)

#3E2C2C — rgb(62, 44, 44)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(1, 18%, 21%);

text

color: hsl(1, 18%, 21%);

border

border: 2px solid hsl(1, 18%, 21%);

gradient light

background: linear-gradient(to right, hsl(1, 18%, 41%), hsl(1, 18%, 21%));

gradient dark

background: linear-gradient(to right, hsl(1, 18%, 21%), hsl(1, 18%, 1%))

hex

background-color: #3F2C2C;

tailwind

bg-[hsl(1,18%,21%)]

box shadow

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

css variable

--color-primary: hsl(1, 18%, 21%);

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(1, 18%, 21%)?

HEX: #3F2C2C | RGB: rgb(63, 44, 44) | CMYK: 0%, 30%, 30%, 75% | HSV: 0°, 30%, 25%. Copy any format from the conversion table above.

What colors go well with #3F2C2C?

The complementary color is HSL(181, 18%, 21%). For a triadic harmony, use hues 1°, 121°, and 241°. For analogous combinations, try hues 331° and 31°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(1, 18%, 21%) in CSS?

As HSL: color: hsl(1, 18%, 21%); — As HEX: color: #3F2C2C; — As RGB: color: rgb(63, 44, 44); — Tailwind CSS: bg-[hsl(1,18%,21%)] — CSS variable: --color-primary: hsl(1, 18%, 21%);