HSL(2, 77%, 47%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(2,77%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(2, 77%, 47%) | color: hsl(2, 77%, 47%) | |
| HEX | #D4221C | color: #D4221C | |
| RGB | rgb(212, 34, 28) | color: rgb(212, 34, 28) | |
| CMYK | cmyk(0%, 84%, 87%, 17%) | — | |
| HSV | hsv(2, 87%, 83%) | — | |
| HWB | hwb(2 11% 17%) | color: hwb(2 11% 17%) | |
| OKLCH | oklch(0.5593 0.2113 28.61) | color: oklch(0.5593 0.2113 28.61) | |
| Lab | lab(45.95 65.43 49.46) | color: lab(45.95 65.43 49.46) | |
| LCH | lch(45.95 82.02 37.09) | color: lch(45.95 82.02 37.09) |
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)
#87851D — rgb(135, 133, 29)
Deuteranopia (Green-blind)
#919F1E — rgb(145, 159, 30)
Tritanopia (Blue-blind)
#CB1F1F — rgb(203, 31, 31)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(2, 77%, 47%);
text
color: hsl(2, 77%, 47%);
border
border: 2px solid hsl(2, 77%, 47%);
gradient light
background: linear-gradient(to right, hsl(2, 77%, 67%), hsl(2, 77%, 47%));
gradient dark
background: linear-gradient(to right, hsl(2, 77%, 47%), hsl(2, 77%, 27%))
hex
background-color: #D4221C;
tailwind
bg-[hsl(2,77%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(2, 77%, 47%, 0.4);
css variable
--color-primary: hsl(2, 77%, 47%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(2, 77%, 47%)?
HEX: #D4221C | RGB: rgb(212, 34, 28) | CMYK: 0%, 84%, 87%, 17% | HSV: 2°, 87%, 83%. Copy any format from the conversion table above.
What colors go well with #D4221C?
The complementary color is HSL(182, 77%, 47%). For a triadic harmony, use hues 2°, 122°, and 242°. For analogous combinations, try hues 332° and 32°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(2, 77%, 47%) in CSS?
As HSL: color: hsl(2, 77%, 47%); — As HEX: color: #D4221C; — As RGB: color: rgb(212, 34, 28); — Tailwind CSS: bg-[hsl(2,77%,47%)] — CSS variable: --color-primary: hsl(2, 77%, 47%);