HSL(12, 54%, 16%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(12,54%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(12, 54%, 16%) | color: hsl(12, 54%, 16%) | |
| HEX | #3F1C13 | color: #3F1C13 | |
| RGB | rgb(63, 28, 19) | color: rgb(63, 28, 19) | |
| CMYK | cmyk(0%, 56%, 70%, 75%) | — | |
| HSV | hsv(12, 70%, 25%) | — | |
| HWB | hwb(12 8% 75%) | color: hwb(12 8% 75%) | |
| OKLCH | oklch(0.2745 0.0573 35.46) | color: oklch(0.2745 0.0573 35.46) | |
| Lab | lab(15.14 16.1 13.9) | color: lab(15.14 16.1 13.9) | |
| LCH | lch(15.14 21.27 40.81) | color: lch(15.14 21.27 40.81) |
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)
#303015 — rgb(48, 48, 21)
Deuteranopia (Green-blind)
#323516 — rgb(50, 53, 22)
Tritanopia (Blue-blind)
#3D1717 — rgb(61, 23, 23)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(12, 54%, 16%);
text
color: hsl(12, 54%, 16%);
border
border: 2px solid hsl(12, 54%, 16%);
gradient light
background: linear-gradient(to right, hsl(12, 54%, 36%), hsl(12, 54%, 16%));
gradient dark
background: linear-gradient(to right, hsl(12, 54%, 16%), hsl(12, 54%, 0%))
hex
background-color: #3F1C13;
tailwind
bg-[hsl(12,54%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(12, 54%, 16%, 0.4);
css variable
--color-primary: hsl(12, 54%, 16%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(12, 54%, 16%)?
HEX: #3F1C13 | RGB: rgb(63, 28, 19) | CMYK: 0%, 56%, 70%, 75% | HSV: 12°, 70%, 25%. Copy any format from the conversion table above.
What colors go well with #3F1C13?
The complementary color is HSL(192, 54%, 16%). For a triadic harmony, use hues 12°, 132°, and 252°. For analogous combinations, try hues 342° and 42°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(12, 54%, 16%) in CSS?
As HSL: color: hsl(12, 54%, 16%); — As HEX: color: #3F1C13; — As RGB: color: rgb(63, 28, 19); — Tailwind CSS: bg-[hsl(12,54%,16%)] — CSS variable: --color-primary: hsl(12, 54%, 16%);