HSL(351, 46%, 15%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(351,46%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(351, 46%, 15%) | color: hsl(351, 46%, 15%) | |
| HEX | #38151A | color: #38151A | |
| RGB | rgb(56, 21, 26) | color: rgb(56, 21, 26) | |
| CMYK | cmyk(0%, 63%, 54%, 78%) | — | |
| HSV | hsv(351, 63%, 22%) | — | |
| HWB | hwb(351 8% 78%) | color: hwb(351 8% 78%) | |
| OKLCH | oklch(0.2509 0.0559 13.13) | color: oklch(0.2509 0.0559 13.13) | |
| Lab | lab(12.3 18 4.94) | color: lab(12.3 18 4.94) | |
| LCH | lch(12.3 18.67 15.35) | color: lch(12.3 18.67 15.35) |
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)
#292919 — rgb(41, 41, 25)
Deuteranopia (Green-blind)
#2B2E19 — rgb(43, 46, 25)
Tritanopia (Blue-blind)
#361818 — rgb(54, 24, 24)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(351, 46%, 15%);
text
color: hsl(351, 46%, 15%);
border
border: 2px solid hsl(351, 46%, 15%);
gradient light
background: linear-gradient(to right, hsl(351, 46%, 35%), hsl(351, 46%, 15%));
gradient dark
background: linear-gradient(to right, hsl(351, 46%, 15%), hsl(351, 46%, 0%))
hex
background-color: #38151A;
tailwind
bg-[hsl(351,46%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(351, 46%, 15%, 0.4);
css variable
--color-primary: hsl(351, 46%, 15%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(351, 46%, 15%)?
HEX: #38151A | RGB: rgb(56, 21, 26) | CMYK: 0%, 63%, 54%, 78% | HSV: 351°, 63%, 22%. Copy any format from the conversion table above.
What colors go well with #38151A?
The complementary color is HSL(171, 46%, 15%). For a triadic harmony, use hues 351°, 111°, and 231°. For analogous combinations, try hues 321° and 21°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(351, 46%, 15%) in CSS?
As HSL: color: hsl(351, 46%, 15%); — As HEX: color: #38151A; — As RGB: color: rgb(56, 21, 26); — Tailwind CSS: bg-[hsl(351,46%,15%)] — CSS variable: --color-primary: hsl(351, 46%, 15%);