HSL(342, 96%, 35%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(342,96%,35%)]

Color Conversions

Format Value CSS Usage
HSL hsl(342, 96%, 35%) color: hsl(342, 96%, 35%)
HEX #AF0437 color: #AF0437
RGB rgb(175, 4, 55) color: rgb(175, 4, 55)
CMYK cmyk(0%, 98%, 69%, 31%)
HSV hsv(342, 98%, 69%)
HWB hwb(342 1% 31%) color: hwb(342 1% 31%)
OKLCH oklch(0.4802 0.1902 15.94) color: oklch(0.4802 0.1902 15.94)
Lab lab(36.89 61.34 22.18) color: lab(36.89 61.34 22.18)
LCH lch(36.89 65.23 19.88) color: lch(36.89 65.23 19.88)

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 7.25:1
vs Black 2.9:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#65632B — rgb(101, 99, 43)

Deuteranopia (Green-blind)

#6F7C28 — rgb(111, 124, 40)

Tritanopia (Blue-blind)

#A6211F — rgb(166, 33, 31)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(342, 96%, 35%);

text

color: hsl(342, 96%, 35%);

border

border: 2px solid hsl(342, 96%, 35%);

gradient light

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

gradient dark

background: linear-gradient(to right, hsl(342, 96%, 35%), hsl(342, 96%, 15%))

hex

background-color: #AF0437;

tailwind

bg-[hsl(342,96%,35%)]

box shadow

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

css variable

--color-primary: hsl(342, 96%, 35%);

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, 96%, 35%)?

HEX: #AF0437 | RGB: rgb(175, 4, 55) | CMYK: 0%, 98%, 69%, 31% | HSV: 342°, 98%, 69%. Copy any format from the conversion table above.

What colors go well with #AF0437?

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

As HSL: color: hsl(342, 96%, 35%); — As HEX: color: #AF0437; — As RGB: color: rgb(175, 4, 55); — Tailwind CSS: bg-[hsl(342,96%,35%)] — CSS variable: --color-primary: hsl(342, 96%, 35%);