HSL(317, 35%, 31%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(317,35%,31%)]

Color Conversions

Format Value CSS Usage
HSL hsl(317, 35%, 31%) color: hsl(317, 35%, 31%)
HEX #6B335B color: #6B335B
RGB rgb(107, 51, 91) color: rgb(107, 51, 91)
CMYK cmyk(0%, 52%, 15%, 58%)
HSV hsv(317, 52%, 42%)
HWB hwb(317 20% 58%) color: hwb(317 20% 58%)
OKLCH oklch(0.4092 0.0961 339.25) color: oklch(0.4092 0.0961 339.25)
Lab lab(30.03 30.62 -12.7) color: lab(30.03 30.62 -12.7)
LCH lch(30.03 33.15 337.47) color: lch(30.03 33.15 337.47)

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 9.33:1
vs Black 2.25: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)

#535251 — rgb(83, 82, 81)

Deuteranopia (Green-blind)

#565A4F — rgb(86, 90, 79)

Tritanopia (Blue-blind)

#684A48 — rgb(104, 74, 72)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(317, 35%, 31%);

text

color: hsl(317, 35%, 31%);

border

border: 2px solid hsl(317, 35%, 31%);

gradient light

background: linear-gradient(to right, hsl(317, 35%, 51%), hsl(317, 35%, 31%));

gradient dark

background: linear-gradient(to right, hsl(317, 35%, 31%), hsl(317, 35%, 11%))

hex

background-color: #6B335B;

tailwind

bg-[hsl(317,35%,31%)]

box shadow

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

css variable

--color-primary: hsl(317, 35%, 31%);

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(317, 35%, 31%)?

HEX: #6B335B | RGB: rgb(107, 51, 91) | CMYK: 0%, 52%, 15%, 58% | HSV: 317°, 52%, 42%. Copy any format from the conversion table above.

What colors go well with #6B335B?

The complementary color is HSL(137, 35%, 31%). For a triadic harmony, use hues 317°, 77°, and 197°. For analogous combinations, try hues 287° and 347°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(317, 35%, 31%) in CSS?

As HSL: color: hsl(317, 35%, 31%); — As HEX: color: #6B335B; — As RGB: color: rgb(107, 51, 91); — Tailwind CSS: bg-[hsl(317,35%,31%)] — CSS variable: --color-primary: hsl(317, 35%, 31%);