HSL(331, 25%, 16%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(331,25%,16%)]

Color Conversions

Format Value CSS Usage
HSL hsl(331, 25%, 16%) color: hsl(331, 25%, 16%)
HEX #331F28 color: #331F28
RGB rgb(51, 31, 40) color: rgb(51, 31, 40)
CMYK cmyk(0%, 39%, 22%, 80%)
HSV hsv(333, 39%, 20%)
HWB hwb(333 12% 80%) color: hwb(333 12% 80%)
OKLCH oklch(0.2683 0.0343 351.09) color: oklch(0.2683 0.0343 351.09)
Lab lab(14.61 11.38 -2.06) color: lab(14.61 11.38 -2.06)
LCH lch(14.61 11.56 349.74) color: lch(14.61 11.56 349.74)

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.36:1
vs Black 1.37: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)

#2A2A26 — rgb(42, 42, 38)

Deuteranopia (Green-blind)

#2C2D25 — rgb(44, 45, 37)

Tritanopia (Blue-blind)

#322424 — rgb(50, 36, 36)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(331, 25%, 16%);

text

color: hsl(331, 25%, 16%);

border

border: 2px solid hsl(331, 25%, 16%);

gradient light

background: linear-gradient(to right, hsl(331, 25%, 36%), hsl(331, 25%, 16%));

gradient dark

background: linear-gradient(to right, hsl(331, 25%, 16%), hsl(331, 25%, 0%))

hex

background-color: #331F28;

tailwind

bg-[hsl(331,25%,16%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(331, 25%, 16%, 0.4);

css variable

--color-primary: hsl(331, 25%, 16%);

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(331, 25%, 16%)?

HEX: #331F28 | RGB: rgb(51, 31, 40) | CMYK: 0%, 39%, 22%, 80% | HSV: 333°, 39%, 20%. Copy any format from the conversion table above.

What colors go well with #331F28?

The complementary color is HSL(151, 25%, 16%). For a triadic harmony, use hues 331°, 91°, and 211°. For analogous combinations, try hues 301° and 1°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(331, 25%, 16%) in CSS?

As HSL: color: hsl(331, 25%, 16%); — As HEX: color: #331F28; — As RGB: color: rgb(51, 31, 40); — Tailwind CSS: bg-[hsl(331,25%,16%)] — CSS variable: --color-primary: hsl(331, 25%, 16%);