HSL(338, 17%, 57%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

N/A

CSS Class

bg-[hsl(338,17%,57%)]

Color Conversions

Format Value CSS Usage
HSL hsl(338, 17%, 57%) color: hsl(338, 17%, 57%)
HEX #A47F8C color: #A47F8C
RGB rgb(164, 127, 140) color: rgb(164, 127, 140)
CMYK cmyk(0%, 23%, 15%, 36%)
HSV hsv(339, 23%, 64%)
HWB hwb(339 49% 36%) color: hwb(339 49% 36%)
OKLCH oklch(0.636 0.0489 355.61) color: oklch(0.636 0.0489 355.61)
Lab lab(57.04 16.4 -1.5) color: lab(57.04 16.4 -1.5)
LCH lch(57.04 16.47 354.77) color: lch(57.04 16.47 354.77)

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.5:1
vs Black 5.99: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)

#949489 — rgb(148, 148, 137)

Deuteranopia (Green-blind)

#969988 — rgb(150, 153, 136)

Tritanopia (Blue-blind)

#A28686 — rgb(162, 134, 134)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(338, 17%, 57%);

text

color: hsl(338, 17%, 57%);

border

border: 2px solid hsl(338, 17%, 57%);

gradient light

background: linear-gradient(to right, hsl(338, 17%, 77%), hsl(338, 17%, 57%));

gradient dark

background: linear-gradient(to right, hsl(338, 17%, 57%), hsl(338, 17%, 37%))

hex

background-color: #A47F8C;

tailwind

bg-[hsl(338,17%,57%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(338, 17%, 57%, 0.4);

css variable

--color-primary: hsl(338, 17%, 57%);

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(338, 17%, 57%)?

HEX: #A47F8C | RGB: rgb(164, 127, 140) | CMYK: 0%, 23%, 15%, 36% | HSV: 339°, 23%, 64%. Copy any format from the conversion table above.

What colors go well with #A47F8C?

The complementary color is HSL(158, 17%, 57%). For a triadic harmony, use hues 338°, 98°, and 218°. For analogous combinations, try hues 308° and 8°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(338, 17%, 57%) in CSS?

As HSL: color: hsl(338, 17%, 57%); — As HEX: color: #A47F8C; — As RGB: color: rgb(164, 127, 140); — Tailwind CSS: bg-[hsl(338,17%,57%)] — CSS variable: --color-primary: hsl(338, 17%, 57%);