HSL(315, 80%, 23%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(315,80%,23%)]

Color Conversions

Format Value CSS Usage
HSL hsl(315, 80%, 23%) color: hsl(315, 80%, 23%)
HEX #6A0C52 color: #6A0C52
RGB rgb(106, 12, 82) color: rgb(106, 12, 82)
CMYK cmyk(0%, 89%, 23%, 58%)
HSV hsv(315, 89%, 42%)
HWB hwb(315 5% 58%) color: hwb(315 5% 58%)
OKLCH oklch(0.3594 0.1437 341.52) color: oklch(0.3594 0.1437 341.52)
Lab lab(23.46 45.3 -16.9) color: lab(23.46 45.3 -16.9)
LCH lch(23.46 48.35 339.54) color: lch(23.46 48.35 339.54)

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 11.75:1
vs Black 1.79: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)

#414041 — rgb(65, 64, 65)

Deuteranopia (Green-blind)

#474E3D — rgb(71, 78, 61)

Tritanopia (Blue-blind)

#653431 — rgb(101, 52, 49)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(315, 80%, 23%);

text

color: hsl(315, 80%, 23%);

border

border: 2px solid hsl(315, 80%, 23%);

gradient light

background: linear-gradient(to right, hsl(315, 80%, 43%), hsl(315, 80%, 23%));

gradient dark

background: linear-gradient(to right, hsl(315, 80%, 23%), hsl(315, 80%, 3%))

hex

background-color: #6A0C52;

tailwind

bg-[hsl(315,80%,23%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(315, 80%, 23%, 0.4);

css variable

--color-primary: hsl(315, 80%, 23%);

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(315, 80%, 23%)?

HEX: #6A0C52 | RGB: rgb(106, 12, 82) | CMYK: 0%, 89%, 23%, 58% | HSV: 315°, 89%, 42%. Copy any format from the conversion table above.

What colors go well with #6A0C52?

The complementary color is HSL(135, 80%, 23%). For a triadic harmony, use hues 315°, 75°, and 195°. For analogous combinations, try hues 285° and 345°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(315, 80%, 23%) in CSS?

As HSL: color: hsl(315, 80%, 23%); — As HEX: color: #6A0C52; — As RGB: color: rgb(106, 12, 82); — Tailwind CSS: bg-[hsl(315,80%,23%)] — CSS variable: --color-primary: hsl(315, 80%, 23%);