HSL(332, 30%, 17%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(332,30%,17%)]

Color Conversions

Format Value CSS Usage
HSL hsl(332, 30%, 17%) color: hsl(332, 30%, 17%)
HEX #381E2A color: #381E2A
RGB rgb(56, 30, 42) color: rgb(56, 30, 42)
CMYK cmyk(0%, 46%, 25%, 78%)
HSV hsv(332, 46%, 22%)
HWB hwb(332 12% 78%) color: hwb(332 12% 78%)
OKLCH oklch(0.2743 0.0445 351.28) color: oklch(0.2743 0.0445 351.28)
Lab lab(15.15 14.69 -2.61) color: lab(15.15 14.69 -2.61)
LCH lch(15.15 14.92 349.93) color: lch(15.15 14.92 349.93)

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 15.14:1
vs Black 1.39: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)

#2D2D27 — rgb(45, 45, 39)

Deuteranopia (Green-blind)

#2E3026 — rgb(46, 48, 38)

Tritanopia (Blue-blind)

#372524 — rgb(55, 37, 36)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(332, 30%, 17%);

text

color: hsl(332, 30%, 17%);

border

border: 2px solid hsl(332, 30%, 17%);

gradient light

background: linear-gradient(to right, hsl(332, 30%, 37%), hsl(332, 30%, 17%));

gradient dark

background: linear-gradient(to right, hsl(332, 30%, 17%), hsl(332, 30%, 0%))

hex

background-color: #381E2A;

tailwind

bg-[hsl(332,30%,17%)]

box shadow

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

css variable

--color-primary: hsl(332, 30%, 17%);

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(332, 30%, 17%)?

HEX: #381E2A | RGB: rgb(56, 30, 42) | CMYK: 0%, 46%, 25%, 78% | HSV: 332°, 46%, 22%. Copy any format from the conversion table above.

What colors go well with #381E2A?

The complementary color is HSL(152, 30%, 17%). For a triadic harmony, use hues 332°, 92°, and 212°. For analogous combinations, try hues 302° and 2°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(332, 30%, 17%) in CSS?

As HSL: color: hsl(332, 30%, 17%); — As HEX: color: #381E2A; — As RGB: color: rgb(56, 30, 42); — Tailwind CSS: bg-[hsl(332,30%,17%)] — CSS variable: --color-primary: hsl(332, 30%, 17%);