HSL(7, 60%, 40%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(7,60%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(7, 60%, 40%) | color: hsl(7, 60%, 40%) | |
| HEX | #A33729 | color: #A33729 | |
| RGB | rgb(163, 55, 41) | color: rgb(163, 55, 41) | |
| CMYK | cmyk(0%, 66%, 75%, 36%) | — | |
| HSV | hsv(7, 75%, 64%) | — | |
| HWB | hwb(7 16% 36%) | color: hwb(7 16% 36%) | |
| OKLCH | oklch(0.4912 0.1454 30.37) | color: oklch(0.4912 0.1454 30.37) | |
| Lab | lab(39.04 43.77 32.72) | color: lab(39.04 43.77 32.72) | |
| LCH | lch(39.04 54.65 36.78) | color: lch(39.04 54.65 36.78) |
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)
#74732C — rgb(116, 115, 44)
Deuteranopia (Green-blind)
#7B832D — rgb(123, 131, 45)
Tritanopia (Blue-blind)
#9E2F30 — rgb(158, 47, 48)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(7, 60%, 40%);
text
color: hsl(7, 60%, 40%);
border
border: 2px solid hsl(7, 60%, 40%);
gradient light
background: linear-gradient(to right, hsl(7, 60%, 60%), hsl(7, 60%, 40%));
gradient dark
background: linear-gradient(to right, hsl(7, 60%, 40%), hsl(7, 60%, 20%))
hex
background-color: #A33729;
tailwind
bg-[hsl(7,60%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(7, 60%, 40%, 0.4);
css variable
--color-primary: hsl(7, 60%, 40%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(7, 60%, 40%)?
HEX: #A33729 | RGB: rgb(163, 55, 41) | CMYK: 0%, 66%, 75%, 36% | HSV: 7°, 75%, 64%. Copy any format from the conversion table above.
What colors go well with #A33729?
The complementary color is HSL(187, 60%, 40%). 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, 60%, 40%) in CSS?
As HSL: color: hsl(7, 60%, 40%); — As HEX: color: #A33729; — As RGB: color: rgb(163, 55, 41); — Tailwind CSS: bg-[hsl(7,60%,40%)] — CSS variable: --color-primary: hsl(7, 60%, 40%);