HSL(343, 22%, 40%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(343,22%,40%)]

Color Conversions

Format Value CSS Usage
HSL hsl(343, 22%, 40%) color: hsl(343, 22%, 40%)
HEX #7C505C color: #7C505C
RGB rgb(124, 80, 92) color: rgb(124, 80, 92)
CMYK cmyk(0%, 35%, 26%, 51%)
HSV hsv(344, 35%, 49%)
HWB hwb(344 32% 51%) color: hwb(344 32% 51%)
OKLCH oklch(0.484 0.0612 1.86) color: oklch(0.484 0.0612 1.86)
Lab lab(39.23 20.28 0.65) color: lab(39.23 20.28 0.65)
LCH lch(39.23 20.29 1.84) color: lch(39.23 20.29 1.84)

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.65:1
vs Black 3.16: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)

#696959 — rgb(105, 105, 89)

Deuteranopia (Green-blind)

#6C6F58 — rgb(108, 111, 88)

Tritanopia (Blue-blind)

#7A5756 — rgb(122, 87, 86)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(343, 22%, 40%);

text

color: hsl(343, 22%, 40%);

border

border: 2px solid hsl(343, 22%, 40%);

gradient light

background: linear-gradient(to right, hsl(343, 22%, 60%), hsl(343, 22%, 40%));

gradient dark

background: linear-gradient(to right, hsl(343, 22%, 40%), hsl(343, 22%, 20%))

hex

background-color: #7C505C;

tailwind

bg-[hsl(343,22%,40%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(343, 22%, 40%, 0.4);

css variable

--color-primary: hsl(343, 22%, 40%);

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(343, 22%, 40%)?

HEX: #7C505C | RGB: rgb(124, 80, 92) | CMYK: 0%, 35%, 26%, 51% | HSV: 344°, 35%, 49%. Copy any format from the conversion table above.

What colors go well with #7C505C?

The complementary color is HSL(163, 22%, 40%). For a triadic harmony, use hues 343°, 103°, and 223°. For analogous combinations, try hues 313° and 13°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(343, 22%, 40%) in CSS?

As HSL: color: hsl(343, 22%, 40%); — As HEX: color: #7C505C; — As RGB: color: rgb(124, 80, 92); — Tailwind CSS: bg-[hsl(343,22%,40%)] — CSS variable: --color-primary: hsl(343, 22%, 40%);