HSL(318, 30%, 51%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(318,30%,51%)]

Color Conversions

Format Value CSS Usage
HSL hsl(318, 30%, 51%) color: hsl(318, 30%, 51%)
HEX #A85D91 color: #A85D91
RGB rgb(168, 93, 145) color: rgb(168, 93, 145)
CMYK cmyk(0%, 45%, 14%, 34%)
HSV hsv(318, 45%, 66%)
HWB hwb(318 36% 34%) color: hwb(318 36% 34%)
OKLCH oklch(0.5818 0.1179 339.72) color: oklch(0.5818 0.1179 339.72)
Lab lab(49.74 37.75 -15.29) color: lab(49.74 37.75 -15.29)
LCH lch(49.74 40.73 337.95) color: lch(49.74 40.73 337.95)

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 4.53:1
vs Black 4.64:1

AA Normal (4.5:1)

on White: PASS ✓ 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)

#888784 — rgb(136, 135, 132)

Deuteranopia (Green-blind)

#8C9281 — rgb(140, 146, 129)

Tritanopia (Blue-blind)

#A47A78 — rgb(164, 122, 120)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(318, 30%, 51%);

text

color: hsl(318, 30%, 51%);

border

border: 2px solid hsl(318, 30%, 51%);

gradient light

background: linear-gradient(to right, hsl(318, 30%, 71%), hsl(318, 30%, 51%));

gradient dark

background: linear-gradient(to right, hsl(318, 30%, 51%), hsl(318, 30%, 31%))

hex

background-color: #A85D91;

tailwind

bg-[hsl(318,30%,51%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(318, 30%, 51%, 0.4);

css variable

--color-primary: hsl(318, 30%, 51%);

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(318, 30%, 51%)?

HEX: #A85D91 | RGB: rgb(168, 93, 145) | CMYK: 0%, 45%, 14%, 34% | HSV: 318°, 45%, 66%. Copy any format from the conversion table above.

What colors go well with #A85D91?

The complementary color is HSL(138, 30%, 51%). For a triadic harmony, use hues 318°, 78°, and 198°. For analogous combinations, try hues 288° and 348°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(318, 30%, 51%) in CSS?

As HSL: color: hsl(318, 30%, 51%); — As HEX: color: #A85D91; — As RGB: color: rgb(168, 93, 145); — Tailwind CSS: bg-[hsl(318,30%,51%)] — CSS variable: --color-primary: hsl(318, 30%, 51%);