HSL(317, 35%, 48%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(317,35%,48%)]

Color Conversions

Format Value CSS Usage
HSL hsl(317, 35%, 48%) color: hsl(317, 35%, 48%)
HEX #A5508D color: #A5508D
RGB rgb(165, 80, 141) color: rgb(165, 80, 141)
CMYK cmyk(0%, 52%, 15%, 35%)
HSV hsv(317, 52%, 65%)
HWB hwb(317 31% 35%) color: hwb(317 31% 35%)
OKLCH oklch(0.5565 0.1349 339.22) color: oklch(0.5565 0.1349 339.22)
Lab lab(46.53 42.94 -17.84) color: lab(46.53 42.94 -17.84)
LCH lch(46.53 46.5 337.44) color: lch(46.53 46.5 337.44)

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 5.08:1
vs Black 4.13: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)

#807F7E — rgb(128, 127, 126)

Deuteranopia (Green-blind)

#858C7B — rgb(133, 140, 123)

Tritanopia (Blue-blind)

#A17370 — rgb(161, 115, 112)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(317, 35%, 48%);

text

color: hsl(317, 35%, 48%);

border

border: 2px solid hsl(317, 35%, 48%);

gradient light

background: linear-gradient(to right, hsl(317, 35%, 68%), hsl(317, 35%, 48%));

gradient dark

background: linear-gradient(to right, hsl(317, 35%, 48%), hsl(317, 35%, 28%))

hex

background-color: #A5508D;

tailwind

bg-[hsl(317,35%,48%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(317, 35%, 48%, 0.4);

css variable

--color-primary: hsl(317, 35%, 48%);

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(317, 35%, 48%)?

HEX: #A5508D | RGB: rgb(165, 80, 141) | CMYK: 0%, 52%, 15%, 35% | HSV: 317°, 52%, 65%. Copy any format from the conversion table above.

What colors go well with #A5508D?

The complementary color is HSL(137, 35%, 48%). For a triadic harmony, use hues 317°, 77°, and 197°. For analogous combinations, try hues 287° and 347°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(317, 35%, 48%) in CSS?

As HSL: color: hsl(317, 35%, 48%); — As HEX: color: #A5508D; — As RGB: color: rgb(165, 80, 141); — Tailwind CSS: bg-[hsl(317,35%,48%)] — CSS variable: --color-primary: hsl(317, 35%, 48%);