HSL(9, 72%, 29%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(9,72%,29%)]

Color Conversions

Format Value CSS Usage
HSL hsl(9, 72%, 29%) color: hsl(9, 72%, 29%)
HEX #7F2515 color: #7F2515
RGB rgb(127, 37, 21) color: rgb(127, 37, 21)
CMYK cmyk(0%, 71%, 83%, 50%)
HSV hsv(9, 83%, 50%)
HWB hwb(9 9% 50%) color: hwb(9 9% 50%)
OKLCH oklch(0.4036 0.1269 32.42) color: oklch(0.4036 0.1269 32.42)
Lab lab(29.14 37.9 31.6) color: lab(29.14 37.9 31.6)
LCH lch(29.14 49.35 39.82) color: lch(29.14 49.35 39.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 9.64:1
vs Black 2.18: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)

#585719 — rgb(88, 87, 25)

Deuteranopia (Green-blind)

#5D641A — rgb(93, 100, 26)

Tritanopia (Blue-blind)

#7B1C1D — rgb(123, 28, 29)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(9, 72%, 29%);

text

color: hsl(9, 72%, 29%);

border

border: 2px solid hsl(9, 72%, 29%);

gradient light

background: linear-gradient(to right, hsl(9, 72%, 49%), hsl(9, 72%, 29%));

gradient dark

background: linear-gradient(to right, hsl(9, 72%, 29%), hsl(9, 72%, 9%))

hex

background-color: #7F2515;

tailwind

bg-[hsl(9,72%,29%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(9, 72%, 29%, 0.4);

css variable

--color-primary: hsl(9, 72%, 29%);

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(9, 72%, 29%)?

HEX: #7F2515 | RGB: rgb(127, 37, 21) | CMYK: 0%, 71%, 83%, 50% | HSV: 9°, 83%, 50%. Copy any format from the conversion table above.

What colors go well with #7F2515?

The complementary color is HSL(189, 72%, 29%). For a triadic harmony, use hues 9°, 129°, and 249°. For analogous combinations, try hues 339° and 39°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(9, 72%, 29%) in CSS?

As HSL: color: hsl(9, 72%, 29%); — As HEX: color: #7F2515; — As RGB: color: rgb(127, 37, 21); — Tailwind CSS: bg-[hsl(9,72%,29%)] — CSS variable: --color-primary: hsl(9, 72%, 29%);