HSL(342, 69%, 30%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(342,69%,30%)]

Color Conversions

Format Value CSS Usage
HSL hsl(342, 69%, 30%) color: hsl(342, 69%, 30%)
HEX #811837 color: #811837
RGB rgb(129, 24, 55) color: rgb(129, 24, 55)
CMYK cmyk(0%, 81%, 57%, 49%)
HSV hsv(342, 81%, 51%)
HWB hwb(342 10% 49%) color: hwb(342 10% 49%)
OKLCH oklch(0.4005 0.1396 9.52) color: oklch(0.4005 0.1396 9.52)
Lab lab(28.37 45.33 9.12) color: lab(28.37 45.33 9.12)
LCH lch(28.37 46.24 11.38) color: lch(28.37 46.24 11.38)

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 9.91:1
vs Black 2.12: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)

#54532F — rgb(84, 83, 47)

Deuteranopia (Green-blind)

#5A622E — rgb(90, 98, 46)

Tritanopia (Blue-blind)

#7C2A28 — rgb(124, 42, 40)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(342, 69%, 30%);

text

color: hsl(342, 69%, 30%);

border

border: 2px solid hsl(342, 69%, 30%);

gradient light

background: linear-gradient(to right, hsl(342, 69%, 50%), hsl(342, 69%, 30%));

gradient dark

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

hex

background-color: #811837;

tailwind

bg-[hsl(342,69%,30%)]

box shadow

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

css variable

--color-primary: hsl(342, 69%, 30%);

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(342, 69%, 30%)?

HEX: #811837 | RGB: rgb(129, 24, 55) | CMYK: 0%, 81%, 57%, 49% | HSV: 342°, 81%, 51%. Copy any format from the conversion table above.

What colors go well with #811837?

The complementary color is HSL(162, 69%, 30%). 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, 69%, 30%) in CSS?

As HSL: color: hsl(342, 69%, 30%); — As HEX: color: #811837; — As RGB: color: rgb(129, 24, 55); — Tailwind CSS: bg-[hsl(342,69%,30%)] — CSS variable: --color-primary: hsl(342, 69%, 30%);