HSL(335, 60%, 38%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(335, 60%, 38%) color: hsl(335, 60%, 38%)
HEX #9B2757 color: #9B2757
RGB rgb(155, 39, 87) color: rgb(155, 39, 87)
CMYK cmyk(0%, 75%, 44%, 39%)
HSV hsv(335, 75%, 61%)
HWB hwb(335 15% 39%) color: hwb(335 15% 39%)
OKLCH oklch(0.4704 0.1562 0.17) color: oklch(0.4704 0.1562 0.17)
Lab lab(36.19 50.9 -0.04) color: lab(36.19 50.9 -0.04)
LCH lch(36.19 50.9 359.95) color: lch(36.19 50.9 359.95)

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 7.44:1
vs Black 2.82: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)

#69684B — rgb(105, 104, 75)

Deuteranopia (Green-blind)

#707849 — rgb(112, 120, 73)

Tritanopia (Blue-blind)

#954240 — rgb(149, 66, 64)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(335, 60%, 58%), hsl(335, 60%, 38%));

gradient dark

background: linear-gradient(to right, hsl(335, 60%, 38%), hsl(335, 60%, 18%))

hex

background-color: #9B2757;

tailwind

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

box shadow

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

css variable

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

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

HEX: #9B2757 | RGB: rgb(155, 39, 87) | CMYK: 0%, 75%, 44%, 39% | HSV: 335°, 75%, 61%. Copy any format from the conversion table above.

What colors go well with #9B2757?

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

As HSL: color: hsl(335, 60%, 38%); — As HEX: color: #9B2757; — As RGB: color: rgb(155, 39, 87); — Tailwind CSS: bg-[hsl(335,60%,38%)] — CSS variable: --color-primary: hsl(335, 60%, 38%);