HSL(7, 42%, 51%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(7,42%,51%)]

Color Conversions

Format Value CSS Usage
HSL hsl(7, 42%, 51%) color: hsl(7, 42%, 51%)
HEX #B75A4E color: #B75A4E
RGB rgb(183, 90, 78) color: rgb(183, 90, 78)
CMYK cmyk(0%, 51%, 57%, 28%)
HSV hsv(7, 57%, 72%)
HWB hwb(7 31% 28%) color: hwb(7 31% 28%)
OKLCH oklch(0.5778 0.1229 28.95) color: oklch(0.5778 0.1229 28.95)
Lab lab(49.41 36.52 24.47) color: lab(49.41 36.52 24.47)
LCH lch(49.41 43.96 33.82) color: lch(49.41 43.96 33.82)

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 4.58:1
vs Black 4.59:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#8F8E51 — rgb(143, 142, 81)

Deuteranopia (Green-blind)

#949B52 — rgb(148, 155, 82)

Tritanopia (Blue-blind)

#B25354 — rgb(178, 83, 84)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(7, 42%, 51%);

text

color: hsl(7, 42%, 51%);

border

border: 2px solid hsl(7, 42%, 51%);

gradient light

background: linear-gradient(to right, hsl(7, 42%, 71%), hsl(7, 42%, 51%));

gradient dark

background: linear-gradient(to right, hsl(7, 42%, 51%), hsl(7, 42%, 31%))

hex

background-color: #B75A4E;

tailwind

bg-[hsl(7,42%,51%)]

box shadow

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

css variable

--color-primary: hsl(7, 42%, 51%);

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

HEX: #B75A4E | RGB: rgb(183, 90, 78) | CMYK: 0%, 51%, 57%, 28% | HSV: 7°, 57%, 72%. Copy any format from the conversion table above.

What colors go well with #B75A4E?

The complementary color is HSL(187, 42%, 51%). For a triadic harmony, use hues 7°, 127°, and 247°. For analogous combinations, try hues 337° and 37°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(7, 42%, 51%) in CSS?

As HSL: color: hsl(7, 42%, 51%); — As HEX: color: #B75A4E; — As RGB: color: rgb(183, 90, 78); — Tailwind CSS: bg-[hsl(7,42%,51%)] — CSS variable: --color-primary: hsl(7, 42%, 51%);