HSL(2, 30%, 38%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(2,30%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(2, 30%, 38%) | color: hsl(2, 30%, 38%) | |
| HEX | #7E4644 | color: #7E4644 | |
| RGB | rgb(126, 70, 68) | color: rgb(126, 70, 68) | |
| CMYK | cmyk(0%, 44%, 46%, 51%) | — | |
| HSV | hsv(2, 46%, 49%) | — | |
| HWB | hwb(2 26% 51%) | color: hwb(2 26% 51%) | |
| OKLCH | oklch(0.461 0.0773 22.67) | color: oklch(0.461 0.0773 22.67) | |
| Lab | lab(36.43 23.7 11.73) | color: lab(36.43 23.7 11.73) | |
| LCH | lch(36.43 26.44 26.33) | color: lch(36.43 26.44 26.33) |
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)
#666544 — rgb(102, 101, 68)
Deuteranopia (Green-blind)
#696D45 — rgb(105, 109, 69)
Tritanopia (Blue-blind)
#7B4545 — rgb(123, 69, 69)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(2, 30%, 38%);
text
color: hsl(2, 30%, 38%);
border
border: 2px solid hsl(2, 30%, 38%);
gradient light
background: linear-gradient(to right, hsl(2, 30%, 58%), hsl(2, 30%, 38%));
gradient dark
background: linear-gradient(to right, hsl(2, 30%, 38%), hsl(2, 30%, 18%))
hex
background-color: #7E4644;
tailwind
bg-[hsl(2,30%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(2, 30%, 38%, 0.4);
css variable
--color-primary: hsl(2, 30%, 38%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(2, 30%, 38%)?
HEX: #7E4644 | RGB: rgb(126, 70, 68) | CMYK: 0%, 44%, 46%, 51% | HSV: 2°, 46%, 49%. Copy any format from the conversion table above.
What colors go well with #7E4644?
The complementary color is HSL(182, 30%, 38%). For a triadic harmony, use hues 2°, 122°, and 242°. For analogous combinations, try hues 332° and 32°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(2, 30%, 38%) in CSS?
As HSL: color: hsl(2, 30%, 38%); — As HEX: color: #7E4644; — As RGB: color: rgb(126, 70, 68); — Tailwind CSS: bg-[hsl(2,30%,38%)] — CSS variable: --color-primary: hsl(2, 30%, 38%);