HSL(348, 80%, 45%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(348,80%,45%)]

Color Conversions

Format Value CSS Usage
HSL hsl(348, 80%, 45%) color: hsl(348, 80%, 45%)
HEX #CF173C color: #CF173C
RGB rgb(207, 23, 60) color: rgb(207, 23, 60)
CMYK cmyk(0%, 89%, 71%, 19%)
HSV hsv(348, 89%, 81%)
HWB hwb(348 9% 19%) color: hwb(348 9% 19%)
OKLCH oklch(0.5481 0.2099 19.17) color: oklch(0.5481 0.2099 19.17)
Lab lab(44.53 67.19 29.98) color: lab(44.53 67.19 29.98)
LCH lch(44.53 73.58 24.05) color: lch(44.53 73.58 24.05)

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 5.47:1
vs Black 3.84:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#7F7E33 — rgb(127, 126, 51)

Deuteranopia (Green-blind)

#8A9831 — rgb(138, 152, 49)

Tritanopia (Blue-blind)

#C62C2A — rgb(198, 44, 42)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(348, 80%, 45%);

text

color: hsl(348, 80%, 45%);

border

border: 2px solid hsl(348, 80%, 45%);

gradient light

background: linear-gradient(to right, hsl(348, 80%, 65%), hsl(348, 80%, 45%));

gradient dark

background: linear-gradient(to right, hsl(348, 80%, 45%), hsl(348, 80%, 25%))

hex

background-color: #CF173C;

tailwind

bg-[hsl(348,80%,45%)]

box shadow

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

css variable

--color-primary: hsl(348, 80%, 45%);

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(348, 80%, 45%)?

HEX: #CF173C | RGB: rgb(207, 23, 60) | CMYK: 0%, 89%, 71%, 19% | HSV: 348°, 89%, 81%. Copy any format from the conversion table above.

What colors go well with #CF173C?

The complementary color is HSL(168, 80%, 45%). For a triadic harmony, use hues 348°, 108°, and 228°. For analogous combinations, try hues 318° and 18°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(348, 80%, 45%) in CSS?

As HSL: color: hsl(348, 80%, 45%); — As HEX: color: #CF173C; — As RGB: color: rgb(207, 23, 60); — Tailwind CSS: bg-[hsl(348,80%,45%)] — CSS variable: --color-primary: hsl(348, 80%, 45%);