HSL(359, 40%, 28%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(359,40%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(359, 40%, 28%) | color: hsl(359, 40%, 28%) | |
| HEX | #642B2C | color: #642B2C | |
| RGB | rgb(100, 43, 44) | color: rgb(100, 43, 44) | |
| CMYK | cmyk(0%, 57%, 56%, 61%) | — | |
| HSV | hsv(359, 57%, 39%) | — | |
| HWB | hwb(359 17% 61%) | color: hwb(359 17% 61%) | |
| OKLCH | oklch(0.3687 0.0827 20.91) | color: oklch(0.3687 0.0827 20.91) | |
| Lab | lab(25.62 25.84 11.84) | color: lab(25.62 25.84 11.84) | |
| LCH | lch(25.62 28.42 24.62) | color: lch(25.62 28.42 24.62) |
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)
#4B4B2C — rgb(75, 75, 44)
Deuteranopia (Green-blind)
#4F532C — rgb(79, 83, 44)
Tritanopia (Blue-blind)
#612C2C — rgb(97, 44, 44)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(359, 40%, 28%);
text
color: hsl(359, 40%, 28%);
border
border: 2px solid hsl(359, 40%, 28%);
gradient light
background: linear-gradient(to right, hsl(359, 40%, 48%), hsl(359, 40%, 28%));
gradient dark
background: linear-gradient(to right, hsl(359, 40%, 28%), hsl(359, 40%, 8%))
hex
background-color: #642B2C;
tailwind
bg-[hsl(359,40%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(359, 40%, 28%, 0.4);
css variable
--color-primary: hsl(359, 40%, 28%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(359, 40%, 28%)?
HEX: #642B2C | RGB: rgb(100, 43, 44) | CMYK: 0%, 57%, 56%, 61% | HSV: 359°, 57%, 39%. Copy any format from the conversion table above.
What colors go well with #642B2C?
The complementary color is HSL(179, 40%, 28%). For a triadic harmony, use hues 359°, 119°, and 239°. For analogous combinations, try hues 329° and 29°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(359, 40%, 28%) in CSS?
As HSL: color: hsl(359, 40%, 28%); — As HEX: color: #642B2C; — As RGB: color: rgb(100, 43, 44); — Tailwind CSS: bg-[hsl(359,40%,28%)] — CSS variable: --color-primary: hsl(359, 40%, 28%);