HSL(345, 40%, 31%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(345,40%,31%)]

Color Conversions

Format Value CSS Usage
HSL hsl(345, 40%, 31%) color: hsl(345, 40%, 31%)
HEX #6F2F3F color: #6F2F3F
RGB rgb(111, 47, 63) color: rgb(111, 47, 63)
CMYK cmyk(0%, 58%, 43%, 56%)
HSV hsv(345, 58%, 44%)
HWB hwb(345 18% 56%) color: hwb(345 18% 56%)
OKLCH oklch(0.3982 0.0921 6.56) color: oklch(0.3982 0.0921 6.56)
Lab lab(28.83 30.1 3.95) color: lab(28.83 30.1 3.95)
LCH lch(28.83 30.36 7.48) color: lch(28.83 30.36 7.48)

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.75:1
vs Black 2.15: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)

#53533B — rgb(83, 83, 59)

Deuteranopia (Green-blind)

#575C3A — rgb(87, 92, 58)

Tritanopia (Blue-blind)

#6C3837 — rgb(108, 56, 55)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(345, 40%, 31%);

text

color: hsl(345, 40%, 31%);

border

border: 2px solid hsl(345, 40%, 31%);

gradient light

background: linear-gradient(to right, hsl(345, 40%, 51%), hsl(345, 40%, 31%));

gradient dark

background: linear-gradient(to right, hsl(345, 40%, 31%), hsl(345, 40%, 11%))

hex

background-color: #6F2F3F;

tailwind

bg-[hsl(345,40%,31%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(345, 40%, 31%, 0.4);

css variable

--color-primary: hsl(345, 40%, 31%);

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(345, 40%, 31%)?

HEX: #6F2F3F | RGB: rgb(111, 47, 63) | CMYK: 0%, 58%, 43%, 56% | HSV: 345°, 58%, 44%. Copy any format from the conversion table above.

What colors go well with #6F2F3F?

The complementary color is HSL(165, 40%, 31%). For a triadic harmony, use hues 345°, 105°, and 225°. For analogous combinations, try hues 315° and 15°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(345, 40%, 31%) in CSS?

As HSL: color: hsl(345, 40%, 31%); — As HEX: color: #6F2F3F; — As RGB: color: rgb(111, 47, 63); — Tailwind CSS: bg-[hsl(345,40%,31%)] — CSS variable: --color-primary: hsl(345, 40%, 31%);