HSL(342, 31%, 55%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(342,31%,55%)]

Color Conversions

Format Value CSS Usage
HSL hsl(342, 31%, 55%) color: hsl(342, 31%, 55%)
HEX #B0697E color: #B0697E
RGB rgb(176, 105, 126) color: rgb(176, 105, 126)
CMYK cmyk(0%, 40%, 28%, 31%)
HSV hsv(342, 40%, 69%)
HWB hwb(342 41% 31%) color: hwb(342 41% 31%)
OKLCH oklch(0.605 0.0941 1.22) color: oklch(0.605 0.0941 1.22)
Lab lab(52.78 31.11 0.6) color: lab(52.78 31.11 0.6)
LCH lch(52.78 31.12 1.1) color: lch(52.78 31.12 1.1)

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 4.06:1
vs Black 5.17:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#919179 — rgb(145, 145, 121)

Deuteranopia (Green-blind)

#959B78 — rgb(149, 155, 120)

Tritanopia (Blue-blind)

#AC7574 — rgb(172, 117, 116)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(342, 31%, 55%);

text

color: hsl(342, 31%, 55%);

border

border: 2px solid hsl(342, 31%, 55%);

gradient light

background: linear-gradient(to right, hsl(342, 31%, 75%), hsl(342, 31%, 55%));

gradient dark

background: linear-gradient(to right, hsl(342, 31%, 55%), hsl(342, 31%, 35%))

hex

background-color: #B0697E;

tailwind

bg-[hsl(342,31%,55%)]

box shadow

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

css variable

--color-primary: hsl(342, 31%, 55%);

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, 31%, 55%)?

HEX: #B0697E | RGB: rgb(176, 105, 126) | CMYK: 0%, 40%, 28%, 31% | HSV: 342°, 40%, 69%. Copy any format from the conversion table above.

What colors go well with #B0697E?

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

As HSL: color: hsl(342, 31%, 55%); — As HEX: color: #B0697E; — As RGB: color: rgb(176, 105, 126); — Tailwind CSS: bg-[hsl(342,31%,55%)] — CSS variable: --color-primary: hsl(342, 31%, 55%);