HSL(348, 45%, 15%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(348,45%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(348, 45%, 15%) | color: hsl(348, 45%, 15%) | |
| HEX | #37151C | color: #37151C | |
| RGB | rgb(55, 21, 28) | color: rgb(55, 21, 28) | |
| CMYK | cmyk(0%, 62%, 49%, 78%) | — | |
| HSV | hsv(348, 62%, 22%) | — | |
| HWB | hwb(348 8% 78%) | color: hwb(348 8% 78%) | |
| OKLCH | oklch(0.2498 0.0548 8.98) | color: oklch(0.2498 0.0548 8.98) | |
| Lab | lab(12.17 17.82 3.26) | color: lab(12.17 17.82 3.26) | |
| LCH | lch(12.17 18.12 10.37) | color: lch(12.17 18.12 10.37) |
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)
#28281A — rgb(40, 40, 26)
Deuteranopia (Green-blind)
#2A2D1A — rgb(42, 45, 26)
Tritanopia (Blue-blind)
#351919 — rgb(53, 25, 25)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(348, 45%, 15%);
text
color: hsl(348, 45%, 15%);
border
border: 2px solid hsl(348, 45%, 15%);
gradient light
background: linear-gradient(to right, hsl(348, 45%, 35%), hsl(348, 45%, 15%));
gradient dark
background: linear-gradient(to right, hsl(348, 45%, 15%), hsl(348, 45%, 0%))
hex
background-color: #37151C;
tailwind
bg-[hsl(348,45%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(348, 45%, 15%, 0.4);
css variable
--color-primary: hsl(348, 45%, 15%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(348, 45%, 15%)?
HEX: #37151C | RGB: rgb(55, 21, 28) | CMYK: 0%, 62%, 49%, 78% | HSV: 348°, 62%, 22%. Copy any format from the conversion table above.
What colors go well with #37151C?
The complementary color is HSL(168, 45%, 15%). For a triadic harmony, use hues 348°, 108°, and 228°. For analogous combinations, try hues 318° and 18°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(348, 45%, 15%) in CSS?
As HSL: color: hsl(348, 45%, 15%); — As HEX: color: #37151C; — As RGB: color: rgb(55, 21, 28); — Tailwind CSS: bg-[hsl(348,45%,15%)] — CSS variable: --color-primary: hsl(348, 45%, 15%);