HSL(342, 70%, 43%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(342,70%,43%)]

Color Conversions

Format Value CSS Usage
HSL hsl(342, 70%, 43%) color: hsl(342, 70%, 43%)
HEX #BA214F color: #BA214F
RGB rgb(186, 33, 79) color: rgb(186, 33, 79)
CMYK cmyk(0%, 82%, 58%, 27%)
HSV hsv(342, 82%, 73%)
HWB hwb(342 13% 27%) color: hwb(342 13% 27%)
OKLCH oklch(0.5186 0.187 10.21) color: oklch(0.5186 0.187 10.21)
Lab lab(41.37 60.69 13.23) color: lab(41.37 60.69 13.23)
LCH lch(41.37 62.12 12.3) color: lch(41.37 62.12 12.3)

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 6.14:1
vs Black 3.42:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#787644 — rgb(120, 118, 68)

Deuteranopia (Green-blind)

#818C41 — rgb(129, 140, 65)

Tritanopia (Blue-blind)

#B23B39 — rgb(178, 59, 57)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(342, 70%, 43%);

text

color: hsl(342, 70%, 43%);

border

border: 2px solid hsl(342, 70%, 43%);

gradient light

background: linear-gradient(to right, hsl(342, 70%, 63%), hsl(342, 70%, 43%));

gradient dark

background: linear-gradient(to right, hsl(342, 70%, 43%), hsl(342, 70%, 23%))

hex

background-color: #BA214F;

tailwind

bg-[hsl(342,70%,43%)]

box shadow

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

css variable

--color-primary: hsl(342, 70%, 43%);

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, 70%, 43%)?

HEX: #BA214F | RGB: rgb(186, 33, 79) | CMYK: 0%, 82%, 58%, 27% | HSV: 342°, 82%, 73%. Copy any format from the conversion table above.

What colors go well with #BA214F?

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

As HSL: color: hsl(342, 70%, 43%); — As HEX: color: #BA214F; — As RGB: color: rgb(186, 33, 79); — Tailwind CSS: bg-[hsl(342,70%,43%)] — CSS variable: --color-primary: hsl(342, 70%, 43%);