HSL(2, 90%, 24%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(2,90%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(2, 90%, 24%) | color: hsl(2, 90%, 24%) | |
| HEX | #740A06 | color: #740A06 | |
| RGB | rgb(116, 10, 6) | color: rgb(116, 10, 6) | |
| CMYK | cmyk(0%, 91%, 95%, 55%) | — | |
| HSV | hsv(2, 95%, 45%) | — | |
| HWB | hwb(2 2% 55%) | color: hwb(2 2% 55%) | |
| OKLCH | oklch(0.3569 0.1382 29.14) | color: oklch(0.3569 0.1382 29.14) | |
| Lab | lab(23.49 42.77 32.67) | color: lab(23.49 42.77 32.67) | |
| LCH | lch(23.49 53.82 37.37) | color: lch(23.49 53.82 37.37) |
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)
#464507 — rgb(70, 69, 7)
Deuteranopia (Green-blind)
#4C5407 — rgb(76, 84, 7)
Tritanopia (Blue-blind)
#6F0808 — rgb(111, 8, 8)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(2, 90%, 24%);
text
color: hsl(2, 90%, 24%);
border
border: 2px solid hsl(2, 90%, 24%);
gradient light
background: linear-gradient(to right, hsl(2, 90%, 44%), hsl(2, 90%, 24%));
gradient dark
background: linear-gradient(to right, hsl(2, 90%, 24%), hsl(2, 90%, 4%))
hex
background-color: #740A06;
tailwind
bg-[hsl(2,90%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(2, 90%, 24%, 0.4);
css variable
--color-primary: hsl(2, 90%, 24%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(2, 90%, 24%)?
HEX: #740A06 | RGB: rgb(116, 10, 6) | CMYK: 0%, 91%, 95%, 55% | HSV: 2°, 95%, 45%. Copy any format from the conversion table above.
What colors go well with #740A06?
The complementary color is HSL(182, 90%, 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, 90%, 24%) in CSS?
As HSL: color: hsl(2, 90%, 24%); — As HEX: color: #740A06; — As RGB: color: rgb(116, 10, 6); — Tailwind CSS: bg-[hsl(2,90%,24%)] — CSS variable: --color-primary: hsl(2, 90%, 24%);