HSL(318, 65%, 46%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(318,65%,46%)]

Color Conversions

Format Value CSS Usage
HSL hsl(318, 65%, 46%) color: hsl(318, 65%, 46%)
HEX #C22994 color: #C22994
RGB rgb(194, 41, 148) color: rgb(194, 41, 148)
CMYK cmyk(0%, 79%, 24%, 24%)
HSV hsv(318, 79%, 76%)
HWB hwb(318 16% 24%) color: hwb(318 16% 24%)
OKLCH oklch(0.5619 0.2125 343.45) color: oklch(0.5619 0.2125 343.45)
Lab lab(45.9 67.4 -22.61) color: lab(45.9 67.4 -22.61)
LCH lch(45.9 71.09 341.46) color: lch(45.9 71.09 341.46)

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.2:1
vs Black 4.04: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)

#807E7A — rgb(128, 126, 122)

Deuteranopia (Green-blind)

#899474 — rgb(137, 148, 116)

Tritanopia (Blue-blind)

#BA6661 — rgb(186, 102, 97)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(318, 65%, 46%);

text

color: hsl(318, 65%, 46%);

border

border: 2px solid hsl(318, 65%, 46%);

gradient light

background: linear-gradient(to right, hsl(318, 65%, 66%), hsl(318, 65%, 46%));

gradient dark

background: linear-gradient(to right, hsl(318, 65%, 46%), hsl(318, 65%, 26%))

hex

background-color: #C22994;

tailwind

bg-[hsl(318,65%,46%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(318, 65%, 46%, 0.4);

css variable

--color-primary: hsl(318, 65%, 46%);

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(318, 65%, 46%)?

HEX: #C22994 | RGB: rgb(194, 41, 148) | CMYK: 0%, 79%, 24%, 24% | HSV: 318°, 79%, 76%. Copy any format from the conversion table above.

What colors go well with #C22994?

The complementary color is HSL(138, 65%, 46%). For a triadic harmony, use hues 318°, 78°, and 198°. For analogous combinations, try hues 288° and 348°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(318, 65%, 46%) in CSS?

As HSL: color: hsl(318, 65%, 46%); — As HEX: color: #C22994; — As RGB: color: rgb(194, 41, 148); — Tailwind CSS: bg-[hsl(318,65%,46%)] — CSS variable: --color-primary: hsl(318, 65%, 46%);