HSL(2, 51%, 30%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(2,51%,30%)]

Color Conversions

Format Value CSS Usage
HSL hsl(2, 51%, 30%) color: hsl(2, 51%, 30%)
HEX #742825 color: #742825
RGB rgb(116, 40, 37) color: rgb(116, 40, 37)
CMYK cmyk(0%, 66%, 68%, 55%)
HSV hsv(2, 68%, 45%)
HWB hwb(2 14% 55%) color: hwb(2 14% 55%)
OKLCH oklch(0.3899 0.1079 25.64) color: oklch(0.3899 0.1079 25.64)
Lab lab(27.75 33.21 19.76) color: lab(27.75 33.21 19.76)
LCH lch(27.75 38.64 30.75) color: lch(27.75 38.64 30.75)

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 10.13:1
vs Black 2.07: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)

#535226 — rgb(83, 82, 38)

Deuteranopia (Green-blind)

#585D26 — rgb(88, 93, 38)

Tritanopia (Blue-blind)

#702626 — rgb(112, 38, 38)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(2, 51%, 30%);

text

color: hsl(2, 51%, 30%);

border

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

gradient light

background: linear-gradient(to right, hsl(2, 51%, 50%), hsl(2, 51%, 30%));

gradient dark

background: linear-gradient(to right, hsl(2, 51%, 30%), hsl(2, 51%, 10%))

hex

background-color: #742825;

tailwind

bg-[hsl(2,51%,30%)]

box shadow

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

css variable

--color-primary: hsl(2, 51%, 30%);

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

HEX: #742825 | RGB: rgb(116, 40, 37) | CMYK: 0%, 66%, 68%, 55% | HSV: 2°, 68%, 45%. Copy any format from the conversion table above.

What colors go well with #742825?

The complementary color is HSL(182, 51%, 30%). 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, 51%, 30%) in CSS?

As HSL: color: hsl(2, 51%, 30%); — As HEX: color: #742825; — As RGB: color: rgb(116, 40, 37); — Tailwind CSS: bg-[hsl(2,51%,30%)] — CSS variable: --color-primary: hsl(2, 51%, 30%);