HSL(318, 60%, 21%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(318,60%,21%)]

Color Conversions

Format Value CSS Usage
HSL hsl(318, 60%, 21%) color: hsl(318, 60%, 21%)
HEX #561542 color: #561542
RGB rgb(86, 21, 66) color: rgb(86, 21, 66)
CMYK cmyk(0%, 76%, 23%, 66%)
HSV hsv(318, 76%, 34%)
HWB hwb(318 8% 66%) color: hwb(318 8% 66%)
OKLCH oklch(0.3219 0.1091 342.6) color: oklch(0.3219 0.1091 342.6)
Lab lab(19.67 34.69 -12.18) color: lab(19.67 34.69 -12.18)
LCH lch(19.67 36.77 340.65) color: lch(19.67 36.77 340.65)

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 13.28:1
vs Black 1.58: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)

#3A3937 — rgb(58, 57, 55)

Deuteranopia (Green-blind)

#3E4335 — rgb(62, 67, 53)

Tritanopia (Blue-blind)

#532F2D — rgb(83, 47, 45)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(318, 60%, 21%);

text

color: hsl(318, 60%, 21%);

border

border: 2px solid hsl(318, 60%, 21%);

gradient light

background: linear-gradient(to right, hsl(318, 60%, 41%), hsl(318, 60%, 21%));

gradient dark

background: linear-gradient(to right, hsl(318, 60%, 21%), hsl(318, 60%, 1%))

hex

background-color: #561542;

tailwind

bg-[hsl(318,60%,21%)]

box shadow

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

css variable

--color-primary: hsl(318, 60%, 21%);

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, 60%, 21%)?

HEX: #561542 | RGB: rgb(86, 21, 66) | CMYK: 0%, 76%, 23%, 66% | HSV: 318°, 76%, 34%. Copy any format from the conversion table above.

What colors go well with #561542?

The complementary color is HSL(138, 60%, 21%). 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, 60%, 21%) in CSS?

As HSL: color: hsl(318, 60%, 21%); — As HEX: color: #561542; — As RGB: color: rgb(86, 21, 66); — Tailwind CSS: bg-[hsl(318,60%,21%)] — CSS variable: --color-primary: hsl(318, 60%, 21%);