HSL(354, 80%, 46%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(354,80%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(354, 80%, 46%) | color: hsl(354, 80%, 46%) | |
| HEX | #D3172A | color: #D3172A | |
| RGB | rgb(211, 23, 42) | color: rgb(211, 23, 42) | |
| CMYK | cmyk(0%, 89%, 80%, 17%) | — | |
| HSV | hsv(354, 89%, 83%) | — | |
| HWB | hwb(354 9% 17%) | color: hwb(354 9% 17%) | |
| OKLCH | oklch(0.5533 0.2144 24.54) | color: oklch(0.5533 0.2144 24.54) | |
| Lab | lab(45.13 67.58 41.43) | color: lab(45.13 67.58 41.43) | |
| LCH | lch(45.13 79.27 31.51) | color: lch(45.13 79.27 31.51) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#828025 — rgb(130, 128, 37)
Deuteranopia (Green-blind)
#8D9B24 — rgb(141, 155, 36)
Tritanopia (Blue-blind)
#CA2221 — rgb(202, 34, 33)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(354, 80%, 46%);
text
color: hsl(354, 80%, 46%);
border
border: 2px solid hsl(354, 80%, 46%);
gradient light
background: linear-gradient(to right, hsl(354, 80%, 66%), hsl(354, 80%, 46%));
gradient dark
background: linear-gradient(to right, hsl(354, 80%, 46%), hsl(354, 80%, 26%))
hex
background-color: #D3172A;
tailwind
bg-[hsl(354,80%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(354, 80%, 46%, 0.4);
css variable
--color-primary: hsl(354, 80%, 46%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(354, 80%, 46%)?
HEX: #D3172A | RGB: rgb(211, 23, 42) | CMYK: 0%, 89%, 80%, 17% | HSV: 354°, 89%, 83%. Copy any format from the conversion table above.
What colors go well with #D3172A?
The complementary color is HSL(174, 80%, 46%). For a triadic harmony, use hues 354°, 114°, and 234°. For analogous combinations, try hues 324° and 24°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(354, 80%, 46%) in CSS?
As HSL: color: hsl(354, 80%, 46%); — As HEX: color: #D3172A; — As RGB: color: rgb(211, 23, 42); — Tailwind CSS: bg-[hsl(354,80%,46%)] — CSS variable: --color-primary: hsl(354, 80%, 46%);