HSL(318, 68%, 17%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(318,68%,17%)]

Color Conversions

Format Value CSS Usage
HSL hsl(318, 68%, 17%) color: hsl(318, 68%, 17%)
HEX #490E37 color: #490E37
RGB rgb(73, 14, 55) color: rgb(73, 14, 55)
CMYK cmyk(0%, 81%, 25%, 71%)
HSV hsv(318, 81%, 29%)
HWB hwb(318 6% 71%) color: hwb(318 6% 71%)
OKLCH oklch(0.2851 0.1006 342.85) color: oklch(0.2851 0.1006 342.85)
Lab lab(15.52 31.96 -11.08) color: lab(15.52 31.96 -11.08)
LCH lch(15.52 33.83 340.88) color: lch(15.52 33.83 340.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 14.99:1
vs Black 1.4: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)

#2F2F2D — rgb(47, 47, 45)

Deuteranopia (Green-blind)

#33372B — rgb(51, 55, 43)

Tritanopia (Blue-blind)

#462524 — rgb(70, 37, 36)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(318, 68%, 17%);

text

color: hsl(318, 68%, 17%);

border

border: 2px solid hsl(318, 68%, 17%);

gradient light

background: linear-gradient(to right, hsl(318, 68%, 37%), hsl(318, 68%, 17%));

gradient dark

background: linear-gradient(to right, hsl(318, 68%, 17%), hsl(318, 68%, 0%))

hex

background-color: #490E37;

tailwind

bg-[hsl(318,68%,17%)]

box shadow

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

css variable

--color-primary: hsl(318, 68%, 17%);

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, 68%, 17%)?

HEX: #490E37 | RGB: rgb(73, 14, 55) | CMYK: 0%, 81%, 25%, 71% | HSV: 318°, 81%, 29%. Copy any format from the conversion table above.

What colors go well with #490E37?

The complementary color is HSL(138, 68%, 17%). 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, 68%, 17%) in CSS?

As HSL: color: hsl(318, 68%, 17%); — As HEX: color: #490E37; — As RGB: color: rgb(73, 14, 55); — Tailwind CSS: bg-[hsl(318,68%,17%)] — CSS variable: --color-primary: hsl(318, 68%, 17%);