HSL(343, 45%, 22%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(343,45%,22%)]

Color Conversions

Format Value CSS Usage
HSL hsl(343, 45%, 22%) color: hsl(343, 45%, 22%)
HEX #511F2D color: #511F2D
RGB rgb(81, 31, 45) color: rgb(81, 31, 45)
CMYK cmyk(0%, 62%, 44%, 68%)
HSV hsv(343, 62%, 32%)
HWB hwb(343 12% 68%) color: hwb(343 12% 68%)
OKLCH oklch(0.3177 0.0764 4.94) color: oklch(0.3177 0.0764 4.94)
Lab lab(19.72 24.99 2.44) color: lab(19.72 24.99 2.44)
LCH lch(19.72 25.11 5.58) color: lch(19.72 25.11 5.58)

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 13.26:1
vs Black 1.58: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)

#3B3B2A — rgb(59, 59, 42)

Deuteranopia (Green-blind)

#3E4229 — rgb(62, 66, 41)

Tritanopia (Blue-blind)

#4F2726 — rgb(79, 39, 38)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(343, 45%, 22%);

text

color: hsl(343, 45%, 22%);

border

border: 2px solid hsl(343, 45%, 22%);

gradient light

background: linear-gradient(to right, hsl(343, 45%, 42%), hsl(343, 45%, 22%));

gradient dark

background: linear-gradient(to right, hsl(343, 45%, 22%), hsl(343, 45%, 2%))

hex

background-color: #511F2D;

tailwind

bg-[hsl(343,45%,22%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(343, 45%, 22%, 0.4);

css variable

--color-primary: hsl(343, 45%, 22%);

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(343, 45%, 22%)?

HEX: #511F2D | RGB: rgb(81, 31, 45) | CMYK: 0%, 62%, 44%, 68% | HSV: 343°, 62%, 32%. Copy any format from the conversion table above.

What colors go well with #511F2D?

The complementary color is HSL(163, 45%, 22%). For a triadic harmony, use hues 343°, 103°, and 223°. For analogous combinations, try hues 313° and 13°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(343, 45%, 22%) in CSS?

As HSL: color: hsl(343, 45%, 22%); — As HEX: color: #511F2D; — As RGB: color: rgb(81, 31, 45); — Tailwind CSS: bg-[hsl(343,45%,22%)] — CSS variable: --color-primary: hsl(343, 45%, 22%);