HSL(321, 45%, 31%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(321,45%,31%)]

Color Conversions

Format Value CSS Usage
HSL hsl(321, 45%, 31%) color: hsl(321, 45%, 31%)
HEX #732B5A color: #732B5A
RGB rgb(115, 43, 90) color: rgb(115, 43, 90)
CMYK cmyk(0%, 63%, 22%, 55%)
HSV hsv(321, 63%, 45%)
HWB hwb(321 17% 55%) color: hwb(321 17% 55%)
OKLCH oklch(0.4092 0.1166 343.46) color: oklch(0.4092 0.1166 343.46)
Lab lab(29.69 37.35 -12.45) color: lab(29.69 37.35 -12.45)
LCH lch(29.69 39.37 341.57) color: lch(29.69 39.37 341.57)

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 9.45:1
vs Black 2.22: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)

#54534F — rgb(84, 83, 79)

Deuteranopia (Green-blind)

#585D4C — rgb(88, 93, 76)

Tritanopia (Blue-blind)

#6F4644 — rgb(111, 70, 68)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(321, 45%, 31%);

text

color: hsl(321, 45%, 31%);

border

border: 2px solid hsl(321, 45%, 31%);

gradient light

background: linear-gradient(to right, hsl(321, 45%, 51%), hsl(321, 45%, 31%));

gradient dark

background: linear-gradient(to right, hsl(321, 45%, 31%), hsl(321, 45%, 11%))

hex

background-color: #732B5A;

tailwind

bg-[hsl(321,45%,31%)]

box shadow

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

css variable

--color-primary: hsl(321, 45%, 31%);

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, 45%, 31%)?

HEX: #732B5A | RGB: rgb(115, 43, 90) | CMYK: 0%, 63%, 22%, 55% | HSV: 321°, 63%, 45%. Copy any format from the conversion table above.

What colors go well with #732B5A?

The complementary color is HSL(141, 45%, 31%). 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, 45%, 31%) in CSS?

As HSL: color: hsl(321, 45%, 31%); — As HEX: color: #732B5A; — As RGB: color: rgb(115, 43, 90); — Tailwind CSS: bg-[hsl(321,45%,31%)] — CSS variable: --color-primary: hsl(321, 45%, 31%);