HSL(338, 55%, 25%)

Pink — Pink color

Adjust Color

Color Information

Color Name

Pink

Color Family

Pink

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(338,55%,25%)]

Color Conversions

Format Value CSS Usage
HSL hsl(338, 55%, 25%) color: hsl(338, 55%, 25%)
HEX #631D36 color: #631D36
RGB rgb(99, 29, 54) color: rgb(99, 29, 54)
CMYK cmyk(0%, 71%, 45%, 61%)
HSV hsv(339, 71%, 39%)
HWB hwb(339 11% 61%) color: hwb(339 11% 61%)
OKLCH oklch(0.3496 0.1033 2.14) color: oklch(0.3496 0.1033 2.14)
Lab lab(22.99 33.75 1.34) color: lab(22.99 33.75 1.34)
LCH lch(22.99 33.78 2.27) color: lch(22.99 33.78 2.27)

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.93:1
vs Black 1.76: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)

#454430 — rgb(69, 68, 48)

Deuteranopia (Green-blind)

#494E2F — rgb(73, 78, 47)

Tritanopia (Blue-blind)

#602B2A — rgb(96, 43, 42)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(338, 55%, 25%);

text

color: hsl(338, 55%, 25%);

border

border: 2px solid hsl(338, 55%, 25%);

gradient light

background: linear-gradient(to right, hsl(338, 55%, 45%), hsl(338, 55%, 25%));

gradient dark

background: linear-gradient(to right, hsl(338, 55%, 25%), hsl(338, 55%, 5%))

hex

background-color: #631D36;

tailwind

bg-[hsl(338,55%,25%)]

box shadow

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

css variable

--color-primary: hsl(338, 55%, 25%);

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, 55%, 25%)?

HEX: #631D36 | RGB: rgb(99, 29, 54) | CMYK: 0%, 71%, 45%, 61% | HSV: 339°, 71%, 39%. Copy any format from the conversion table above.

What colors go well with #631D36?

The complementary color is HSL(158, 55%, 25%). 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, 55%, 25%) in CSS?

As HSL: color: hsl(338, 55%, 25%); — As HEX: color: #631D36; — As RGB: color: rgb(99, 29, 54); — Tailwind CSS: bg-[hsl(338,55%,25%)] — CSS variable: --color-primary: hsl(338, 55%, 25%);