HSL(3, 80%, 47%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(3,80%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(3, 80%, 47%) | color: hsl(3, 80%, 47%) | |
| HEX | #D82218 | color: #D82218 | |
| RGB | rgb(216, 34, 24) | color: rgb(216, 34, 24) | |
| CMYK | cmyk(0%, 84%, 89%, 15%) | — | |
| HSV | hsv(3, 89%, 85%) | — | |
| HWB | hwb(3 9% 15%) | color: hwb(3 9% 15%) | |
| OKLCH | oklch(0.5664 0.2151 29.25) | color: oklch(0.5664 0.2151 29.25) | |
| Lab | lab(46.73 66.45 52.18) | color: lab(46.73 66.45 52.18) | |
| LCH | lch(46.73 84.49 38.14) | color: lch(46.73 84.49 38.14) |
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)
#89881A — rgb(137, 136, 26)
Deuteranopia (Green-blind)
#94A11B — rgb(148, 161, 27)
Tritanopia (Blue-blind)
#CF1C1D — rgb(207, 28, 29)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(3, 80%, 47%);
text
color: hsl(3, 80%, 47%);
border
border: 2px solid hsl(3, 80%, 47%);
gradient light
background: linear-gradient(to right, hsl(3, 80%, 67%), hsl(3, 80%, 47%));
gradient dark
background: linear-gradient(to right, hsl(3, 80%, 47%), hsl(3, 80%, 27%))
hex
background-color: #D82218;
tailwind
bg-[hsl(3,80%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(3, 80%, 47%, 0.4);
css variable
--color-primary: hsl(3, 80%, 47%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(3, 80%, 47%)?
HEX: #D82218 | RGB: rgb(216, 34, 24) | CMYK: 0%, 84%, 89%, 15% | HSV: 3°, 89%, 85%. Copy any format from the conversion table above.
What colors go well with #D82218?
The complementary color is HSL(183, 80%, 47%). For a triadic harmony, use hues 3°, 123°, and 243°. For analogous combinations, try hues 333° and 33°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(3, 80%, 47%) in CSS?
As HSL: color: hsl(3, 80%, 47%); — As HEX: color: #D82218; — As RGB: color: rgb(216, 34, 24); — Tailwind CSS: bg-[hsl(3,80%,47%)] — CSS variable: --color-primary: hsl(3, 80%, 47%);