HSL(335, 30%, 27%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(335,30%,27%)]

Color Conversions

Format Value CSS Usage
HSL hsl(335, 30%, 27%) color: hsl(335, 30%, 27%)
HEX #5A3041 color: #5A3041
RGB rgb(90, 48, 65) color: rgb(90, 48, 65)
CMYK cmyk(0%, 47%, 28%, 65%)
HSV hsv(336, 47%, 35%)
HWB hwb(336 19% 65%) color: hwb(336 19% 65%)
OKLCH oklch(0.3685 0.0651 355.04) color: oklch(0.3685 0.0651 355.04)
Lab lab(25.77 21.52 -2.24) color: lab(25.77 21.52 -2.24)
LCH lch(25.77 21.64 354.06) color: lch(25.77 21.64 354.06)

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 10.86:1
vs Black 1.93:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#48473D — rgb(72, 71, 61)

Deuteranopia (Green-blind)

#4A4D3C — rgb(74, 77, 60)

Tritanopia (Blue-blind)

#583A39 — rgb(88, 58, 57)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(335, 30%, 27%);

text

color: hsl(335, 30%, 27%);

border

border: 2px solid hsl(335, 30%, 27%);

gradient light

background: linear-gradient(to right, hsl(335, 30%, 47%), hsl(335, 30%, 27%));

gradient dark

background: linear-gradient(to right, hsl(335, 30%, 27%), hsl(335, 30%, 7%))

hex

background-color: #5A3041;

tailwind

bg-[hsl(335,30%,27%)]

box shadow

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

css variable

--color-primary: hsl(335, 30%, 27%);

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(335, 30%, 27%)?

HEX: #5A3041 | RGB: rgb(90, 48, 65) | CMYK: 0%, 47%, 28%, 65% | HSV: 336°, 47%, 35%. Copy any format from the conversion table above.

What colors go well with #5A3041?

The complementary color is HSL(155, 30%, 27%). For a triadic harmony, use hues 335°, 95°, and 215°. For analogous combinations, try hues 305° and 5°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(335, 30%, 27%) in CSS?

As HSL: color: hsl(335, 30%, 27%); — As HEX: color: #5A3041; — As RGB: color: rgb(90, 48, 65); — Tailwind CSS: bg-[hsl(335,30%,27%)] — CSS variable: --color-primary: hsl(335, 30%, 27%);