HSL(335, 60%, 43%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(335,60%,43%)]

Color Conversions

Format Value CSS Usage
HSL hsl(335, 60%, 43%) color: hsl(335, 60%, 43%)
HEX #AF2C63 color: #AF2C63
RGB rgb(175, 44, 99) color: rgb(175, 44, 99)
CMYK cmyk(0%, 75%, 43%, 31%)
HSV hsv(335, 75%, 69%)
HWB hwb(335 17% 31%) color: hwb(335 17% 31%)
OKLCH oklch(0.5133 0.1722 359.96) color: oklch(0.5133 0.1722 359.96)
Lab lab(40.93 56.1 -0.3) color: lab(40.93 56.1 -0.3)
LCH lch(40.93 56.1 359.69) color: lch(40.93 56.1 359.69)

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.24:1
vs Black 3.36: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)

#767556 — rgb(118, 117, 86)

Deuteranopia (Green-blind)

#7E8853 — rgb(126, 136, 83)

Tritanopia (Blue-blind)

#A84B49 — rgb(168, 75, 73)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(335, 60%, 43%);

text

color: hsl(335, 60%, 43%);

border

border: 2px solid hsl(335, 60%, 43%);

gradient light

background: linear-gradient(to right, hsl(335, 60%, 63%), hsl(335, 60%, 43%));

gradient dark

background: linear-gradient(to right, hsl(335, 60%, 43%), hsl(335, 60%, 23%))

hex

background-color: #AF2C63;

tailwind

bg-[hsl(335,60%,43%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(335, 60%, 43%, 0.4);

css variable

--color-primary: hsl(335, 60%, 43%);

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(335, 60%, 43%)?

HEX: #AF2C63 | RGB: rgb(175, 44, 99) | CMYK: 0%, 75%, 43%, 31% | HSV: 335°, 75%, 69%. Copy any format from the conversion table above.

What colors go well with #AF2C63?

The complementary color is HSL(155, 60%, 43%). For a triadic harmony, use hues 335°, 95°, and 215°. For analogous combinations, try hues 305° and 5°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(335, 60%, 43%) in CSS?

As HSL: color: hsl(335, 60%, 43%); — As HEX: color: #AF2C63; — As RGB: color: rgb(175, 44, 99); — Tailwind CSS: bg-[hsl(335,60%,43%)] — CSS variable: --color-primary: hsl(335, 60%, 43%);