HSL(7, 74%, 36%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(7,74%,36%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(7, 74%, 36%) | color: hsl(7, 74%, 36%) | |
| HEX | #A02818 | color: #A02818 | |
| RGB | rgb(160, 40, 24) | color: rgb(160, 40, 24) | |
| CMYK | cmyk(0%, 75%, 85%, 37%) | — | |
| HSV | hsv(7, 85%, 63%) | — | |
| HWB | hwb(7 9% 37%) | color: hwb(7 9% 37%) | |
| OKLCH | oklch(0.4676 0.1588 31.02) | color: oklch(0.4676 0.1588 31.02) | |
| Lab | lab(36.1 48.15 38.87) | color: lab(36.1 48.15 38.87) | |
| LCH | lch(36.1 61.88 38.91) | color: lch(36.1 61.88 38.91) |
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)
#6C6B1C — rgb(108, 107, 28)
Deuteranopia (Green-blind)
#737C1D — rgb(115, 124, 29)
Tritanopia (Blue-blind)
#9A1F20 — rgb(154, 31, 32)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(7, 74%, 36%);
text
color: hsl(7, 74%, 36%);
border
border: 2px solid hsl(7, 74%, 36%);
gradient light
background: linear-gradient(to right, hsl(7, 74%, 56%), hsl(7, 74%, 36%));
gradient dark
background: linear-gradient(to right, hsl(7, 74%, 36%), hsl(7, 74%, 16%))
hex
background-color: #A02818;
tailwind
bg-[hsl(7,74%,36%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(7, 74%, 36%, 0.4);
css variable
--color-primary: hsl(7, 74%, 36%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(7, 74%, 36%)?
HEX: #A02818 | RGB: rgb(160, 40, 24) | CMYK: 0%, 75%, 85%, 37% | HSV: 7°, 85%, 63%. Copy any format from the conversion table above.
What colors go well with #A02818?
The complementary color is HSL(187, 74%, 36%). For a triadic harmony, use hues 7°, 127°, and 247°. For analogous combinations, try hues 337° and 37°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(7, 74%, 36%) in CSS?
As HSL: color: hsl(7, 74%, 36%); — As HEX: color: #A02818; — As RGB: color: rgb(160, 40, 24); — Tailwind CSS: bg-[hsl(7,74%,36%)] — CSS variable: --color-primary: hsl(7, 74%, 36%);