HSL(9, 79%, 22%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(9,79%,22%)]

Color Conversions

Format Value CSS Usage
HSL hsl(9, 79%, 22%) color: hsl(9, 79%, 22%)
HEX #64190C color: #64190C
RGB rgb(100, 25, 12) color: rgb(100, 25, 12)
CMYK cmyk(0%, 75%, 88%, 61%)
HSV hsv(9, 88%, 39%)
HWB hwb(9 5% 61%) color: hwb(9 5% 61%)
OKLCH oklch(0.3375 0.1097 32.28) color: oklch(0.3375 0.1097 32.28)
Lab lab(21.7 32.88 27.23) color: lab(21.7 32.88 27.23)
LCH lch(21.7 42.69 39.63) color: lch(21.7 42.69 39.63)

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 12.45:1
vs Black 1.69: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)

#44430F — rgb(68, 67, 15)

Deuteranopia (Green-blind)

#484E10 — rgb(72, 78, 16)

Tritanopia (Blue-blind)

#601212 — rgb(96, 18, 18)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(9, 79%, 22%);

text

color: hsl(9, 79%, 22%);

border

border: 2px solid hsl(9, 79%, 22%);

gradient light

background: linear-gradient(to right, hsl(9, 79%, 42%), hsl(9, 79%, 22%));

gradient dark

background: linear-gradient(to right, hsl(9, 79%, 22%), hsl(9, 79%, 2%))

hex

background-color: #64190C;

tailwind

bg-[hsl(9,79%,22%)]

box shadow

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

css variable

--color-primary: hsl(9, 79%, 22%);

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, 79%, 22%)?

HEX: #64190C | RGB: rgb(100, 25, 12) | CMYK: 0%, 75%, 88%, 61% | HSV: 9°, 88%, 39%. Copy any format from the conversion table above.

What colors go well with #64190C?

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

As HSL: color: hsl(9, 79%, 22%); — As HEX: color: #64190C; — As RGB: color: rgb(100, 25, 12); — Tailwind CSS: bg-[hsl(9,79%,22%)] — CSS variable: --color-primary: hsl(9, 79%, 22%);