HSL(317, 97%, 9%)

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,97%,9%)]

Color Conversions

Format Value CSS Usage
HSL hsl(317, 97%, 9%) color: hsl(317, 97%, 9%)
HEX #2D0121 color: #2D0121
RGB rgb(45, 1, 33) color: rgb(45, 1, 33)
CMYK cmyk(0%, 98%, 27%, 82%)
HSV hsv(316, 98%, 18%)
HWB hwb(316 0% 82%) color: hwb(316 0% 82%)
OKLCH oklch(0.2016 0.084 341.52) color: oklch(0.2016 0.084 341.52)
Lab lab(6.23 25.8 -9.62) color: lab(6.23 25.8 -9.62)
LCH lch(6.23 27.54 339.55) color: lch(6.23 27.54 339.55)

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 18.46:1
vs Black 1.14: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)

#1A1A19 — rgb(26, 26, 25)

Deuteranopia (Green-blind)

#1D2017 — rgb(29, 32, 23)

Tritanopia (Blue-blind)

#2B1312 — rgb(43, 19, 18)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(317, 97%, 9%);

text

color: hsl(317, 97%, 9%);

border

border: 2px solid hsl(317, 97%, 9%);

gradient light

background: linear-gradient(to right, hsl(317, 97%, 29%), hsl(317, 97%, 9%));

gradient dark

background: linear-gradient(to right, hsl(317, 97%, 9%), hsl(317, 97%, 0%))

hex

background-color: #2D0121;

tailwind

bg-[hsl(317,97%,9%)]

box shadow

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

css variable

--color-primary: hsl(317, 97%, 9%);

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, 97%, 9%)?

HEX: #2D0121 | RGB: rgb(45, 1, 33) | CMYK: 0%, 98%, 27%, 82% | HSV: 316°, 98%, 18%. Copy any format from the conversion table above.

What colors go well with #2D0121?

The complementary color is HSL(137, 97%, 9%). 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, 97%, 9%) in CSS?

As HSL: color: hsl(317, 97%, 9%); — As HEX: color: #2D0121; — As RGB: color: rgb(45, 1, 33); — Tailwind CSS: bg-[hsl(317,97%,9%)] — CSS variable: --color-primary: hsl(317, 97%, 9%);