HSL(320, 28%, 40%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(320,28%,40%)]

Color Conversions

Format Value CSS Usage
HSL hsl(320, 28%, 40%) color: hsl(320, 28%, 40%)
HEX #834970 color: #834970
RGB rgb(131, 73, 112) color: rgb(131, 73, 112)
CMYK cmyk(0%, 44%, 15%, 49%)
HSV hsv(320, 44%, 51%)
HWB hwb(320 29% 49%) color: hwb(320 29% 49%)
OKLCH oklch(0.4878 0.0945 340.59) color: oklch(0.4878 0.0945 340.59)
Lab lab(39.18 30.36 -11.78) color: lab(39.18 30.36 -11.78)
LCH lch(39.18 32.57 338.79) color: lch(39.18 32.57 338.79)

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.66:1
vs Black 3.15: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)

#6A6967 — rgb(106, 105, 103)

Deuteranopia (Green-blind)

#6D7264 — rgb(109, 114, 100)

Tritanopia (Blue-blind)

#805F5D — rgb(128, 95, 93)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(320, 28%, 40%);

text

color: hsl(320, 28%, 40%);

border

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

gradient light

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

gradient dark

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

hex

background-color: #834970;

tailwind

bg-[hsl(320,28%,40%)]

box shadow

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

css variable

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

HEX: #834970 | RGB: rgb(131, 73, 112) | CMYK: 0%, 44%, 15%, 49% | HSV: 320°, 44%, 51%. Copy any format from the conversion table above.

What colors go well with #834970?

The complementary color is HSL(140, 28%, 40%). For a triadic harmony, use hues 320°, 80°, and 200°. For analogous combinations, try hues 290° and 350°. See the Color Harmony section above for complete palettes with previews.

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

As HSL: color: hsl(320, 28%, 40%); — As HEX: color: #834970; — As RGB: color: rgb(131, 73, 112); — Tailwind CSS: bg-[hsl(320,28%,40%)] — CSS variable: --color-primary: hsl(320, 28%, 40%);