HSL(317, 40%, 5%)

Very Dark Pink — Pink color

Adjust Color

Color Information

Color Name

Very Dark Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(317,40%,5%)]

Color Conversions

Format Value CSS Usage
HSL hsl(317, 40%, 5%) color: hsl(317, 40%, 5%)
HEX #12080F color: #12080F
RGB rgb(18, 8, 15) color: rgb(18, 8, 15)
CMYK cmyk(0%, 56%, 17%, 93%)
HSV hsv(318, 56%, 7%)
HWB hwb(318 3% 93%) color: hwb(318 3% 93%)
OKLCH oklch(0.1528 0.0227 338.29) color: oklch(0.1528 0.0227 338.29)
Lab lab(3.04 4.2 -1.83) color: lab(3.04 4.2 -1.83)
LCH lch(3.04 4.58 336.46) color: lch(3.04 4.58 336.46)

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 19.67:1
vs Black 1.07: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)

#0E0E0D — rgb(14, 14, 13)

Deuteranopia (Green-blind)

#0E0F0D — rgb(14, 15, 13)

Tritanopia (Blue-blind)

#120C0C — rgb(18, 12, 12)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(317, 40%, 5%);

text

color: hsl(317, 40%, 5%);

border

border: 2px solid hsl(317, 40%, 5%);

gradient light

background: linear-gradient(to right, hsl(317, 40%, 25%), hsl(317, 40%, 5%));

gradient dark

background: linear-gradient(to right, hsl(317, 40%, 5%), hsl(317, 40%, 0%))

hex

background-color: #12080F;

tailwind

bg-[hsl(317,40%,5%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(317, 40%, 5%, 0.4);

css variable

--color-primary: hsl(317, 40%, 5%);

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(317, 40%, 5%)?

HEX: #12080F | RGB: rgb(18, 8, 15) | CMYK: 0%, 56%, 17%, 93% | HSV: 318°, 56%, 7%. Copy any format from the conversion table above.

What colors go well with #12080F?

The complementary color is HSL(137, 40%, 5%). For a triadic harmony, use hues 317°, 77°, and 197°. For analogous combinations, try hues 287° and 347°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(317, 40%, 5%) in CSS?

As HSL: color: hsl(317, 40%, 5%); — As HEX: color: #12080F; — As RGB: color: rgb(18, 8, 15); — Tailwind CSS: bg-[hsl(317,40%,5%)] — CSS variable: --color-primary: hsl(317, 40%, 5%);