HSL(3, 70%, 30%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(3,70%,30%)]

Color Conversions

Format Value CSS Usage
HSL hsl(3, 70%, 30%) color: hsl(3, 70%, 30%)
HEX #821C17 color: #821C17
RGB rgb(130, 28, 23) color: rgb(130, 28, 23)
CMYK cmyk(0%, 78%, 82%, 49%)
HSV hsv(3, 82%, 51%)
HWB hwb(3 9% 49%) color: hwb(3 9% 49%)
OKLCH oklch(0.3999 0.1379 28.12) color: oklch(0.3999 0.1379 28.12)
Lab lab(28.48 42.53 30.02) color: lab(28.48 42.53 30.02)
LCH lch(28.48 52.06 35.22) color: lch(28.48 52.06 35.22)

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 9.87:1
vs Black 2.13: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)

#565518 — rgb(86, 85, 24)

Deuteranopia (Green-blind)

#5C6319 — rgb(92, 99, 25)

Tritanopia (Blue-blind)

#7D1919 — rgb(125, 25, 25)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(3, 70%, 30%);

text

color: hsl(3, 70%, 30%);

border

border: 2px solid hsl(3, 70%, 30%);

gradient light

background: linear-gradient(to right, hsl(3, 70%, 50%), hsl(3, 70%, 30%));

gradient dark

background: linear-gradient(to right, hsl(3, 70%, 30%), hsl(3, 70%, 10%))

hex

background-color: #821C17;

tailwind

bg-[hsl(3,70%,30%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(3, 70%, 30%, 0.4);

css variable

--color-primary: hsl(3, 70%, 30%);

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(3, 70%, 30%)?

HEX: #821C17 | RGB: rgb(130, 28, 23) | CMYK: 0%, 78%, 82%, 49% | HSV: 3°, 82%, 51%. Copy any format from the conversion table above.

What colors go well with #821C17?

The complementary color is HSL(183, 70%, 30%). For a triadic harmony, use hues 3°, 123°, and 243°. For analogous combinations, try hues 333° and 33°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(3, 70%, 30%) in CSS?

As HSL: color: hsl(3, 70%, 30%); — As HEX: color: #821C17; — As RGB: color: rgb(130, 28, 23); — Tailwind CSS: bg-[hsl(3,70%,30%)] — CSS variable: --color-primary: hsl(3, 70%, 30%);