HSL(2, 57%, 40%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(2,57%,40%)]

Color Conversions

Format Value CSS Usage
HSL hsl(2, 57%, 40%) color: hsl(2, 57%, 40%)
HEX #A0302C color: #A0302C
RGB rgb(160, 48, 44) color: rgb(160, 48, 44)
CMYK cmyk(0%, 70%, 73%, 37%)
HSV hsv(2, 73%, 63%)
HWB hwb(2 17% 37%) color: hwb(2 17% 37%)
OKLCH oklch(0.4782 0.1485 26.47) color: oklch(0.4782 0.1485 26.47)
Lab lab(37.43 45.84 28.98) color: lab(37.43 45.84 28.98)
LCH lch(37.43 54.23 32.3) color: lch(37.43 54.23 32.3)

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.11:1
vs Black 2.95: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)

#706E2D — rgb(112, 110, 45)

Deuteranopia (Green-blind)

#767E2D — rgb(118, 126, 45)

Tritanopia (Blue-blind)

#9A2E2E — rgb(154, 46, 46)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(2, 57%, 40%);

text

color: hsl(2, 57%, 40%);

border

border: 2px solid hsl(2, 57%, 40%);

gradient light

background: linear-gradient(to right, hsl(2, 57%, 60%), hsl(2, 57%, 40%));

gradient dark

background: linear-gradient(to right, hsl(2, 57%, 40%), hsl(2, 57%, 20%))

hex

background-color: #A0302C;

tailwind

bg-[hsl(2,57%,40%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(2, 57%, 40%, 0.4);

css variable

--color-primary: hsl(2, 57%, 40%);

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(2, 57%, 40%)?

HEX: #A0302C | RGB: rgb(160, 48, 44) | CMYK: 0%, 70%, 73%, 37% | HSV: 2°, 73%, 63%. Copy any format from the conversion table above.

What colors go well with #A0302C?

The complementary color is HSL(182, 57%, 40%). For a triadic harmony, use hues 2°, 122°, and 242°. For analogous combinations, try hues 332° and 32°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(2, 57%, 40%) in CSS?

As HSL: color: hsl(2, 57%, 40%); — As HEX: color: #A0302C; — As RGB: color: rgb(160, 48, 44); — Tailwind CSS: bg-[hsl(2,57%,40%)] — CSS variable: --color-primary: hsl(2, 57%, 40%);