HSL(358, 30%, 24%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(358,30%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(358, 30%, 24%) | color: hsl(358, 30%, 24%) | |
| HEX | #502B2C | color: #502B2C | |
| RGB | rgb(80, 43, 44) | color: rgb(80, 43, 44) | |
| CMYK | cmyk(0%, 46%, 45%, 69%) | — | |
| HSV | hsv(358, 46%, 31%) | — | |
| HWB | hwb(358 17% 69%) | color: hwb(358 17% 69%) | |
| OKLCH | oklch(0.3373 0.055 18.67) | color: oklch(0.3373 0.055 18.67) | |
| Lab | lab(22.36 17.23 6.84) | color: lab(22.36 17.23 6.84) | |
| LCH | lch(22.36 18.54 21.65) | color: lch(22.36 18.54 21.65) |
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)
#40402C — rgb(64, 64, 44)
Deuteranopia (Green-blind)
#42452C — rgb(66, 69, 44)
Tritanopia (Blue-blind)
#4E2C2C — rgb(78, 44, 44)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(358, 30%, 24%);
text
color: hsl(358, 30%, 24%);
border
border: 2px solid hsl(358, 30%, 24%);
gradient light
background: linear-gradient(to right, hsl(358, 30%, 44%), hsl(358, 30%, 24%));
gradient dark
background: linear-gradient(to right, hsl(358, 30%, 24%), hsl(358, 30%, 4%))
hex
background-color: #502B2C;
tailwind
bg-[hsl(358,30%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(358, 30%, 24%, 0.4);
css variable
--color-primary: hsl(358, 30%, 24%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(358, 30%, 24%)?
HEX: #502B2C | RGB: rgb(80, 43, 44) | CMYK: 0%, 46%, 45%, 69% | HSV: 358°, 46%, 31%. Copy any format from the conversion table above.
What colors go well with #502B2C?
The complementary color is HSL(178, 30%, 24%). For a triadic harmony, use hues 358°, 118°, and 238°. For analogous combinations, try hues 328° and 28°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(358, 30%, 24%) in CSS?
As HSL: color: hsl(358, 30%, 24%); — As HEX: color: #502B2C; — As RGB: color: rgb(80, 43, 44); — Tailwind CSS: bg-[hsl(358,30%,24%)] — CSS variable: --color-primary: hsl(358, 30%, 24%);