HSL(1, 78%, 5%)

Very Dark Red — Red color

Adjust Color

Color Information

Color Name

Very Dark Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(1,78%,5%)]

Color Conversions

Format Value CSS Usage
HSL hsl(1, 78%, 5%) color: hsl(1, 78%, 5%)
HEX #170303 color: #170303
RGB rgb(23, 3, 3) color: rgb(23, 3, 3)
CMYK cmyk(0%, 87%, 87%, 91%)
HSV hsv(0, 87%, 9%)
HWB hwb(0 1% 91%) color: hwb(0 1% 91%)
OKLCH oklch(0.1413 0.0407 23.93) color: oklch(0.1413 0.0407 23.93)
Lab lab(2.29 6.6 2.32) color: lab(2.29 6.6 2.32)
LCH lch(2.29 7 19.37) color: lch(2.29 7 19.37)

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 19.99:1
vs Black 1.05: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)

#0E0E03 — rgb(14, 14, 3)

Deuteranopia (Green-blind)

#101103 — rgb(16, 17, 3)

Tritanopia (Blue-blind)

#160303 — rgb(22, 3, 3)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(1, 78%, 5%);

text

color: hsl(1, 78%, 5%);

border

border: 2px solid hsl(1, 78%, 5%);

gradient light

background: linear-gradient(to right, hsl(1, 78%, 25%), hsl(1, 78%, 5%));

gradient dark

background: linear-gradient(to right, hsl(1, 78%, 5%), hsl(1, 78%, 0%))

hex

background-color: #170303;

tailwind

bg-[hsl(1,78%,5%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(1, 78%, 5%, 0.4);

css variable

--color-primary: hsl(1, 78%, 5%);

Related Colors

Use Cases for Very Dark Red

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

Frequently Asked Questions

What are all the color codes for HSL(1, 78%, 5%)?

HEX: #170303 | RGB: rgb(23, 3, 3) | CMYK: 0%, 87%, 87%, 91% | HSV: 0°, 87%, 9%. Copy any format from the conversion table above.

What colors go well with #170303?

The complementary color is HSL(181, 78%, 5%). For a triadic harmony, use hues 1°, 121°, and 241°. For analogous combinations, try hues 331° and 31°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(1, 78%, 5%) in CSS?

As HSL: color: hsl(1, 78%, 5%); — As HEX: color: #170303; — As RGB: color: rgb(23, 3, 3); — Tailwind CSS: bg-[hsl(1,78%,5%)] — CSS variable: --color-primary: hsl(1, 78%, 5%);