HSL(342, 22%, 10%)

Very Dark Pink — Pink color

Adjust Color

Color Information

Color Name

Very Dark Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(342,22%,10%)]

Color Conversions

Format Value CSS Usage
HSL hsl(342, 22%, 10%) color: hsl(342, 22%, 10%)
HEX #1F1417 color: #1F1417
RGB rgb(31, 20, 23) color: rgb(31, 20, 23)
CMYK cmyk(0%, 35%, 26%, 88%)
HSV hsv(344, 35%, 12%)
HWB hwb(344 8% 88%) color: hwb(344 8% 88%)
OKLCH oklch(0.2068 0.0188 0.89) color: oklch(0.2068 0.0188 0.89)
Lab lab(7.71 6.25 0.07) color: lab(7.71 6.25 0.07)
LCH lch(7.71 6.25 0.64) color: lch(7.71 6.25 0.64)

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 17.94:1
vs Black 1.17: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)

#1A1A16 — rgb(26, 26, 22)

Deuteranopia (Green-blind)

#1B1C16 — rgb(27, 28, 22)

Tritanopia (Blue-blind)

#1E1616 — rgb(30, 22, 22)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(342, 22%, 10%);

text

color: hsl(342, 22%, 10%);

border

border: 2px solid hsl(342, 22%, 10%);

gradient light

background: linear-gradient(to right, hsl(342, 22%, 30%), hsl(342, 22%, 10%));

gradient dark

background: linear-gradient(to right, hsl(342, 22%, 10%), hsl(342, 22%, 0%))

hex

background-color: #1F1417;

tailwind

bg-[hsl(342,22%,10%)]

box shadow

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

css variable

--color-primary: hsl(342, 22%, 10%);

Related Colors

Use Cases for Very Dark Pink

Beauty & cosmetics Fashion brands Romantic themes Valentine campaigns Playful UI

Frequently Asked Questions

What are all the color codes for HSL(342, 22%, 10%)?

HEX: #1F1417 | RGB: rgb(31, 20, 23) | CMYK: 0%, 35%, 26%, 88% | HSV: 344°, 35%, 12%. Copy any format from the conversion table above.

What colors go well with #1F1417?

The complementary color is HSL(162, 22%, 10%). For a triadic harmony, use hues 342°, 102°, and 222°. For analogous combinations, try hues 312° and 12°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(342, 22%, 10%) in CSS?

As HSL: color: hsl(342, 22%, 10%); — As HEX: color: #1F1417; — As RGB: color: rgb(31, 20, 23); — Tailwind CSS: bg-[hsl(342,22%,10%)] — CSS variable: --color-primary: hsl(342, 22%, 10%);