HSL(351, 18%, 42%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

N/A

CSS Class

bg-[hsl(351,18%,42%)]

Color Conversions

Format Value CSS Usage
HSL hsl(351, 18%, 42%) color: hsl(351, 18%, 42%)
HEX #7E585E color: #7E585E
RGB rgb(126, 88, 94) color: rgb(126, 88, 94)
CMYK cmyk(0%, 30%, 25%, 51%)
HSV hsv(351, 30%, 49%)
HWB hwb(351 34% 51%) color: hwb(351 34% 51%)
OKLCH oklch(0.5027 0.0509 8.61) color: oklch(0.5027 0.0509 8.61)
Lab lab(41.57 16.63 2.83) color: lab(41.57 16.63 2.83)
LCH lch(41.57 16.87 9.66) color: lch(41.57 16.87 9.66)

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 6.1:1
vs Black 3.44:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#6E6D5D — rgb(110, 109, 93)

Deuteranopia (Green-blind)

#70735C — rgb(112, 115, 92)

Tritanopia (Blue-blind)

#7C5B5B — rgb(124, 91, 91)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(351, 18%, 42%);

text

color: hsl(351, 18%, 42%);

border

border: 2px solid hsl(351, 18%, 42%);

gradient light

background: linear-gradient(to right, hsl(351, 18%, 62%), hsl(351, 18%, 42%));

gradient dark

background: linear-gradient(to right, hsl(351, 18%, 42%), hsl(351, 18%, 22%))

hex

background-color: #7E585E;

tailwind

bg-[hsl(351,18%,42%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(351, 18%, 42%, 0.4);

css variable

--color-primary: hsl(351, 18%, 42%);

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(351, 18%, 42%)?

HEX: #7E585E | RGB: rgb(126, 88, 94) | CMYK: 0%, 30%, 25%, 51% | HSV: 351°, 30%, 49%. Copy any format from the conversion table above.

What colors go well with #7E585E?

The complementary color is HSL(171, 18%, 42%). For a triadic harmony, use hues 351°, 111°, and 231°. For analogous combinations, try hues 321° and 21°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(351, 18%, 42%) in CSS?

As HSL: color: hsl(351, 18%, 42%); — As HEX: color: #7E585E; — As RGB: color: rgb(126, 88, 94); — Tailwind CSS: bg-[hsl(351,18%,42%)] — CSS variable: --color-primary: hsl(351, 18%, 42%);