HSL(2, 71%, 33%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(2,71%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(2, 71%, 33%) | color: hsl(2, 71%, 33%) | |
| HEX | #901C18 | color: #901C18 | |
| RGB | rgb(144, 28, 24) | color: rgb(144, 28, 24) | |
| CMYK | cmyk(0%, 81%, 83%, 44%) | — | |
| HSV | hsv(2, 83%, 56%) | — | |
| HWB | hwb(2 10% 44%) | color: hwb(2 10% 44%) | |
| OKLCH | oklch(0.4269 0.1521 27.92) | color: oklch(0.4269 0.1521 27.92) | |
| Lab | lab(31.41 47.05 33.32) | color: lab(31.41 47.05 33.32) | |
| LCH | lch(31.41 57.65 35.31) | color: lch(31.41 57.65 35.31) |
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)
#5E5D19 — rgb(94, 93, 25)
Deuteranopia (Green-blind)
#656D19 — rgb(101, 109, 25)
Tritanopia (Blue-blind)
#8A1A1A — rgb(138, 26, 26)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(2, 71%, 33%);
text
color: hsl(2, 71%, 33%);
border
border: 2px solid hsl(2, 71%, 33%);
gradient light
background: linear-gradient(to right, hsl(2, 71%, 53%), hsl(2, 71%, 33%));
gradient dark
background: linear-gradient(to right, hsl(2, 71%, 33%), hsl(2, 71%, 13%))
hex
background-color: #901C18;
tailwind
bg-[hsl(2,71%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(2, 71%, 33%, 0.4);
css variable
--color-primary: hsl(2, 71%, 33%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(2, 71%, 33%)?
HEX: #901C18 | RGB: rgb(144, 28, 24) | CMYK: 0%, 81%, 83%, 44% | HSV: 2°, 83%, 56%. Copy any format from the conversion table above.
What colors go well with #901C18?
The complementary color is HSL(182, 71%, 33%). 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, 71%, 33%) in CSS?
As HSL: color: hsl(2, 71%, 33%); — As HEX: color: #901C18; — As RGB: color: rgb(144, 28, 24); — Tailwind CSS: bg-[hsl(2,71%,33%)] — CSS variable: --color-primary: hsl(2, 71%, 33%);