HSL(340, 90%, 7%)

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(340,90%,7%)]

Color Conversions

Format Value CSS Usage
HSL hsl(340, 90%, 7%) color: hsl(340, 90%, 7%)
HEX #22020C color: #22020C
RGB rgb(34, 2, 12) color: rgb(34, 2, 12)
CMYK cmyk(0%, 94%, 65%, 87%)
HSV hsv(341, 94%, 13%)
HWB hwb(341 1% 87%) color: hwb(341 1% 87%)
OKLCH oklch(0.1678 0.0596 3.81) color: oklch(0.1678 0.0596 3.81)
Lab lab(3.7 14.66 0.84) color: lab(3.7 14.66 0.84)
LCH lch(3.7 14.68 3.28) color: lch(3.7 14.68 3.28)

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.41:1
vs Black 1.08: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)

#14140A — rgb(20, 20, 10)

Deuteranopia (Green-blind)

#161809 — rgb(22, 24, 9)

Tritanopia (Blue-blind)

#200807 — rgb(32, 8, 7)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(340, 90%, 7%);

text

color: hsl(340, 90%, 7%);

border

border: 2px solid hsl(340, 90%, 7%);

gradient light

background: linear-gradient(to right, hsl(340, 90%, 27%), hsl(340, 90%, 7%));

gradient dark

background: linear-gradient(to right, hsl(340, 90%, 7%), hsl(340, 90%, 0%))

hex

background-color: #22020C;

tailwind

bg-[hsl(340,90%,7%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(340, 90%, 7%, 0.4);

css variable

--color-primary: hsl(340, 90%, 7%);

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(340, 90%, 7%)?

HEX: #22020C | RGB: rgb(34, 2, 12) | CMYK: 0%, 94%, 65%, 87% | HSV: 341°, 94%, 13%. Copy any format from the conversion table above.

What colors go well with #22020C?

The complementary color is HSL(160, 90%, 7%). For a triadic harmony, use hues 340°, 100°, and 220°. For analogous combinations, try hues 310° and 10°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(340, 90%, 7%) in CSS?

As HSL: color: hsl(340, 90%, 7%); — As HEX: color: #22020C; — As RGB: color: rgb(34, 2, 12); — Tailwind CSS: bg-[hsl(340,90%,7%)] — CSS variable: --color-primary: hsl(340, 90%, 7%);