HSL(342, 27%, 51%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(342,27%,51%)]

Color Conversions

Format Value CSS Usage
HSL hsl(342, 27%, 51%) color: hsl(342, 27%, 51%)
HEX #A46075 color: #A46075
RGB rgb(164, 96, 117) color: rgb(164, 96, 117)
CMYK cmyk(0%, 41%, 29%, 36%)
HSV hsv(341, 41%, 64%)
HWB hwb(341 38% 36%) color: hwb(341 38% 36%)
OKLCH oklch(0.5716 0.0917 0.53) color: oklch(0.5716 0.0917 0.53)
Lab lab(48.94 30.33 0.17) color: lab(48.94 30.33 0.17)
LCH lch(48.94 30.33 0.32) color: lch(48.94 30.33 0.32)

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.66:1
vs Black 4.51: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: white

Color Blindness Simulation

Protanopia (Red-blind)

#878670 — rgb(135, 134, 112)

Deuteranopia (Green-blind)

#8B906F — rgb(139, 144, 111)

Tritanopia (Blue-blind)

#A16C6B — rgb(161, 108, 107)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(342, 27%, 51%);

text

color: hsl(342, 27%, 51%);

border

border: 2px solid hsl(342, 27%, 51%);

gradient light

background: linear-gradient(to right, hsl(342, 27%, 71%), hsl(342, 27%, 51%));

gradient dark

background: linear-gradient(to right, hsl(342, 27%, 51%), hsl(342, 27%, 31%))

hex

background-color: #A46075;

tailwind

bg-[hsl(342,27%,51%)]

box shadow

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

css variable

--color-primary: hsl(342, 27%, 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(342, 27%, 51%)?

HEX: #A46075 | RGB: rgb(164, 96, 117) | CMYK: 0%, 41%, 29%, 36% | HSV: 341°, 41%, 64%. Copy any format from the conversion table above.

What colors go well with #A46075?

The complementary color is HSL(162, 27%, 51%). For a triadic harmony, use hues 342°, 102°, and 222°. For analogous combinations, try hues 312° and 12°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(342, 27%, 51%) in CSS?

As HSL: color: hsl(342, 27%, 51%); — As HEX: color: #A46075; — As RGB: color: rgb(164, 96, 117); — Tailwind CSS: bg-[hsl(342,27%,51%)] — CSS variable: --color-primary: hsl(342, 27%, 51%);