HSL(323, 40%, 40%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(323, 40%, 40%) color: hsl(323, 40%, 40%)
HEX #8F3D70 color: #8F3D70
RGB rgb(143, 61, 112) color: rgb(143, 61, 112)
CMYK cmyk(0%, 57%, 22%, 44%)
HSV hsv(323, 57%, 56%)
HWB hwb(323 24% 44%) color: hwb(323 24% 44%)
OKLCH oklch(0.4861 0.1269 344.61) color: oklch(0.4861 0.1269 344.61)
Lab lab(38.46 40.88 -12.7) color: lab(38.46 40.88 -12.7)
LCH lch(38.46 42.81 342.74) color: lch(38.46 42.81 342.74)

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.84: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(323, 40%, 40%);

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #8F3D70;

tailwind

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

box shadow

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

css variable

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

HEX: #8F3D70 | RGB: rgb(143, 61, 112) | CMYK: 0%, 57%, 22%, 44% | HSV: 323°, 57%, 56%. Copy any format from the conversion table above.

What colors go well with #8F3D70?

The complementary color is HSL(143, 40%, 40%). For a triadic harmony, use hues 323°, 83°, and 203°. For analogous combinations, try hues 293° and 353°. See the Color Harmony section above for complete palettes with previews.

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

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