HSL(1, 73%, 45%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(1,73%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(1, 73%, 45%) | color: hsl(1, 73%, 45%) | |
| HEX | #C7221F | color: #C7221F | |
| RGB | rgb(199, 34, 31) | color: rgb(199, 34, 31) | |
| CMYK | cmyk(0%, 83%, 84%, 22%) | — | |
| HSV | hsv(1, 84%, 78%) | — | |
| HWB | hwb(1 12% 22%) | color: hwb(1 12% 22%) | |
| OKLCH | oklch(0.5355 0.1994 27.93) | color: oklch(0.5355 0.1994 27.93) | |
| Lab | lab(43.34 61.88 44.75) | color: lab(43.34 61.88 44.75) | |
| LCH | lch(43.34 76.37 35.87) | color: lch(43.34 76.37 35.87) |
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)
#807E20 — rgb(128, 126, 32)
Deuteranopia (Green-blind)
#899620 — rgb(137, 150, 32)
Tritanopia (Blue-blind)
#BF2020 — rgb(191, 32, 32)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(1, 73%, 45%);
text
color: hsl(1, 73%, 45%);
border
border: 2px solid hsl(1, 73%, 45%);
gradient light
background: linear-gradient(to right, hsl(1, 73%, 65%), hsl(1, 73%, 45%));
gradient dark
background: linear-gradient(to right, hsl(1, 73%, 45%), hsl(1, 73%, 25%))
hex
background-color: #C7221F;
tailwind
bg-[hsl(1,73%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(1, 73%, 45%, 0.4);
css variable
--color-primary: hsl(1, 73%, 45%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(1, 73%, 45%)?
HEX: #C7221F | RGB: rgb(199, 34, 31) | CMYK: 0%, 83%, 84%, 22% | HSV: 1°, 84%, 78%. Copy any format from the conversion table above.
What colors go well with #C7221F?
The complementary color is HSL(181, 73%, 45%). 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, 73%, 45%) in CSS?
As HSL: color: hsl(1, 73%, 45%); — As HEX: color: #C7221F; — As RGB: color: rgb(199, 34, 31); — Tailwind CSS: bg-[hsl(1,73%,45%)] — CSS variable: --color-primary: hsl(1, 73%, 45%);