HSL(331, 57%, 27%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(331,57%,27%)]

Color Conversions

Format Value CSS Usage
HSL hsl(331, 57%, 27%) color: hsl(331, 57%, 27%)
HEX #6C1E44 color: #6C1E44
RGB rgb(108, 30, 68) color: rgb(108, 30, 68)
CMYK cmyk(0%, 72%, 37%, 58%)
HSV hsv(331, 72%, 42%)
HWB hwb(331 12% 58%) color: hwb(331 12% 58%)
OKLCH oklch(0.372 0.1168 354.36) color: oklch(0.372 0.1168 354.36)
Lab lab(25.37 37.97 -4.52) color: lab(25.37 37.97 -4.52)
LCH lch(25.37 38.24 353.21) color: lch(25.37 38.24 353.21)

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 11.01:1
vs Black 1.91: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)

#4A4A3B — rgb(74, 74, 59)

Deuteranopia (Green-blind)

#4F5539 — rgb(79, 85, 57)

Tritanopia (Blue-blind)

#683432 — rgb(104, 52, 50)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(331, 57%, 27%);

text

color: hsl(331, 57%, 27%);

border

border: 2px solid hsl(331, 57%, 27%);

gradient light

background: linear-gradient(to right, hsl(331, 57%, 47%), hsl(331, 57%, 27%));

gradient dark

background: linear-gradient(to right, hsl(331, 57%, 27%), hsl(331, 57%, 7%))

hex

background-color: #6C1E44;

tailwind

bg-[hsl(331,57%,27%)]

box shadow

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

css variable

--color-primary: hsl(331, 57%, 27%);

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, 57%, 27%)?

HEX: #6C1E44 | RGB: rgb(108, 30, 68) | CMYK: 0%, 72%, 37%, 58% | HSV: 331°, 72%, 42%. Copy any format from the conversion table above.

What colors go well with #6C1E44?

The complementary color is HSL(151, 57%, 27%). 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, 57%, 27%) in CSS?

As HSL: color: hsl(331, 57%, 27%); — As HEX: color: #6C1E44; — As RGB: color: rgb(108, 30, 68); — Tailwind CSS: bg-[hsl(331,57%,27%)] — CSS variable: --color-primary: hsl(331, 57%, 27%);