HSL(7, 80%, 43%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(7,80%,43%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(7, 80%, 43%) | color: hsl(7, 80%, 43%) | |
| HEX | #C52A16 | color: #C52A16 | |
| RGB | rgb(197, 42, 22) | color: rgb(197, 42, 22) | |
| CMYK | cmyk(0%, 79%, 89%, 23%) | — | |
| HSV | hsv(7, 89%, 77%) | — | |
| HWB | hwb(7 8% 23%) | color: hwb(7 8% 23%) | |
| OKLCH | oklch(0.5368 0.1935 30.96) | color: oklch(0.5368 0.1935 30.96) | |
| Lab | lab(43.64 58.98 49.03) | color: lab(43.64 58.98 49.03) | |
| LCH | lch(43.64 76.7 39.74) | color: lch(43.64 76.7 39.74) |
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)
#82801B — rgb(130, 128, 27)
Deuteranopia (Green-blind)
#8B971C — rgb(139, 151, 28)
Tritanopia (Blue-blind)
#BD1F20 — rgb(189, 31, 32)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(7, 80%, 43%);
text
color: hsl(7, 80%, 43%);
border
border: 2px solid hsl(7, 80%, 43%);
gradient light
background: linear-gradient(to right, hsl(7, 80%, 63%), hsl(7, 80%, 43%));
gradient dark
background: linear-gradient(to right, hsl(7, 80%, 43%), hsl(7, 80%, 23%))
hex
background-color: #C52A16;
tailwind
bg-[hsl(7,80%,43%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(7, 80%, 43%, 0.4);
css variable
--color-primary: hsl(7, 80%, 43%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(7, 80%, 43%)?
HEX: #C52A16 | RGB: rgb(197, 42, 22) | CMYK: 0%, 79%, 89%, 23% | HSV: 7°, 89%, 77%. Copy any format from the conversion table above.
What colors go well with #C52A16?
The complementary color is HSL(187, 80%, 43%). 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%, 43%) in CSS?
As HSL: color: hsl(7, 80%, 43%); — As HEX: color: #C52A16; — As RGB: color: rgb(197, 42, 22); — Tailwind CSS: bg-[hsl(7,80%,43%)] — CSS variable: --color-primary: hsl(7, 80%, 43%);