HSL(352, 63%, 40%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(352,63%,40%)]

Color Conversions

Format Value CSS Usage
HSL hsl(352, 63%, 40%) color: hsl(352, 63%, 40%)
HEX #A62637 color: #A62637
RGB rgb(166, 38, 55) color: rgb(166, 38, 55)
CMYK cmyk(0%, 77%, 67%, 35%)
HSV hsv(352, 77%, 65%)
HWB hwb(352 15% 35%) color: hwb(352 15% 35%)
OKLCH oklch(0.4809 0.1631 19.05) color: oklch(0.4809 0.1631 19.05)
Lab lab(37.43 52.02 22.47) color: lab(37.43 52.02 22.47)
LCH lch(37.43 56.67 23.36) color: lch(37.43 56.67 23.36)

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)

#6F6D33 — rgb(111, 109, 51)

Deuteranopia (Green-blind)

#768032 — rgb(118, 128, 50)

Tritanopia (Blue-blind)

#A0302F — rgb(160, 48, 47)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(352, 63%, 40%);

text

color: hsl(352, 63%, 40%);

border

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

gradient light

background: linear-gradient(to right, hsl(352, 63%, 60%), hsl(352, 63%, 40%));

gradient dark

background: linear-gradient(to right, hsl(352, 63%, 40%), hsl(352, 63%, 20%))

hex

background-color: #A62637;

tailwind

bg-[hsl(352,63%,40%)]

box shadow

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

css variable

--color-primary: hsl(352, 63%, 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(352, 63%, 40%)?

HEX: #A62637 | RGB: rgb(166, 38, 55) | CMYK: 0%, 77%, 67%, 35% | HSV: 352°, 77%, 65%. Copy any format from the conversion table above.

What colors go well with #A62637?

The complementary color is HSL(172, 63%, 40%). For a triadic harmony, use hues 352°, 112°, and 232°. For analogous combinations, try hues 322° and 22°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(352, 63%, 40%) in CSS?

As HSL: color: hsl(352, 63%, 40%); — As HEX: color: #A62637; — As RGB: color: rgb(166, 38, 55); — Tailwind CSS: bg-[hsl(352,63%,40%)] — CSS variable: --color-primary: hsl(352, 63%, 40%);