HSL(342, 36%, 20%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(342,36%,20%)]

Color Conversions

Format Value CSS Usage
HSL hsl(342, 36%, 20%) color: hsl(342, 36%, 20%)
HEX #45212C color: #45212C
RGB rgb(69, 33, 44) color: rgb(69, 33, 44)
CMYK cmyk(0%, 52%, 36%, 73%)
HSV hsv(342, 52%, 27%)
HWB hwb(342 13% 73%) color: hwb(342 13% 73%)
OKLCH oklch(0.3011 0.0568 1.58) color: oklch(0.3011 0.0568 1.58)
Lab lab(18.08 18.71 0.5) color: lab(18.08 18.71 0.5)
LCH lch(18.08 18.72 1.53) color: lch(18.08 18.72 1.53)

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.94:1
vs Black 1.51: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)

#353529 — rgb(53, 53, 41)

Deuteranopia (Green-blind)

#383A29 — rgb(56, 58, 41)

Tritanopia (Blue-blind)

#432727 — rgb(67, 39, 39)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(342, 36%, 20%);

text

color: hsl(342, 36%, 20%);

border

border: 2px solid hsl(342, 36%, 20%);

gradient light

background: linear-gradient(to right, hsl(342, 36%, 40%), hsl(342, 36%, 20%));

gradient dark

background: linear-gradient(to right, hsl(342, 36%, 20%), hsl(342, 36%, 0%))

hex

background-color: #45212C;

tailwind

bg-[hsl(342,36%,20%)]

box shadow

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

css variable

--color-primary: hsl(342, 36%, 20%);

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, 36%, 20%)?

HEX: #45212C | RGB: rgb(69, 33, 44) | CMYK: 0%, 52%, 36%, 73% | HSV: 342°, 52%, 27%. Copy any format from the conversion table above.

What colors go well with #45212C?

The complementary color is HSL(162, 36%, 20%). 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, 36%, 20%) in CSS?

As HSL: color: hsl(342, 36%, 20%); — As HEX: color: #45212C; — As RGB: color: rgb(69, 33, 44); — Tailwind CSS: bg-[hsl(342,36%,20%)] — CSS variable: --color-primary: hsl(342, 36%, 20%);