HSL(321, 40%, 21%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(321,40%,21%)]

Color Conversions

Format Value CSS Usage
HSL hsl(321, 40%, 21%) color: hsl(321, 40%, 21%)
HEX #4B203C color: #4B203C
RGB rgb(75, 32, 60) color: rgb(75, 32, 60)
CMYK cmyk(0%, 57%, 20%, 71%)
HSV hsv(321, 57%, 29%)
HWB hwb(321 12% 71%) color: hwb(321 12% 71%)
OKLCH oklch(0.3155 0.076 342.59) color: oklch(0.3155 0.076 342.59)
Lab lab(19.46 24.42 -8.54) color: lab(19.46 24.42 -8.54)
LCH lch(19.46 25.87 340.72) color: lch(19.46 25.87 340.72)

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.37:1
vs Black 1.57: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)

#383835 — rgb(56, 56, 53)

Deuteranopia (Green-blind)

#3B3E34 — rgb(59, 62, 52)

Tritanopia (Blue-blind)

#49302F — rgb(73, 48, 47)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(321, 40%, 21%);

text

color: hsl(321, 40%, 21%);

border

border: 2px solid hsl(321, 40%, 21%);

gradient light

background: linear-gradient(to right, hsl(321, 40%, 41%), hsl(321, 40%, 21%));

gradient dark

background: linear-gradient(to right, hsl(321, 40%, 21%), hsl(321, 40%, 1%))

hex

background-color: #4B203C;

tailwind

bg-[hsl(321,40%,21%)]

box shadow

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

css variable

--color-primary: hsl(321, 40%, 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(321, 40%, 21%)?

HEX: #4B203C | RGB: rgb(75, 32, 60) | CMYK: 0%, 57%, 20%, 71% | HSV: 321°, 57%, 29%. Copy any format from the conversion table above.

What colors go well with #4B203C?

The complementary color is HSL(141, 40%, 21%). For a triadic harmony, use hues 321°, 81°, and 201°. For analogous combinations, try hues 291° and 351°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(321, 40%, 21%) in CSS?

As HSL: color: hsl(321, 40%, 21%); — As HEX: color: #4B203C; — As RGB: color: rgb(75, 32, 60); — Tailwind CSS: bg-[hsl(321,40%,21%)] — CSS variable: --color-primary: hsl(321, 40%, 21%);