HSL(2, 40%, 62%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(2,40%,62%)]

Color Conversions

Format Value CSS Usage
HSL hsl(2, 40%, 62%) color: hsl(2, 40%, 62%)
HEX #C57A77 color: #C57A77
RGB rgb(197, 122, 119) color: rgb(197, 122, 119)
CMYK cmyk(0%, 38%, 40%, 23%)
HSV hsv(2, 40%, 77%)
HWB hwb(2 46% 23%) color: hwb(2 46% 23%)
OKLCH oklch(0.6583 0.0944 22.42) color: oklch(0.6583 0.0944 22.42)
Lab lab(59.09 28.88 14.04) color: lab(59.09 28.88 14.04)
LCH lch(59.09 32.11 25.93) color: lch(59.09 32.11 25.93)

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 3.27:1
vs Black 6.42:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#A5A478 — rgb(165, 164, 120)

Deuteranopia (Green-blind)

#A9AF78 — rgb(169, 175, 120)

Tritanopia (Blue-blind)

#C17878 — rgb(193, 120, 120)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(2, 40%, 62%);

text

color: hsl(2, 40%, 62%);

border

border: 2px solid hsl(2, 40%, 62%);

gradient light

background: linear-gradient(to right, hsl(2, 40%, 82%), hsl(2, 40%, 62%));

gradient dark

background: linear-gradient(to right, hsl(2, 40%, 62%), hsl(2, 40%, 42%))

hex

background-color: #C57A77;

tailwind

bg-[hsl(2,40%,62%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(2, 40%, 62%, 0.4);

css variable

--color-primary: hsl(2, 40%, 62%);

Related Colors

Use Cases for Red

Alerts & errors Call-to-action buttons Brand logos Sale badges Warning messages

Frequently Asked Questions

What are all the color codes for HSL(2, 40%, 62%)?

HEX: #C57A77 | RGB: rgb(197, 122, 119) | CMYK: 0%, 38%, 40%, 23% | HSV: 2°, 40%, 77%. Copy any format from the conversion table above.

What colors go well with #C57A77?

The complementary color is HSL(182, 40%, 62%). For a triadic harmony, use hues 2°, 122°, and 242°. For analogous combinations, try hues 332° and 32°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(2, 40%, 62%) in CSS?

As HSL: color: hsl(2, 40%, 62%); — As HEX: color: #C57A77; — As RGB: color: rgb(197, 122, 119); — Tailwind CSS: bg-[hsl(2,40%,62%)] — CSS variable: --color-primary: hsl(2, 40%, 62%);