HSL(13, 30%, 21%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(13,30%,21%)]

Color Conversions

Format Value CSS Usage
HSL hsl(13, 30%, 21%) color: hsl(13, 30%, 21%)
HEX #462C25 color: #462C25
RGB rgb(70, 44, 37) color: rgb(70, 44, 37)
CMYK cmyk(0%, 37%, 47%, 73%)
HSV hsv(13, 47%, 27%)
HWB hwb(13 14% 73%) color: hwb(13 14% 73%)
OKLCH oklch(0.3229 0.0409 35.74) color: oklch(0.3229 0.0409 35.74)
Lab lab(20.97 11.02 9.46) color: lab(20.97 11.02 9.46)
LCH lch(20.97 14.52 40.64) color: lch(20.97 14.52 40.64)

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 12.75:1
vs Black 1.65: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)

#3B3B27 — rgb(59, 59, 39)

Deuteranopia (Green-blind)

#3C3E27 — rgb(60, 62, 39)

Tritanopia (Blue-blind)

#452828 — rgb(69, 40, 40)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(13, 30%, 21%);

text

color: hsl(13, 30%, 21%);

border

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

gradient light

background: linear-gradient(to right, hsl(13, 30%, 41%), hsl(13, 30%, 21%));

gradient dark

background: linear-gradient(to right, hsl(13, 30%, 21%), hsl(13, 30%, 1%))

hex

background-color: #462C25;

tailwind

bg-[hsl(13,30%,21%)]

box shadow

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

css variable

--color-primary: hsl(13, 30%, 21%);

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(13, 30%, 21%)?

HEX: #462C25 | RGB: rgb(70, 44, 37) | CMYK: 0%, 37%, 47%, 73% | HSV: 13°, 47%, 27%. Copy any format from the conversion table above.

What colors go well with #462C25?

The complementary color is HSL(193, 30%, 21%). For a triadic harmony, use hues 13°, 133°, and 253°. For analogous combinations, try hues 343° and 43°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(13, 30%, 21%) in CSS?

As HSL: color: hsl(13, 30%, 21%); — As HEX: color: #462C25; — As RGB: color: rgb(70, 44, 37); — Tailwind CSS: bg-[hsl(13,30%,21%)] — CSS variable: --color-primary: hsl(13, 30%, 21%);