HSL(317, 40%, 61%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(317,40%,61%)]

Color Conversions

Format Value CSS Usage
HSL hsl(317, 40%, 61%) color: hsl(317, 40%, 61%)
HEX #C374AD color: #C374AD
RGB rgb(195, 116, 173) color: rgb(195, 116, 173)
CMYK cmyk(0%, 41%, 11%, 24%)
HSV hsv(317, 41%, 76%)
HWB hwb(317 45% 24%) color: hwb(317 45% 24%)
OKLCH oklch(0.6628 0.1226 338.07) color: oklch(0.6628 0.1226 338.07)
Lab lab(59.08 39.13 -17.12) color: lab(59.08 39.13 -17.12)
LCH lch(59.08 42.71 336.37) color: lch(59.08 42.71 336.37)

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 3.27:1
vs Black 6.42: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)

#A1A09F — rgb(161, 160, 159)

Deuteranopia (Green-blind)

#A5AB9C — rgb(165, 171, 156)

Tritanopia (Blue-blind)

#BF9492 — rgb(191, 148, 146)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(317, 40%, 61%);

text

color: hsl(317, 40%, 61%);

border

border: 2px solid hsl(317, 40%, 61%);

gradient light

background: linear-gradient(to right, hsl(317, 40%, 81%), hsl(317, 40%, 61%));

gradient dark

background: linear-gradient(to right, hsl(317, 40%, 61%), hsl(317, 40%, 41%))

hex

background-color: #C374AD;

tailwind

bg-[hsl(317,40%,61%)]

box shadow

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

css variable

--color-primary: hsl(317, 40%, 61%);

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(317, 40%, 61%)?

HEX: #C374AD | RGB: rgb(195, 116, 173) | CMYK: 0%, 41%, 11%, 24% | HSV: 317°, 41%, 76%. Copy any format from the conversion table above.

What colors go well with #C374AD?

The complementary color is HSL(137, 40%, 61%). For a triadic harmony, use hues 317°, 77°, and 197°. For analogous combinations, try hues 287° and 347°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(317, 40%, 61%) in CSS?

As HSL: color: hsl(317, 40%, 61%); — As HEX: color: #C374AD; — As RGB: color: rgb(195, 116, 173); — Tailwind CSS: bg-[hsl(317,40%,61%)] — CSS variable: --color-primary: hsl(317, 40%, 61%);