HSL(6, 50%, 18%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(6,50%,18%)]

Color Conversions

Format Value CSS Usage
HSL hsl(6, 50%, 18%) color: hsl(6, 50%, 18%)
HEX #451C17 color: #451C17
RGB rgb(69, 28, 23) color: rgb(69, 28, 23)
CMYK cmyk(0%, 59%, 67%, 73%)
HSV hsv(7, 67%, 27%)
HWB hwb(7 9% 73%) color: hwb(7 9% 73%)
OKLCH oklch(0.2857 0.0644 28.8) color: oklch(0.2857 0.0644 28.8)
Lab lab(16.3 19.24 12.87) color: lab(16.3 19.24 12.87)
LCH lch(16.3 23.15 33.78) color: lch(16.3 23.15 33.78)

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.67:1
vs Black 1.43: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)

#333318 — rgb(51, 51, 24)

Deuteranopia (Green-blind)

#363919 — rgb(54, 57, 25)

Tritanopia (Blue-blind)

#431919 — rgb(67, 25, 25)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(6, 50%, 18%);

text

color: hsl(6, 50%, 18%);

border

border: 2px solid hsl(6, 50%, 18%);

gradient light

background: linear-gradient(to right, hsl(6, 50%, 38%), hsl(6, 50%, 18%));

gradient dark

background: linear-gradient(to right, hsl(6, 50%, 18%), hsl(6, 50%, 0%))

hex

background-color: #451C17;

tailwind

bg-[hsl(6,50%,18%)]

box shadow

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

css variable

--color-primary: hsl(6, 50%, 18%);

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(6, 50%, 18%)?

HEX: #451C17 | RGB: rgb(69, 28, 23) | CMYK: 0%, 59%, 67%, 73% | HSV: 7°, 67%, 27%. Copy any format from the conversion table above.

What colors go well with #451C17?

The complementary color is HSL(186, 50%, 18%). For a triadic harmony, use hues 6°, 126°, and 246°. For analogous combinations, try hues 336° and 36°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(6, 50%, 18%) in CSS?

As HSL: color: hsl(6, 50%, 18%); — As HEX: color: #451C17; — As RGB: color: rgb(69, 28, 23); — Tailwind CSS: bg-[hsl(6,50%,18%)] — CSS variable: --color-primary: hsl(6, 50%, 18%);