HSL(4, 50%, 30%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(4,50%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(4, 50%, 30%) | color: hsl(4, 50%, 30%) | |
| HEX | #732B26 | color: #732B26 | |
| RGB | rgb(115, 43, 38) | color: rgb(115, 43, 38) | |
| CMYK | cmyk(0%, 63%, 67%, 55%) | — | |
| HSV | hsv(4, 67%, 45%) | — | |
| HWB | hwb(4 15% 55%) | color: hwb(4 15% 55%) | |
| OKLCH | oklch(0.3926 0.1029 26.81) | color: oklch(0.3926 0.1029 26.81) | |
| Lab | lab(28.15 31.39 19.57) | color: lab(28.15 31.39 19.57) | |
| LCH | lch(28.15 36.99 31.94) | color: lch(28.15 36.99 31.94) |
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)
#545327 — rgb(84, 83, 39)
Deuteranopia (Green-blind)
#585D28 — rgb(88, 93, 40)
Tritanopia (Blue-blind)
#6F2828 — rgb(111, 40, 40)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(4, 50%, 30%);
text
color: hsl(4, 50%, 30%);
border
border: 2px solid hsl(4, 50%, 30%);
gradient light
background: linear-gradient(to right, hsl(4, 50%, 50%), hsl(4, 50%, 30%));
gradient dark
background: linear-gradient(to right, hsl(4, 50%, 30%), hsl(4, 50%, 10%))
hex
background-color: #732B26;
tailwind
bg-[hsl(4,50%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(4, 50%, 30%, 0.4);
css variable
--color-primary: hsl(4, 50%, 30%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(4, 50%, 30%)?
HEX: #732B26 | RGB: rgb(115, 43, 38) | CMYK: 0%, 63%, 67%, 55% | HSV: 4°, 67%, 45%. Copy any format from the conversion table above.
What colors go well with #732B26?
The complementary color is HSL(184, 50%, 30%). 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, 50%, 30%) in CSS?
As HSL: color: hsl(4, 50%, 30%); — As HEX: color: #732B26; — As RGB: color: rgb(115, 43, 38); — Tailwind CSS: bg-[hsl(4,50%,30%)] — CSS variable: --color-primary: hsl(4, 50%, 30%);