HSL(7, 80%, 42%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(7,80%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(7, 80%, 42%) | color: hsl(7, 80%, 42%) | |
| HEX | #C12915 | color: #C12915 | |
| RGB | rgb(193, 41, 21) | color: rgb(193, 41, 21) | |
| CMYK | cmyk(0%, 79%, 89%, 24%) | — | |
| HSV | hsv(7, 89%, 76%) | — | |
| HWB | hwb(7 8% 24%) | color: hwb(7 8% 24%) | |
| OKLCH | oklch(0.5287 0.1905 31.02) | color: oklch(0.5287 0.1905 31.02) | |
| Lab | lab(42.73 58.06 48.43) | color: lab(42.73 58.06 48.43) | |
| LCH | lch(42.73 75.61 39.83) | color: lch(42.73 75.61 39.83) |
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)
#7F7E1A — rgb(127, 126, 26)
Deuteranopia (Green-blind)
#88931B — rgb(136, 147, 27)
Tritanopia (Blue-blind)
#B91E1F — rgb(185, 30, 31)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(7, 80%, 42%);
text
color: hsl(7, 80%, 42%);
border
border: 2px solid hsl(7, 80%, 42%);
gradient light
background: linear-gradient(to right, hsl(7, 80%, 62%), hsl(7, 80%, 42%));
gradient dark
background: linear-gradient(to right, hsl(7, 80%, 42%), hsl(7, 80%, 22%))
hex
background-color: #C12915;
tailwind
bg-[hsl(7,80%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(7, 80%, 42%, 0.4);
css variable
--color-primary: hsl(7, 80%, 42%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(7, 80%, 42%)?
HEX: #C12915 | RGB: rgb(193, 41, 21) | CMYK: 0%, 79%, 89%, 24% | HSV: 7°, 89%, 76%. Copy any format from the conversion table above.
What colors go well with #C12915?
The complementary color is HSL(187, 80%, 42%). For a triadic harmony, use hues 7°, 127°, and 247°. For analogous combinations, try hues 337° and 37°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(7, 80%, 42%) in CSS?
As HSL: color: hsl(7, 80%, 42%); — As HEX: color: #C12915; — As RGB: color: rgb(193, 41, 21); — Tailwind CSS: bg-[hsl(7,80%,42%)] — CSS variable: --color-primary: hsl(7, 80%, 42%);