HSL(322, 40%, 40%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(322,40%,40%)]

Color Conversions

Format Value CSS Usage
HSL hsl(322, 40%, 40%) color: hsl(322, 40%, 40%)
HEX #8F3D71 color: #8F3D71
RGB rgb(143, 61, 113) color: rgb(143, 61, 113)
CMYK cmyk(0%, 57%, 21%, 44%)
HSV hsv(322, 57%, 56%)
HWB hwb(322 24% 44%) color: hwb(322 24% 44%)
OKLCH oklch(0.4865 0.1276 343.97) color: oklch(0.4865 0.1276 343.97)
Lab lab(38.5 41.03 -13.26) color: lab(38.5 41.03 -13.26)
LCH lch(38.5 43.12 342.09) color: lch(38.5 43.12 342.09)

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 6.83:1
vs Black 3.07:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#6B6B64 — rgb(107, 107, 100)

Deuteranopia (Green-blind)

#707661 — rgb(112, 118, 97)

Tritanopia (Blue-blind)

#8B5A58 — rgb(139, 90, 88)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(322, 40%, 40%);

text

color: hsl(322, 40%, 40%);

border

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

gradient light

background: linear-gradient(to right, hsl(322, 40%, 60%), hsl(322, 40%, 40%));

gradient dark

background: linear-gradient(to right, hsl(322, 40%, 40%), hsl(322, 40%, 20%))

hex

background-color: #8F3D71;

tailwind

bg-[hsl(322,40%,40%)]

box shadow

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

css variable

--color-primary: hsl(322, 40%, 40%);

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(322, 40%, 40%)?

HEX: #8F3D71 | RGB: rgb(143, 61, 113) | CMYK: 0%, 57%, 21%, 44% | HSV: 322°, 57%, 56%. Copy any format from the conversion table above.

What colors go well with #8F3D71?

The complementary color is HSL(142, 40%, 40%). For a triadic harmony, use hues 322°, 82°, and 202°. For analogous combinations, try hues 292° and 352°. See the Color Harmony section above for complete palettes with previews.

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

As HSL: color: hsl(322, 40%, 40%); — As HEX: color: #8F3D71; — As RGB: color: rgb(143, 61, 113); — Tailwind CSS: bg-[hsl(322,40%,40%)] — CSS variable: --color-primary: hsl(322, 40%, 40%);