HSL(338, 30%, 16%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(338,30%,16%)]

Color Conversions

Format Value CSS Usage
HSL hsl(338, 30%, 16%) color: hsl(338, 30%, 16%)
HEX #351D26 color: #351D26
RGB rgb(53, 29, 38) color: rgb(53, 29, 38)
CMYK cmyk(0%, 45%, 28%, 79%)
HSV hsv(338, 45%, 21%)
HWB hwb(338 12% 79%) color: hwb(338 12% 79%)
OKLCH oklch(0.2661 0.04 356.14) color: oklch(0.2661 0.04 356.14)
Lab lab(14.26 13.28 -1.09) color: lab(14.26 13.28 -1.09)
LCH lch(14.26 13.32 355.31) color: lch(14.26 13.32 355.31)

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 15.5:1
vs Black 1.36: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)

#2B2A24 — rgb(43, 42, 36)

Deuteranopia (Green-blind)

#2C2E23 — rgb(44, 46, 35)

Tritanopia (Blue-blind)

#342222 — rgb(52, 34, 34)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(338, 30%, 16%);

text

color: hsl(338, 30%, 16%);

border

border: 2px solid hsl(338, 30%, 16%);

gradient light

background: linear-gradient(to right, hsl(338, 30%, 36%), hsl(338, 30%, 16%));

gradient dark

background: linear-gradient(to right, hsl(338, 30%, 16%), hsl(338, 30%, 0%))

hex

background-color: #351D26;

tailwind

bg-[hsl(338,30%,16%)]

box shadow

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

css variable

--color-primary: hsl(338, 30%, 16%);

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

HEX: #351D26 | RGB: rgb(53, 29, 38) | CMYK: 0%, 45%, 28%, 79% | HSV: 338°, 45%, 21%. Copy any format from the conversion table above.

What colors go well with #351D26?

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

As HSL: color: hsl(338, 30%, 16%); — As HEX: color: #351D26; — As RGB: color: rgb(53, 29, 38); — Tailwind CSS: bg-[hsl(338,30%,16%)] — CSS variable: --color-primary: hsl(338, 30%, 16%);