HSL(332, 20%, 15%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(332,20%,15%)]

Color Conversions

Format Value CSS Usage
HSL hsl(332, 20%, 15%) color: hsl(332, 20%, 15%)
HEX #2E1F26 color: #2E1F26
RGB rgb(46, 31, 38) color: rgb(46, 31, 38)
CMYK cmyk(0%, 33%, 17%, 82%)
HSV hsv(332, 33%, 18%)
HWB hwb(332 12% 82%) color: hwb(332 12% 82%)
OKLCH oklch(0.2605 0.0261 349.45) color: oklch(0.2605 0.0261 349.45)
Lab lab(13.83 8.68 -1.84) color: lab(13.83 8.68 -1.84)
LCH lch(13.83 8.87 348.03) color: lch(13.83 8.87 348.03)

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.67:1
vs Black 1.34: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)

#282724 — rgb(40, 39, 36)

Deuteranopia (Green-blind)

#282A24 — rgb(40, 42, 36)

Tritanopia (Blue-blind)

#2D2323 — rgb(45, 35, 35)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(332, 20%, 15%);

text

color: hsl(332, 20%, 15%);

border

border: 2px solid hsl(332, 20%, 15%);

gradient light

background: linear-gradient(to right, hsl(332, 20%, 35%), hsl(332, 20%, 15%));

gradient dark

background: linear-gradient(to right, hsl(332, 20%, 15%), hsl(332, 20%, 0%))

hex

background-color: #2E1F26;

tailwind

bg-[hsl(332,20%,15%)]

box shadow

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

css variable

--color-primary: hsl(332, 20%, 15%);

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

HEX: #2E1F26 | RGB: rgb(46, 31, 38) | CMYK: 0%, 33%, 17%, 82% | HSV: 332°, 33%, 18%. Copy any format from the conversion table above.

What colors go well with #2E1F26?

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

As HSL: color: hsl(332, 20%, 15%); — As HEX: color: #2E1F26; — As RGB: color: rgb(46, 31, 38); — Tailwind CSS: bg-[hsl(332,20%,15%)] — CSS variable: --color-primary: hsl(332, 20%, 15%);