HSL(4, 80%, 62%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(4,80%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(4, 80%, 62%) | color: hsl(4, 80%, 62%) | |
| HEX | #EC5B51 | color: #EC5B51 | |
| RGB | rgb(236, 91, 81) | color: rgb(236, 91, 81) | |
| CMYK | cmyk(0%, 61%, 66%, 7%) | — | |
| HSV | hsv(4, 66%, 93%) | — | |
| HWB | hwb(4 32% 7%) | color: hwb(4 32% 7%) | |
| OKLCH | oklch(0.6588 0.1813 27.11) | color: oklch(0.6588 0.1813 27.11) | |
| Lab | lab(57.96 55.36 35.25) | color: lab(57.96 55.36 35.25) | |
| LCH | lch(57.96 65.63 32.49) | color: lch(57.96 65.63 32.49) |
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)
#ADAC53 — rgb(173, 172, 83)
Deuteranopia (Green-blind)
#B6C154 — rgb(182, 193, 84)
Tritanopia (Blue-blind)
#E55556 — rgb(229, 85, 86)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(4, 80%, 62%);
text
color: hsl(4, 80%, 62%);
border
border: 2px solid hsl(4, 80%, 62%);
gradient light
background: linear-gradient(to right, hsl(4, 80%, 82%), hsl(4, 80%, 62%));
gradient dark
background: linear-gradient(to right, hsl(4, 80%, 62%), hsl(4, 80%, 42%))
hex
background-color: #EC5B51;
tailwind
bg-[hsl(4,80%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(4, 80%, 62%, 0.4);
css variable
--color-primary: hsl(4, 80%, 62%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(4, 80%, 62%)?
HEX: #EC5B51 | RGB: rgb(236, 91, 81) | CMYK: 0%, 61%, 66%, 7% | HSV: 4°, 66%, 93%. Copy any format from the conversion table above.
What colors go well with #EC5B51?
The complementary color is HSL(184, 80%, 62%). For a triadic harmony, use hues 4°, 124°, and 244°. For analogous combinations, try hues 334° and 34°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(4, 80%, 62%) in CSS?
As HSL: color: hsl(4, 80%, 62%); — As HEX: color: #EC5B51; — As RGB: color: rgb(236, 91, 81); — Tailwind CSS: bg-[hsl(4,80%,62%)] — CSS variable: --color-primary: hsl(4, 80%, 62%);