HSL(358, 80%, 42%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(358,80%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(358, 80%, 42%) | color: hsl(358, 80%, 42%) | |
| HEX | #C1151B | color: #C1151B | |
| RGB | rgb(193, 21, 27) | color: rgb(193, 21, 27) | |
| CMYK | cmyk(0%, 89%, 86%, 24%) | — | |
| HSV | hsv(358, 89%, 76%) | — | |
| HWB | hwb(358 8% 24%) | color: hwb(358 8% 24%) | |
| OKLCH | oklch(0.517 0.201 27.07) | color: oklch(0.517 0.201 27.07) | |
| Lab | lab(41.15 62.8 44.37) | color: lab(41.15 62.8 44.37) | |
| LCH | lch(41.15 76.89 35.24) | color: lch(41.15 76.89 35.24) |
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)
#77751A — rgb(119, 117, 26)
Deuteranopia (Green-blind)
#818D19 — rgb(129, 141, 25)
Tritanopia (Blue-blind)
#B81818 — rgb(184, 24, 24)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(358, 80%, 42%);
text
color: hsl(358, 80%, 42%);
border
border: 2px solid hsl(358, 80%, 42%);
gradient light
background: linear-gradient(to right, hsl(358, 80%, 62%), hsl(358, 80%, 42%));
gradient dark
background: linear-gradient(to right, hsl(358, 80%, 42%), hsl(358, 80%, 22%))
hex
background-color: #C1151B;
tailwind
bg-[hsl(358,80%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(358, 80%, 42%, 0.4);
css variable
--color-primary: hsl(358, 80%, 42%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(358, 80%, 42%)?
HEX: #C1151B | RGB: rgb(193, 21, 27) | CMYK: 0%, 89%, 86%, 24% | HSV: 358°, 89%, 76%. Copy any format from the conversion table above.
What colors go well with #C1151B?
The complementary color is HSL(178, 80%, 42%). For a triadic harmony, use hues 358°, 118°, and 238°. For analogous combinations, try hues 328° and 28°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(358, 80%, 42%) in CSS?
As HSL: color: hsl(358, 80%, 42%); — As HEX: color: #C1151B; — As RGB: color: rgb(193, 21, 27); — Tailwind CSS: bg-[hsl(358,80%,42%)] — CSS variable: --color-primary: hsl(358, 80%, 42%);