HSL(359, 79%, 22%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(359, 79%, 22%) color: hsl(359, 79%, 22%)
HEX #640C0D color: #640C0D
RGB rgb(100, 12, 13) color: rgb(100, 12, 13)
CMYK cmyk(0%, 88%, 87%, 61%)
HSV hsv(359, 88%, 39%)
HWB hwb(359 5% 61%) color: hwb(359 5% 61%)
OKLCH oklch(0.3253 0.1204 26.78) color: oklch(0.3253 0.1204 26.78)
Lab lab(20.05 37.53 24.95) color: lab(20.05 37.53 24.95)
LCH lch(20.05 45.07 33.62) color: lch(20.05 45.07 33.62)

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.12:1
vs Black 1.6: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)

#3E3D0D — rgb(62, 61, 13)

Deuteranopia (Green-blind)

#434A0D — rgb(67, 74, 13)

Tritanopia (Blue-blind)

#600D0D — rgb(96, 13, 13)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #640C0D;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(359, 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(359, 79%, 22%)?

HEX: #640C0D | RGB: rgb(100, 12, 13) | CMYK: 0%, 88%, 87%, 61% | HSV: 359°, 88%, 39%. Copy any format from the conversion table above.

What colors go well with #640C0D?

The complementary color is HSL(179, 79%, 22%). For a triadic harmony, use hues 359°, 119°, and 239°. For analogous combinations, try hues 329° and 29°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(359, 79%, 22%) in CSS?

As HSL: color: hsl(359, 79%, 22%); — As HEX: color: #640C0D; — As RGB: color: rgb(100, 12, 13); — Tailwind CSS: bg-[hsl(359,79%,22%)] — CSS variable: --color-primary: hsl(359, 79%, 22%);