HSL(331, 65%, 68%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(331,65%,68%)]

Color Conversions

Format Value CSS Usage
HSL hsl(331, 65%, 68%) color: hsl(331, 65%, 68%)
HEX #E278AC color: #E278AC
RGB rgb(226, 120, 172) color: rgb(226, 120, 172)
CMYK cmyk(0%, 47%, 24%, 11%)
HSV hsv(331, 47%, 89%)
HWB hwb(331 47% 11%) color: hwb(331 47% 11%)
OKLCH oklch(0.7068 0.1437 350.65) color: oklch(0.7068 0.1437 350.65)
Lab lab(63.82 47.15 -9.01) color: lab(63.82 47.15 -9.01)
LCH lch(63.82 48 349.18) color: lch(63.82 48 349.18)

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 2.79:1
vs Black 7.52:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#B4B39F — rgb(180, 179, 159)

Deuteranopia (Green-blind)

#BAC29C — rgb(186, 194, 156)

Tritanopia (Blue-blind)

#DD9593 — rgb(221, 149, 147)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(331, 65%, 68%);

text

color: hsl(331, 65%, 68%);

border

border: 2px solid hsl(331, 65%, 68%);

gradient light

background: linear-gradient(to right, hsl(331, 65%, 88%), hsl(331, 65%, 68%));

gradient dark

background: linear-gradient(to right, hsl(331, 65%, 68%), hsl(331, 65%, 48%))

hex

background-color: #E278AC;

tailwind

bg-[hsl(331,65%,68%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(331, 65%, 68%, 0.4);

css variable

--color-primary: hsl(331, 65%, 68%);

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(331, 65%, 68%)?

HEX: #E278AC | RGB: rgb(226, 120, 172) | CMYK: 0%, 47%, 24%, 11% | HSV: 331°, 47%, 89%. Copy any format from the conversion table above.

What colors go well with #E278AC?

The complementary color is HSL(151, 65%, 68%). For a triadic harmony, use hues 331°, 91°, and 211°. For analogous combinations, try hues 301° and 1°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(331, 65%, 68%) in CSS?

As HSL: color: hsl(331, 65%, 68%); — As HEX: color: #E278AC; — As RGB: color: rgb(226, 120, 172); — Tailwind CSS: bg-[hsl(331,65%,68%)] — CSS variable: --color-primary: hsl(331, 65%, 68%);