HSL(335, 60%, 22%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(335,60%,22%)]

Color Conversions

Format Value CSS Usage
HSL hsl(335, 60%, 22%) color: hsl(335, 60%, 22%)
HEX #5A1632 color: #5A1632
RGB rgb(90, 22, 50) color: rgb(90, 22, 50)
CMYK cmyk(0%, 76%, 44%, 65%)
HSV hsv(335, 76%, 35%)
HWB hwb(335 8% 65%) color: hwb(335 8% 65%)
OKLCH oklch(0.3233 0.1022 359.47) color: oklch(0.3233 0.1022 359.47)
Lab lab(19.96 33.35 -0.51) color: lab(19.96 33.35 -0.51)
LCH lch(19.96 33.35 359.12) color: lch(19.96 33.35 359.12)

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 13.16:1
vs Black 1.6: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)

#3D3C2B — rgb(61, 60, 43)

Deuteranopia (Green-blind)

#41462A — rgb(65, 70, 42)

Tritanopia (Blue-blind)

#572625 — rgb(87, 38, 37)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(335, 60%, 22%);

text

color: hsl(335, 60%, 22%);

border

border: 2px solid hsl(335, 60%, 22%);

gradient light

background: linear-gradient(to right, hsl(335, 60%, 42%), hsl(335, 60%, 22%));

gradient dark

background: linear-gradient(to right, hsl(335, 60%, 22%), hsl(335, 60%, 2%))

hex

background-color: #5A1632;

tailwind

bg-[hsl(335,60%,22%)]

box shadow

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

css variable

--color-primary: hsl(335, 60%, 22%);

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, 60%, 22%)?

HEX: #5A1632 | RGB: rgb(90, 22, 50) | CMYK: 0%, 76%, 44%, 65% | HSV: 335°, 76%, 35%. Copy any format from the conversion table above.

What colors go well with #5A1632?

The complementary color is HSL(155, 60%, 22%). 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, 60%, 22%) in CSS?

As HSL: color: hsl(335, 60%, 22%); — As HEX: color: #5A1632; — As RGB: color: rgb(90, 22, 50); — Tailwind CSS: bg-[hsl(335,60%,22%)] — CSS variable: --color-primary: hsl(335, 60%, 22%);