HSL(338, 46%, 23%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(338,46%,23%)]

Color Conversions

Format Value CSS Usage
HSL hsl(338, 46%, 23%) color: hsl(338, 46%, 23%)
HEX #562033 color: #562033
RGB rgb(86, 32, 51) color: rgb(86, 32, 51)
CMYK cmyk(0%, 63%, 41%, 66%)
HSV hsv(339, 63%, 34%)
HWB hwb(339 13% 66%) color: hwb(339 13% 66%)
OKLCH oklch(0.3299 0.0828 0.69) color: oklch(0.3299 0.0828 0.69)
Lab lab(21.02 27.17 0.25) color: lab(21.02 27.17 0.25)
LCH lch(21.02 27.17 0.53) color: lch(21.02 27.17 0.53)

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.73:1
vs Black 1.65: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)

#3F3E2E — rgb(63, 62, 46)

Deuteranopia (Green-blind)

#42462D — rgb(66, 70, 45)

Tritanopia (Blue-blind)

#532B2A — rgb(83, 43, 42)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(338, 46%, 23%);

text

color: hsl(338, 46%, 23%);

border

border: 2px solid hsl(338, 46%, 23%);

gradient light

background: linear-gradient(to right, hsl(338, 46%, 43%), hsl(338, 46%, 23%));

gradient dark

background: linear-gradient(to right, hsl(338, 46%, 23%), hsl(338, 46%, 3%))

hex

background-color: #562033;

tailwind

bg-[hsl(338,46%,23%)]

box shadow

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

css variable

--color-primary: hsl(338, 46%, 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(338, 46%, 23%)?

HEX: #562033 | RGB: rgb(86, 32, 51) | CMYK: 0%, 63%, 41%, 66% | HSV: 339°, 63%, 34%. Copy any format from the conversion table above.

What colors go well with #562033?

The complementary color is HSL(158, 46%, 23%). For a triadic harmony, use hues 338°, 98°, and 218°. For analogous combinations, try hues 308° and 8°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(338, 46%, 23%) in CSS?

As HSL: color: hsl(338, 46%, 23%); — As HEX: color: #562033; — As RGB: color: rgb(86, 32, 51); — Tailwind CSS: bg-[hsl(338,46%,23%)] — CSS variable: --color-primary: hsl(338, 46%, 23%);