HSL(12, 23%, 25%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(12,23%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(12, 23%, 25%) | color: hsl(12, 23%, 25%) | |
| HEX | #4E3731 | color: #4E3731 | |
| RGB | rgb(78, 55, 49) | color: rgb(78, 55, 49) | |
| CMYK | cmyk(0%, 29%, 37%, 69%) | — | |
| HSV | hsv(12, 37%, 31%) | — | |
| HWB | hwb(12 20% 69%) | color: hwb(12 20% 69%) | |
| OKLCH | oklch(0.3611 0.0348 35.14) | color: oklch(0.3611 0.0348 35.14) | |
| Lab | lab(25.49 9.31 7.81) | color: lab(25.49 9.31 7.81) | |
| LCH | lch(25.49 12.15 39.99) | color: lch(25.49 12.15 39.99) |
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)
#444432 — rgb(68, 68, 50)
Deuteranopia (Green-blind)
#454733 — rgb(69, 71, 51)
Tritanopia (Blue-blind)
#4D3434 — rgb(77, 52, 52)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(12, 23%, 25%);
text
color: hsl(12, 23%, 25%);
border
border: 2px solid hsl(12, 23%, 25%);
gradient light
background: linear-gradient(to right, hsl(12, 23%, 45%), hsl(12, 23%, 25%));
gradient dark
background: linear-gradient(to right, hsl(12, 23%, 25%), hsl(12, 23%, 5%))
hex
background-color: #4E3731;
tailwind
bg-[hsl(12,23%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(12, 23%, 25%, 0.4);
css variable
--color-primary: hsl(12, 23%, 25%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(12, 23%, 25%)?
HEX: #4E3731 | RGB: rgb(78, 55, 49) | CMYK: 0%, 29%, 37%, 69% | HSV: 12°, 37%, 31%. Copy any format from the conversion table above.
What colors go well with #4E3731?
The complementary color is HSL(192, 23%, 25%). 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, 23%, 25%) in CSS?
As HSL: color: hsl(12, 23%, 25%); — As HEX: color: #4E3731; — As RGB: color: rgb(78, 55, 49); — Tailwind CSS: bg-[hsl(12,23%,25%)] — CSS variable: --color-primary: hsl(12, 23%, 25%);