HSL(4, 95%, 16%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(4,95%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(4, 95%, 16%) | color: hsl(4, 95%, 16%) | |
| HEX | #500702 | color: #500702 | |
| RGB | rgb(80, 7, 2) | color: rgb(80, 7, 2) | |
| CMYK | cmyk(0%, 91%, 98%, 69%) | — | |
| HSV | hsv(4, 98%, 31%) | — | |
| HWB | hwb(4 1% 69%) | color: hwb(4 1% 69%) | |
| OKLCH | oklch(0.2775 0.1048 30.58) | color: oklch(0.2775 0.1048 30.58) | |
| Lab | lab(14.75 32.14 22.02) | color: lab(14.75 32.14 22.02) | |
| LCH | lch(14.75 38.96 34.42) | color: lch(14.75 38.96 34.42) |
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)
#303003 — rgb(48, 48, 3)
Deuteranopia (Green-blind)
#353A04 — rgb(53, 58, 4)
Tritanopia (Blue-blind)
#4C0404 — rgb(76, 4, 4)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(4, 95%, 16%);
text
color: hsl(4, 95%, 16%);
border
border: 2px solid hsl(4, 95%, 16%);
gradient light
background: linear-gradient(to right, hsl(4, 95%, 36%), hsl(4, 95%, 16%));
gradient dark
background: linear-gradient(to right, hsl(4, 95%, 16%), hsl(4, 95%, 0%))
hex
background-color: #500702;
tailwind
bg-[hsl(4,95%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(4, 95%, 16%, 0.4);
css variable
--color-primary: hsl(4, 95%, 16%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(4, 95%, 16%)?
HEX: #500702 | RGB: rgb(80, 7, 2) | CMYK: 0%, 91%, 98%, 69% | HSV: 4°, 98%, 31%. Copy any format from the conversion table above.
What colors go well with #500702?
The complementary color is HSL(184, 95%, 16%). 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, 95%, 16%) in CSS?
As HSL: color: hsl(4, 95%, 16%); — As HEX: color: #500702; — As RGB: color: rgb(80, 7, 2); — Tailwind CSS: bg-[hsl(4,95%,16%)] — CSS variable: --color-primary: hsl(4, 95%, 16%);