HSL(342, 75%, 24%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(342,75%,24%)]

Color Conversions

Format Value CSS Usage
HSL hsl(342, 75%, 24%) color: hsl(342, 75%, 24%)
HEX #6B0F2B color: #6B0F2B
RGB rgb(107, 15, 43) color: rgb(107, 15, 43)
CMYK cmyk(0%, 86%, 60%, 58%)
HSV hsv(342, 86%, 42%)
HWB hwb(342 6% 58%) color: hwb(342 6% 58%)
OKLCH oklch(0.3476 0.1247 9.79) color: oklch(0.3476 0.1247 9.79)
Lab lab(22.45 40.5 8.44) color: lab(22.45 40.5 8.44)
LCH lch(22.45 41.37 11.77) color: lch(22.45 41.37 11.77)

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 12.15:1
vs Black 1.73: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)

#434224 — rgb(67, 66, 36)

Deuteranopia (Green-blind)

#494F23 — rgb(73, 79, 35)

Tritanopia (Blue-blind)

#661F1E — rgb(102, 31, 30)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(342, 75%, 24%);

text

color: hsl(342, 75%, 24%);

border

border: 2px solid hsl(342, 75%, 24%);

gradient light

background: linear-gradient(to right, hsl(342, 75%, 44%), hsl(342, 75%, 24%));

gradient dark

background: linear-gradient(to right, hsl(342, 75%, 24%), hsl(342, 75%, 4%))

hex

background-color: #6B0F2B;

tailwind

bg-[hsl(342,75%,24%)]

box shadow

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

css variable

--color-primary: hsl(342, 75%, 24%);

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, 75%, 24%)?

HEX: #6B0F2B | RGB: rgb(107, 15, 43) | CMYK: 0%, 86%, 60%, 58% | HSV: 342°, 86%, 42%. Copy any format from the conversion table above.

What colors go well with #6B0F2B?

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

As HSL: color: hsl(342, 75%, 24%); — As HEX: color: #6B0F2B; — As RGB: color: rgb(107, 15, 43); — Tailwind CSS: bg-[hsl(342,75%,24%)] — CSS variable: --color-primary: hsl(342, 75%, 24%);