HSL(1, 19%, 42%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

N/A

CSS Class

bg-[hsl(1,19%,42%)]

Color Conversions

Format Value CSS Usage
HSL hsl(1, 19%, 42%) color: hsl(1, 19%, 42%)
HEX #7F5757 color: #7F5757
RGB rgb(127, 87, 87) color: rgb(127, 87, 87)
CMYK cmyk(0%, 31%, 31%, 50%)
HSV hsv(0, 31%, 50%)
HWB hwb(0 35% 50%) color: hwb(0 35% 50%)
OKLCH oklch(0.4998 0.0534 19.12) color: oklch(0.4998 0.0534 19.12)
Lab lab(41.24 16.57 6.68) color: lab(41.24 16.57 6.68)
LCH lch(41.24 17.87 21.96) color: lch(41.24 17.87 21.96)

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.17:1
vs Black 3.4: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)

#6E6D57 — rgb(110, 109, 87)

Deuteranopia (Green-blind)

#707357 — rgb(112, 115, 87)

Tritanopia (Blue-blind)

#7D5757 — rgb(125, 87, 87)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(1, 19%, 42%);

text

color: hsl(1, 19%, 42%);

border

border: 2px solid hsl(1, 19%, 42%);

gradient light

background: linear-gradient(to right, hsl(1, 19%, 62%), hsl(1, 19%, 42%));

gradient dark

background: linear-gradient(to right, hsl(1, 19%, 42%), hsl(1, 19%, 22%))

hex

background-color: #7F5757;

tailwind

bg-[hsl(1,19%,42%)]

box shadow

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

css variable

--color-primary: hsl(1, 19%, 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(1, 19%, 42%)?

HEX: #7F5757 | RGB: rgb(127, 87, 87) | CMYK: 0%, 31%, 31%, 50% | HSV: 0°, 31%, 50%. Copy any format from the conversion table above.

What colors go well with #7F5757?

The complementary color is HSL(181, 19%, 42%). For a triadic harmony, use hues 1°, 121°, and 241°. For analogous combinations, try hues 331° and 31°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(1, 19%, 42%) in CSS?

As HSL: color: hsl(1, 19%, 42%); — As HEX: color: #7F5757; — As RGB: color: rgb(127, 87, 87); — Tailwind CSS: bg-[hsl(1,19%,42%)] — CSS variable: --color-primary: hsl(1, 19%, 42%);