HSL(2, 49%, 34%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(2,49%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(2, 49%, 34%) | color: hsl(2, 49%, 34%) | |
| HEX | #812F2C | color: #812F2C | |
| RGB | rgb(129, 47, 44) | color: rgb(129, 47, 44) | |
| CMYK | cmyk(0%, 64%, 66%, 49%) | — | |
| HSV | hsv(2, 66%, 51%) | — | |
| HWB | hwb(2 17% 49%) | color: hwb(2 17% 49%) | |
| OKLCH | oklch(0.4233 0.1142 25.3) | color: oklch(0.4233 0.1142 25.3) | |
| Lab | lab(31.54 35.19 20.52) | color: lab(31.54 35.19 20.52) | |
| LCH | lch(31.54 40.74 30.25) | color: lch(31.54 40.74 30.25) |
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)
#5D5D2D — rgb(93, 93, 45)
Deuteranopia (Green-blind)
#62682D — rgb(98, 104, 45)
Tritanopia (Blue-blind)
#7D2D2D — rgb(125, 45, 45)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(2, 49%, 34%);
text
color: hsl(2, 49%, 34%);
border
border: 2px solid hsl(2, 49%, 34%);
gradient light
background: linear-gradient(to right, hsl(2, 49%, 54%), hsl(2, 49%, 34%));
gradient dark
background: linear-gradient(to right, hsl(2, 49%, 34%), hsl(2, 49%, 14%))
hex
background-color: #812F2C;
tailwind
bg-[hsl(2,49%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(2, 49%, 34%, 0.4);
css variable
--color-primary: hsl(2, 49%, 34%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(2, 49%, 34%)?
HEX: #812F2C | RGB: rgb(129, 47, 44) | CMYK: 0%, 64%, 66%, 49% | HSV: 2°, 66%, 51%. Copy any format from the conversion table above.
What colors go well with #812F2C?
The complementary color is HSL(182, 49%, 34%). For a triadic harmony, use hues 2°, 122°, and 242°. For analogous combinations, try hues 332° and 32°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(2, 49%, 34%) in CSS?
As HSL: color: hsl(2, 49%, 34%); — As HEX: color: #812F2C; — As RGB: color: rgb(129, 47, 44); — Tailwind CSS: bg-[hsl(2,49%,34%)] — CSS variable: --color-primary: hsl(2, 49%, 34%);