HSL(316, 100%, 21%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(316,100%,21%)]

Color Conversions

Format Value CSS Usage
HSL hsl(316, 100%, 21%) color: hsl(316, 100%, 21%)
HEX #6B004F color: #6B004F
RGB rgb(107, 0, 79) color: rgb(107, 0, 79)
CMYK cmyk(0%, 100%, 26%, 58%)
HSV hsv(316, 100%, 42%)
HWB hwb(316 0% 58%) color: hwb(316 0% 58%)
OKLCH oklch(0.3532 0.1513 343.33) color: oklch(0.3532 0.1513 343.33)
Lab lab(22.62 47.74 -16.17) color: lab(22.62 47.74 -16.17)
LCH lch(22.62 50.4 341.29) color: lch(22.62 50.4 341.29)

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 12.08:1
vs Black 1.74: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)

#3D3C3C — rgb(61, 60, 60)

Deuteranopia (Green-blind)

#434B37 — rgb(67, 75, 55)

Tritanopia (Blue-blind)

#662D29 — rgb(102, 45, 41)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(316, 100%, 21%);

text

color: hsl(316, 100%, 21%);

border

border: 2px solid hsl(316, 100%, 21%);

gradient light

background: linear-gradient(to right, hsl(316, 100%, 41%), hsl(316, 100%, 21%));

gradient dark

background: linear-gradient(to right, hsl(316, 100%, 21%), hsl(316, 100%, 1%))

hex

background-color: #6B004F;

tailwind

bg-[hsl(316,100%,21%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(316, 100%, 21%, 0.4);

css variable

--color-primary: hsl(316, 100%, 21%);

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(316, 100%, 21%)?

HEX: #6B004F | RGB: rgb(107, 0, 79) | CMYK: 0%, 100%, 26%, 58% | HSV: 316°, 100%, 42%. Copy any format from the conversion table above.

What colors go well with #6B004F?

The complementary color is HSL(136, 100%, 21%). For a triadic harmony, use hues 316°, 76°, and 196°. For analogous combinations, try hues 286° and 346°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(316, 100%, 21%) in CSS?

As HSL: color: hsl(316, 100%, 21%); — As HEX: color: #6B004F; — As RGB: color: rgb(107, 0, 79); — Tailwind CSS: bg-[hsl(316,100%,21%)] — CSS variable: --color-primary: hsl(316, 100%, 21%);