HSL(13, 34%, 15%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(13,34%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(13, 34%, 15%) | color: hsl(13, 34%, 15%) | |
| HEX | #331F19 | color: #331F19 | |
| RGB | rgb(51, 31, 25) | color: rgb(51, 31, 25) | |
| CMYK | cmyk(0%, 39%, 51%, 80%) | — | |
| HSV | hsv(14, 51%, 20%) | — | |
| HWB | hwb(14 10% 80%) | color: hwb(14 10% 80%) | |
| OKLCH | oklch(0.2632 0.0334 37.42) | color: oklch(0.2632 0.0334 37.42) | |
| Lab | lab(14.14 8.83 8.07) | color: lab(14.14 8.83 8.07) | |
| LCH | lch(14.14 11.96 42.43) | color: lch(14.14 11.96 42.43) |
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)
#2A2A1A — rgb(42, 42, 26)
Deuteranopia (Green-blind)
#2C2D1B — rgb(44, 45, 27)
Tritanopia (Blue-blind)
#321C1C — rgb(50, 28, 28)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(13, 34%, 15%);
text
color: hsl(13, 34%, 15%);
border
border: 2px solid hsl(13, 34%, 15%);
gradient light
background: linear-gradient(to right, hsl(13, 34%, 35%), hsl(13, 34%, 15%));
gradient dark
background: linear-gradient(to right, hsl(13, 34%, 15%), hsl(13, 34%, 0%))
hex
background-color: #331F19;
tailwind
bg-[hsl(13,34%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(13, 34%, 15%, 0.4);
css variable
--color-primary: hsl(13, 34%, 15%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(13, 34%, 15%)?
HEX: #331F19 | RGB: rgb(51, 31, 25) | CMYK: 0%, 39%, 51%, 80% | HSV: 14°, 51%, 20%. Copy any format from the conversion table above.
What colors go well with #331F19?
The complementary color is HSL(193, 34%, 15%). For a triadic harmony, use hues 13°, 133°, and 253°. For analogous combinations, try hues 343° and 43°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(13, 34%, 15%) in CSS?
As HSL: color: hsl(13, 34%, 15%); — As HEX: color: #331F19; — As RGB: color: rgb(51, 31, 25); — Tailwind CSS: bg-[hsl(13,34%,15%)] — CSS variable: --color-primary: hsl(13, 34%, 15%);