HSL(342, 23%, 29%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(342,23%,29%)]

Color Conversions

Format Value CSS Usage
HSL hsl(342, 23%, 29%) color: hsl(342, 23%, 29%)
HEX #5B3943 color: #5B3943
RGB rgb(91, 57, 67) color: rgb(91, 57, 67)
CMYK cmyk(0%, 37%, 26%, 64%)
HSV hsv(342, 37%, 36%)
HWB hwb(342 23% 64%) color: hwb(342 23% 64%)
OKLCH oklch(0.388 0.0503 0.59) color: oklch(0.388 0.0503 0.59)
Lab lab(28.26 16.68 0.11) color: lab(28.26 16.68 0.11)
LCH lch(28.26 16.68 0.38) color: lch(28.26 16.68 0.38)

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.95:1
vs Black 2.11: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)

#4C4C41 — rgb(76, 76, 65)

Deuteranopia (Green-blind)

#4E5140 — rgb(78, 81, 64)

Tritanopia (Blue-blind)

#593F3E — rgb(89, 63, 62)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(342, 23%, 29%);

text

color: hsl(342, 23%, 29%);

border

border: 2px solid hsl(342, 23%, 29%);

gradient light

background: linear-gradient(to right, hsl(342, 23%, 49%), hsl(342, 23%, 29%));

gradient dark

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

hex

background-color: #5B3943;

tailwind

bg-[hsl(342,23%,29%)]

box shadow

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

css variable

--color-primary: hsl(342, 23%, 29%);

Related Colors

Use Cases for Pink

Beauty & cosmetics Fashion brands Romantic themes Valentine campaigns Playful UI

Frequently Asked Questions

What are all the color codes for HSL(342, 23%, 29%)?

HEX: #5B3943 | RGB: rgb(91, 57, 67) | CMYK: 0%, 37%, 26%, 64% | HSV: 342°, 37%, 36%. Copy any format from the conversion table above.

What colors go well with #5B3943?

The complementary color is HSL(162, 23%, 29%). For a triadic harmony, use hues 342°, 102°, and 222°. For analogous combinations, try hues 312° and 12°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(342, 23%, 29%) in CSS?

As HSL: color: hsl(342, 23%, 29%); — As HEX: color: #5B3943; — As RGB: color: rgb(91, 57, 67); — Tailwind CSS: bg-[hsl(342,23%,29%)] — CSS variable: --color-primary: hsl(342, 23%, 29%);