HSL(337, 22%, 71%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(337,22%,71%)]

Color Conversions

Format Value CSS Usage
HSL hsl(337, 22%, 71%) color: hsl(337, 22%, 71%)
HEX #C5A5B1 color: #C5A5B1
RGB rgb(197, 165, 177) color: rgb(197, 165, 177)
CMYK cmyk(0%, 16%, 10%, 23%)
HSV hsv(338, 16%, 77%)
HWB hwb(338 65% 23%) color: hwb(338 65% 23%)
OKLCH oklch(0.7538 0.0407 353.57) color: oklch(0.7538 0.0407 353.57)
Lab lab(70.84 13.69 -1.79) color: lab(70.84 13.69 -1.79)
LCH lch(70.84 13.81 352.55) color: lch(70.84 13.81 352.55)

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 2.24:1
vs Black 9.39:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#B7B7AE — rgb(183, 183, 174)

Deuteranopia (Green-blind)

#B9BBAD — rgb(185, 187, 173)

Tritanopia (Blue-blind)

#C3ACAB — rgb(195, 172, 171)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(337, 22%, 71%);

text

color: hsl(337, 22%, 71%);

border

border: 2px solid hsl(337, 22%, 71%);

gradient light

background: linear-gradient(to right, hsl(337, 22%, 91%), hsl(337, 22%, 71%));

gradient dark

background: linear-gradient(to right, hsl(337, 22%, 71%), hsl(337, 22%, 51%))

hex

background-color: #C5A5B1;

tailwind

bg-[hsl(337,22%,71%)]

box shadow

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

css variable

--color-primary: hsl(337, 22%, 71%);

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(337, 22%, 71%)?

HEX: #C5A5B1 | RGB: rgb(197, 165, 177) | CMYK: 0%, 16%, 10%, 23% | HSV: 338°, 16%, 77%. Copy any format from the conversion table above.

What colors go well with #C5A5B1?

The complementary color is HSL(157, 22%, 71%). For a triadic harmony, use hues 337°, 97°, and 217°. For analogous combinations, try hues 307° and 7°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(337, 22%, 71%) in CSS?

As HSL: color: hsl(337, 22%, 71%); — As HEX: color: #C5A5B1; — As RGB: color: rgb(197, 165, 177); — Tailwind CSS: bg-[hsl(337,22%,71%)] — CSS variable: --color-primary: hsl(337, 22%, 71%);