HSL(340, 60%, 48%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(340,60%,48%)]

Color Conversions

Format Value CSS Usage
HSL hsl(340, 60%, 48%) color: hsl(340, 60%, 48%)
HEX #C43162 color: #C43162
RGB rgb(196, 49, 98) color: rgb(196, 49, 98)
CMYK cmyk(0%, 75%, 50%, 23%)
HSV hsv(340, 75%, 77%)
HWB hwb(340 19% 23%) color: hwb(340 19% 23%)
OKLCH oklch(0.5532 0.1851 5.89) color: oklch(0.5532 0.1851 5.89)
Lab lab(45.38 60.28 7.25) color: lab(45.38 60.28 7.25)
LCH lch(45.38 60.71 6.86) color: lch(45.38 60.71 6.86)

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.3:1
vs Black 3.96: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)

#848356 — rgb(132, 131, 86)

Deuteranopia (Green-blind)

#8D9853 — rgb(141, 152, 83)

Tritanopia (Blue-blind)

#BD4D4B — rgb(189, 77, 75)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(340, 60%, 48%);

text

color: hsl(340, 60%, 48%);

border

border: 2px solid hsl(340, 60%, 48%);

gradient light

background: linear-gradient(to right, hsl(340, 60%, 68%), hsl(340, 60%, 48%));

gradient dark

background: linear-gradient(to right, hsl(340, 60%, 48%), hsl(340, 60%, 28%))

hex

background-color: #C43162;

tailwind

bg-[hsl(340,60%,48%)]

box shadow

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

css variable

--color-primary: hsl(340, 60%, 48%);

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

HEX: #C43162 | RGB: rgb(196, 49, 98) | CMYK: 0%, 75%, 50%, 23% | HSV: 340°, 75%, 77%. Copy any format from the conversion table above.

What colors go well with #C43162?

The complementary color is HSL(160, 60%, 48%). 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, 60%, 48%) in CSS?

As HSL: color: hsl(340, 60%, 48%); — As HEX: color: #C43162; — As RGB: color: rgb(196, 49, 98); — Tailwind CSS: bg-[hsl(340,60%,48%)] — CSS variable: --color-primary: hsl(340, 60%, 48%);