HSL(316, 40%, 60%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(316,40%,60%)]

Color Conversions

Format Value CSS Usage
HSL hsl(316, 40%, 60%) color: hsl(316, 40%, 60%)
HEX #C270AC color: #C270AC
RGB rgb(194, 112, 172) color: rgb(194, 112, 172)
CMYK cmyk(0%, 42%, 11%, 24%)
HSV hsv(316, 42%, 76%)
HWB hwb(316 44% 24%) color: hwb(316 44% 24%)
OKLCH oklch(0.6549 0.128 337.76) color: oklch(0.6549 0.128 337.76)
Lab lab(58.07 40.76 -18.08) color: lab(58.07 40.76 -18.08)
LCH lch(58.07 44.59 336.08) color: lch(58.07 44.59 336.08)

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 3.38:1
vs Black 6.21:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#9E9E9D — rgb(158, 158, 157)

Deuteranopia (Green-blind)

#A3A99A — rgb(163, 169, 154)

Tritanopia (Blue-blind)

#BE9290 — rgb(190, 146, 144)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(316, 40%, 60%);

text

color: hsl(316, 40%, 60%);

border

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

gradient light

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

gradient dark

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

hex

background-color: #C270AC;

tailwind

bg-[hsl(316,40%,60%)]

box shadow

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

css variable

--color-primary: hsl(316, 40%, 60%);

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

HEX: #C270AC | RGB: rgb(194, 112, 172) | CMYK: 0%, 42%, 11%, 24% | HSV: 316°, 42%, 76%. Copy any format from the conversion table above.

What colors go well with #C270AC?

The complementary color is HSL(136, 40%, 60%). For a triadic harmony, use hues 316°, 76°, and 196°. For analogous combinations, try hues 286° and 346°. See the Color Harmony section above for complete palettes with previews.

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

As HSL: color: hsl(316, 40%, 60%); — As HEX: color: #C270AC; — As RGB: color: rgb(194, 112, 172); — Tailwind CSS: bg-[hsl(316,40%,60%)] — CSS variable: --color-primary: hsl(316, 40%, 60%);