HSL(318, 37%, 27%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(318,37%,27%)]

Color Conversions

Format Value CSS Usage
HSL hsl(318, 37%, 27%) color: hsl(318, 37%, 27%)
HEX #5E2B4F color: #5E2B4F
RGB rgb(94, 43, 79) color: rgb(94, 43, 79)
CMYK cmyk(0%, 54%, 16%, 63%)
HSV hsv(318, 54%, 37%)
HWB hwb(318 17% 63%) color: hwb(318 17% 63%)
OKLCH oklch(0.3717 0.0891 339.76) color: oklch(0.3717 0.0891 339.76)
Lab lab(25.78 28.4 -11.5) color: lab(25.78 28.4 -11.5)
LCH lch(25.78 30.64 337.96) color: lch(25.78 30.64 337.96)

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 10.86:1
vs Black 1.93: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)

#484746 — rgb(72, 71, 70)

Deuteranopia (Green-blind)

#4B4F44 — rgb(75, 79, 68)

Tritanopia (Blue-blind)

#5B3F3E — rgb(91, 63, 62)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(318, 37%, 27%);

text

color: hsl(318, 37%, 27%);

border

border: 2px solid hsl(318, 37%, 27%);

gradient light

background: linear-gradient(to right, hsl(318, 37%, 47%), hsl(318, 37%, 27%));

gradient dark

background: linear-gradient(to right, hsl(318, 37%, 27%), hsl(318, 37%, 7%))

hex

background-color: #5E2B4F;

tailwind

bg-[hsl(318,37%,27%)]

box shadow

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

css variable

--color-primary: hsl(318, 37%, 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(318, 37%, 27%)?

HEX: #5E2B4F | RGB: rgb(94, 43, 79) | CMYK: 0%, 54%, 16%, 63% | HSV: 318°, 54%, 37%. Copy any format from the conversion table above.

What colors go well with #5E2B4F?

The complementary color is HSL(138, 37%, 27%). For a triadic harmony, use hues 318°, 78°, and 198°. For analogous combinations, try hues 288° and 348°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(318, 37%, 27%) in CSS?

As HSL: color: hsl(318, 37%, 27%); — As HEX: color: #5E2B4F; — As RGB: color: rgb(94, 43, 79); — Tailwind CSS: bg-[hsl(318,37%,27%)] — CSS variable: --color-primary: hsl(318, 37%, 27%);