HSL(2, 23%, 24%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(2,23%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(2, 23%, 24%) | color: hsl(2, 23%, 24%) | |
| HEX | #4B302F | color: #4B302F | |
| RGB | rgb(75, 48, 47) | color: rgb(75, 48, 47) | |
| CMYK | cmyk(0%, 36%, 37%, 71%) | — | |
| HSV | hsv(2, 37%, 29%) | — | |
| HWB | hwb(2 18% 71%) | color: hwb(2 18% 71%) | |
| OKLCH | oklch(0.3413 0.0398 21.7) | color: oklch(0.3413 0.0398 21.7) | |
| Lab | lab(23.05 12.18 5.68) | color: lab(23.05 12.18 5.68) | |
| LCH | lch(23.05 13.44 25) | color: lch(23.05 13.44 25) |
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)
#3F3F2F — rgb(63, 63, 47)
Deuteranopia (Green-blind)
#41432F — rgb(65, 67, 47)
Tritanopia (Blue-blind)
#4A2F2F — rgb(74, 47, 47)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(2, 23%, 24%);
text
color: hsl(2, 23%, 24%);
border
border: 2px solid hsl(2, 23%, 24%);
gradient light
background: linear-gradient(to right, hsl(2, 23%, 44%), hsl(2, 23%, 24%));
gradient dark
background: linear-gradient(to right, hsl(2, 23%, 24%), hsl(2, 23%, 4%))
hex
background-color: #4B302F;
tailwind
bg-[hsl(2,23%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(2, 23%, 24%, 0.4);
css variable
--color-primary: hsl(2, 23%, 24%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(2, 23%, 24%)?
HEX: #4B302F | RGB: rgb(75, 48, 47) | CMYK: 0%, 36%, 37%, 71% | HSV: 2°, 37%, 29%. Copy any format from the conversion table above.
What colors go well with #4B302F?
The complementary color is HSL(182, 23%, 24%). 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, 23%, 24%) in CSS?
As HSL: color: hsl(2, 23%, 24%); — As HEX: color: #4B302F; — As RGB: color: rgb(75, 48, 47); — Tailwind CSS: bg-[hsl(2,23%,24%)] — CSS variable: --color-primary: hsl(2, 23%, 24%);