HSL(4, 51%, 48%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(4,51%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(4, 51%, 48%) | color: hsl(4, 51%, 48%) | |
| HEX | #B9443C | color: #B9443C | |
| RGB | rgb(185, 68, 60) | color: rgb(185, 68, 60) | |
| CMYK | cmyk(0%, 63%, 68%, 27%) | — | |
| HSV | hsv(4, 68%, 73%) | — | |
| HWB | hwb(4 23% 27%) | color: hwb(4 23% 27%) | |
| OKLCH | oklch(0.5466 0.153 27.2) | color: oklch(0.5466 0.153 27.2) | |
| Lab | lab(45.33 46.75 29.97) | color: lab(45.33 46.75 29.97) | |
| LCH | lch(45.33 55.53 32.66) | color: lch(45.33 55.53 32.66) |
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)
#86853E — rgb(134, 133, 62)
Deuteranopia (Green-blind)
#8D963E — rgb(141, 150, 62)
Tritanopia (Blue-blind)
#B33F40 — rgb(179, 63, 64)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(4, 51%, 48%);
text
color: hsl(4, 51%, 48%);
border
border: 2px solid hsl(4, 51%, 48%);
gradient light
background: linear-gradient(to right, hsl(4, 51%, 68%), hsl(4, 51%, 48%));
gradient dark
background: linear-gradient(to right, hsl(4, 51%, 48%), hsl(4, 51%, 28%))
hex
background-color: #B9443C;
tailwind
bg-[hsl(4,51%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(4, 51%, 48%, 0.4);
css variable
--color-primary: hsl(4, 51%, 48%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(4, 51%, 48%)?
HEX: #B9443C | RGB: rgb(185, 68, 60) | CMYK: 0%, 63%, 68%, 27% | HSV: 4°, 68%, 73%. Copy any format from the conversion table above.
What colors go well with #B9443C?
The complementary color is HSL(184, 51%, 48%). For a triadic harmony, use hues 4°, 124°, and 244°. For analogous combinations, try hues 334° and 34°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(4, 51%, 48%) in CSS?
As HSL: color: hsl(4, 51%, 48%); — As HEX: color: #B9443C; — As RGB: color: rgb(185, 68, 60); — Tailwind CSS: bg-[hsl(4,51%,48%)] — CSS variable: --color-primary: hsl(4, 51%, 48%);