HSL(338, 40%, 53%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(338,40%,53%)]

Color Conversions

Format Value CSS Usage
HSL hsl(338, 40%, 53%) color: hsl(338, 40%, 53%)
HEX #B7577A color: #B7577A
RGB rgb(183, 87, 122) color: rgb(183, 87, 122)
CMYK cmyk(0%, 52%, 33%, 28%)
HSV hsv(338, 52%, 72%)
HWB hwb(338 35% 28%) color: hwb(338 35% 28%)
OKLCH oklch(0.5845 0.1295 358.87) color: oklch(0.5845 0.1295 358.87)
Lab lab(49.85 42.61 -1.18) color: lab(49.85 42.61 -1.18)
LCH lch(49.85 42.63 358.41) color: lch(49.85 42.63 358.41)

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.51:1
vs Black 4.66: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)

#8D8D72 — rgb(141, 141, 114)

Deuteranopia (Green-blind)

#939A70 — rgb(147, 154, 112)

Tritanopia (Blue-blind)

#B26B69 — rgb(178, 107, 105)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(338, 40%, 53%);

text

color: hsl(338, 40%, 53%);

border

border: 2px solid hsl(338, 40%, 53%);

gradient light

background: linear-gradient(to right, hsl(338, 40%, 73%), hsl(338, 40%, 53%));

gradient dark

background: linear-gradient(to right, hsl(338, 40%, 53%), hsl(338, 40%, 33%))

hex

background-color: #B7577A;

tailwind

bg-[hsl(338,40%,53%)]

box shadow

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

css variable

--color-primary: hsl(338, 40%, 53%);

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, 40%, 53%)?

HEX: #B7577A | RGB: rgb(183, 87, 122) | CMYK: 0%, 52%, 33%, 28% | HSV: 338°, 52%, 72%. Copy any format from the conversion table above.

What colors go well with #B7577A?

The complementary color is HSL(158, 40%, 53%). 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, 40%, 53%) in CSS?

As HSL: color: hsl(338, 40%, 53%); — As HEX: color: #B7577A; — As RGB: color: rgb(183, 87, 122); — Tailwind CSS: bg-[hsl(338,40%,53%)] — CSS variable: --color-primary: hsl(338, 40%, 53%);