HSL(6, 99%, 35%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(6,99%,35%)]

Color Conversions

Format Value CSS Usage
HSL hsl(6, 99%, 35%) color: hsl(6, 99%, 35%)
HEX #B21301 color: #B21301
RGB rgb(178, 19, 1) color: rgb(178, 19, 1)
CMYK cmyk(0%, 89%, 99%, 30%)
HSV hsv(6, 99%, 70%)
HWB hwb(6 1% 30%) color: hwb(6 1% 30%)
OKLCH oklch(0.4858 0.1908 30.59) color: oklch(0.4858 0.1908 30.59)
Lab lab(37.73 58.71 51.21) color: lab(37.73 58.71 51.21)
LCH lch(37.73 77.91 41.1) color: lch(37.73 77.91 41.1)

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 7.03:1
vs Black 2.99: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)

#6D6C05 — rgb(109, 108, 5)

Deuteranopia (Green-blind)

#768206 — rgb(118, 130, 6)

Tritanopia (Blue-blind)

#AA090A — rgb(170, 9, 10)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(6, 99%, 35%);

text

color: hsl(6, 99%, 35%);

border

border: 2px solid hsl(6, 99%, 35%);

gradient light

background: linear-gradient(to right, hsl(6, 99%, 55%), hsl(6, 99%, 35%));

gradient dark

background: linear-gradient(to right, hsl(6, 99%, 35%), hsl(6, 99%, 15%))

hex

background-color: #B21301;

tailwind

bg-[hsl(6,99%,35%)]

box shadow

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

css variable

--color-primary: hsl(6, 99%, 35%);

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, 99%, 35%)?

HEX: #B21301 | RGB: rgb(178, 19, 1) | CMYK: 0%, 89%, 99%, 30% | HSV: 6°, 99%, 70%. Copy any format from the conversion table above.

What colors go well with #B21301?

The complementary color is HSL(186, 99%, 35%). 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, 99%, 35%) in CSS?

As HSL: color: hsl(6, 99%, 35%); — As HEX: color: #B21301; — As RGB: color: rgb(178, 19, 1); — Tailwind CSS: bg-[hsl(6,99%,35%)] — CSS variable: --color-primary: hsl(6, 99%, 35%);