HSL(4, 80%, 23%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(4,80%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(4, 80%, 23%) | color: hsl(4, 80%, 23%) | |
| HEX | #6A120C | color: #6A120C | |
| RGB | rgb(106, 18, 12) | color: rgb(106, 18, 12) | |
| CMYK | cmyk(0%, 83%, 89%, 58%) | — | |
| HSV | hsv(4, 89%, 42%) | — | |
| HWB | hwb(4 5% 58%) | color: hwb(4 5% 58%) | |
| OKLCH | oklch(0.3424 0.1224 29.14) | color: oklch(0.3424 0.1224 29.14) | |
| Lab | lab(22.03 37.64 27.97) | color: lab(22.03 37.64 27.97) | |
| LCH | lch(22.03 46.89 36.62) | color: lch(22.03 46.89 36.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)
#44430D — rgb(68, 67, 13)
Deuteranopia (Green-blind)
#49500E — rgb(73, 80, 14)
Tritanopia (Blue-blind)
#660F0F — rgb(102, 15, 15)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(4, 80%, 23%);
text
color: hsl(4, 80%, 23%);
border
border: 2px solid hsl(4, 80%, 23%);
gradient light
background: linear-gradient(to right, hsl(4, 80%, 43%), hsl(4, 80%, 23%));
gradient dark
background: linear-gradient(to right, hsl(4, 80%, 23%), hsl(4, 80%, 3%))
hex
background-color: #6A120C;
tailwind
bg-[hsl(4,80%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(4, 80%, 23%, 0.4);
css variable
--color-primary: hsl(4, 80%, 23%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(4, 80%, 23%)?
HEX: #6A120C | RGB: rgb(106, 18, 12) | CMYK: 0%, 83%, 89%, 58% | HSV: 4°, 89%, 42%. Copy any format from the conversion table above.
What colors go well with #6A120C?
The complementary color is HSL(184, 80%, 23%). 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, 80%, 23%) in CSS?
As HSL: color: hsl(4, 80%, 23%); — As HEX: color: #6A120C; — As RGB: color: rgb(106, 18, 12); — Tailwind CSS: bg-[hsl(4,80%,23%)] — CSS variable: --color-primary: hsl(4, 80%, 23%);