HSL(342, 77%, 44%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(342,77%,44%)]

Color Conversions

Format Value CSS Usage
HSL hsl(342, 77%, 44%) color: hsl(342, 77%, 44%)
HEX #C71A4E color: #C71A4E
RGB rgb(199, 26, 78) color: rgb(199, 26, 78)
CMYK cmyk(0%, 87%, 61%, 22%)
HSV hsv(342, 87%, 78%)
HWB hwb(342 10% 22%) color: hwb(342 10% 22%)
OKLCH oklch(0.5381 0.2023 11.97) color: oklch(0.5381 0.2023 11.97)
Lab lab(43.41 65.55 17.07) color: lab(43.41 65.55 17.07)
LCH lch(43.41 67.74 14.6) color: lch(43.41 67.74 14.6)

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 5.7:1
vs Black 3.69: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)

#7C7B41 — rgb(124, 123, 65)

Deuteranopia (Green-blind)

#86933E — rgb(134, 147, 62)

Tritanopia (Blue-blind)

#BE3735 — rgb(190, 55, 53)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(342, 77%, 44%);

text

color: hsl(342, 77%, 44%);

border

border: 2px solid hsl(342, 77%, 44%);

gradient light

background: linear-gradient(to right, hsl(342, 77%, 64%), hsl(342, 77%, 44%));

gradient dark

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

hex

background-color: #C71A4E;

tailwind

bg-[hsl(342,77%,44%)]

box shadow

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

css variable

--color-primary: hsl(342, 77%, 44%);

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, 77%, 44%)?

HEX: #C71A4E | RGB: rgb(199, 26, 78) | CMYK: 0%, 87%, 61%, 22% | HSV: 342°, 87%, 78%. Copy any format from the conversion table above.

What colors go well with #C71A4E?

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

As HSL: color: hsl(342, 77%, 44%); — As HEX: color: #C71A4E; — As RGB: color: rgb(199, 26, 78); — Tailwind CSS: bg-[hsl(342,77%,44%)] — CSS variable: --color-primary: hsl(342, 77%, 44%);