HSL(334, 20%, 18%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(334,20%,18%)]

Color Conversions

Format Value CSS Usage
HSL hsl(334, 20%, 18%) color: hsl(334, 20%, 18%)
HEX #37252D color: #37252D
RGB rgb(55, 37, 45) color: rgb(55, 37, 45)
CMYK cmyk(0%, 33%, 18%, 78%)
HSV hsv(333, 33%, 22%)
HWB hwb(333 15% 78%) color: hwb(333 15% 78%)
OKLCH oklch(0.2893 0.0302 350.82) color: oklch(0.2893 0.0302 350.82)
Lab lab(17.11 10.06 -1.87) color: lab(17.11 10.06 -1.87)
LCH lch(17.11 10.23 349.47) color: lch(17.11 10.23 349.47)

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 14.33:1
vs Black 1.46: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)

#2F2F2B — rgb(47, 47, 43)

Deuteranopia (Green-blind)

#30322B — rgb(48, 50, 43)

Tritanopia (Blue-blind)

#362A29 — rgb(54, 42, 41)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(334, 20%, 18%);

text

color: hsl(334, 20%, 18%);

border

border: 2px solid hsl(334, 20%, 18%);

gradient light

background: linear-gradient(to right, hsl(334, 20%, 38%), hsl(334, 20%, 18%));

gradient dark

background: linear-gradient(to right, hsl(334, 20%, 18%), hsl(334, 20%, 0%))

hex

background-color: #37252D;

tailwind

bg-[hsl(334,20%,18%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(334, 20%, 18%, 0.4);

css variable

--color-primary: hsl(334, 20%, 18%);

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(334, 20%, 18%)?

HEX: #37252D | RGB: rgb(55, 37, 45) | CMYK: 0%, 33%, 18%, 78% | HSV: 333°, 33%, 22%. Copy any format from the conversion table above.

What colors go well with #37252D?

The complementary color is HSL(154, 20%, 18%). For a triadic harmony, use hues 334°, 94°, and 214°. For analogous combinations, try hues 304° and 4°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(334, 20%, 18%) in CSS?

As HSL: color: hsl(334, 20%, 18%); — As HEX: color: #37252D; — As RGB: color: rgb(55, 37, 45); — Tailwind CSS: bg-[hsl(334,20%,18%)] — CSS variable: --color-primary: hsl(334, 20%, 18%);