HSL(2, 75%, 49%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(2,75%,49%)]

Color Conversions

Format Value CSS Usage
HSL hsl(2, 75%, 49%) color: hsl(2, 75%, 49%)
HEX #DB251F color: #DB251F
RGB rgb(219, 37, 31) color: rgb(219, 37, 31)
CMYK cmyk(0%, 83%, 86%, 14%)
HSV hsv(2, 86%, 86%)
HWB hwb(2 12% 14%) color: hwb(2 12% 14%)
OKLCH oklch(0.5741 0.2155 28.51) color: oklch(0.5741 0.2155 28.51)
Lab lab(47.61 66.74 49.99) color: lab(47.61 66.74 49.99)
LCH lch(47.61 83.39 36.83) color: lch(47.61 83.39 36.83)

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 4.89:1
vs Black 4.3: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)

#8C8B20 — rgb(140, 139, 32)

Deuteranopia (Green-blind)

#97A421 — rgb(151, 164, 33)

Tritanopia (Blue-blind)

#D22222 — rgb(210, 34, 34)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(2, 75%, 49%);

text

color: hsl(2, 75%, 49%);

border

border: 2px solid hsl(2, 75%, 49%);

gradient light

background: linear-gradient(to right, hsl(2, 75%, 69%), hsl(2, 75%, 49%));

gradient dark

background: linear-gradient(to right, hsl(2, 75%, 49%), hsl(2, 75%, 29%))

hex

background-color: #DB251F;

tailwind

bg-[hsl(2,75%,49%)]

box shadow

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

css variable

--color-primary: hsl(2, 75%, 49%);

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, 75%, 49%)?

HEX: #DB251F | RGB: rgb(219, 37, 31) | CMYK: 0%, 83%, 86%, 14% | HSV: 2°, 86%, 86%. Copy any format from the conversion table above.

What colors go well with #DB251F?

The complementary color is HSL(182, 75%, 49%). 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, 75%, 49%) in CSS?

As HSL: color: hsl(2, 75%, 49%); — As HEX: color: #DB251F; — As RGB: color: rgb(219, 37, 31); — Tailwind CSS: bg-[hsl(2,75%,49%)] — CSS variable: --color-primary: hsl(2, 75%, 49%);