HSL(318, 17%, 22%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

N/A

CSS Class

bg-[hsl(318,17%,22%)]

Color Conversions

Format Value CSS Usage
HSL hsl(318, 17%, 22%) color: hsl(318, 17%, 22%)
HEX #422F3C color: #422F3C
RGB rgb(66, 47, 60) color: rgb(66, 47, 60)
CMYK cmyk(0%, 29%, 9%, 74%)
HSV hsv(319, 29%, 26%)
HWB hwb(319 18% 74%) color: hwb(319 18% 74%)
OKLCH oklch(0.332 0.0348 338.45) color: oklch(0.332 0.0348 338.45)
Lab lab(22.01 11.22 -4.82) color: lab(22.01 11.22 -4.82)
LCH lch(22.01 12.21 336.75) color: lch(22.01 12.21 336.75)

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 12.33:1
vs Black 1.7: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)

#3A3A39 — rgb(58, 58, 57)

Deuteranopia (Green-blind)

#3B3C38 — rgb(59, 60, 56)

Tritanopia (Blue-blind)

#413636 — rgb(65, 54, 54)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(318, 17%, 22%);

text

color: hsl(318, 17%, 22%);

border

border: 2px solid hsl(318, 17%, 22%);

gradient light

background: linear-gradient(to right, hsl(318, 17%, 42%), hsl(318, 17%, 22%));

gradient dark

background: linear-gradient(to right, hsl(318, 17%, 22%), hsl(318, 17%, 2%))

hex

background-color: #422F3C;

tailwind

bg-[hsl(318,17%,22%)]

box shadow

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

css variable

--color-primary: hsl(318, 17%, 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(318, 17%, 22%)?

HEX: #422F3C | RGB: rgb(66, 47, 60) | CMYK: 0%, 29%, 9%, 74% | HSV: 319°, 29%, 26%. Copy any format from the conversion table above.

What colors go well with #422F3C?

The complementary color is HSL(138, 17%, 22%). For a triadic harmony, use hues 318°, 78°, and 198°. For analogous combinations, try hues 288° and 348°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(318, 17%, 22%) in CSS?

As HSL: color: hsl(318, 17%, 22%); — As HEX: color: #422F3C; — As RGB: color: rgb(66, 47, 60); — Tailwind CSS: bg-[hsl(318,17%,22%)] — CSS variable: --color-primary: hsl(318, 17%, 22%);