HSL(2, 80%, 52%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(2,80%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(2, 80%, 52%) | color: hsl(2, 80%, 52%) | |
| HEX | #E72923 | color: #E72923 | |
| RGB | rgb(231, 41, 35) | color: rgb(231, 41, 35) | |
| CMYK | cmyk(0%, 82%, 85%, 9%) | — | |
| HSV | hsv(2, 85%, 91%) | — | |
| HWB | hwb(2 14% 9%) | color: hwb(2 14% 9%) | |
| OKLCH | oklch(0.5986 0.2234 28.4) | color: oklch(0.5986 0.2234 28.4) | |
| Lab | lab(50.34 69.2 51.35) | color: lab(50.34 69.2 51.35) | |
| LCH | lch(50.34 86.17 36.58) | color: lch(50.34 86.17 36.58) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#959324 — rgb(149, 147, 36)
Deuteranopia (Green-blind)
#A0AE25 — rgb(160, 174, 37)
Tritanopia (Blue-blind)
#DE2626 — rgb(222, 38, 38)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(2, 80%, 52%);
text
color: hsl(2, 80%, 52%);
border
border: 2px solid hsl(2, 80%, 52%);
gradient light
background: linear-gradient(to right, hsl(2, 80%, 72%), hsl(2, 80%, 52%));
gradient dark
background: linear-gradient(to right, hsl(2, 80%, 52%), hsl(2, 80%, 32%))
hex
background-color: #E72923;
tailwind
bg-[hsl(2,80%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(2, 80%, 52%, 0.4);
css variable
--color-primary: hsl(2, 80%, 52%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(2, 80%, 52%)?
HEX: #E72923 | RGB: rgb(231, 41, 35) | CMYK: 0%, 82%, 85%, 9% | HSV: 2°, 85%, 91%. Copy any format from the conversion table above.
What colors go well with #E72923?
The complementary color is HSL(182, 80%, 52%). 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, 80%, 52%) in CSS?
As HSL: color: hsl(2, 80%, 52%); — As HEX: color: #E72923; — As RGB: color: rgb(231, 41, 35); — Tailwind CSS: bg-[hsl(2,80%,52%)] — CSS variable: --color-primary: hsl(2, 80%, 52%);