HSL(2, 72%, 28%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(2,72%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(2, 72%, 28%) | color: hsl(2, 72%, 28%) | |
| HEX | #7B1714 | color: #7B1714 | |
| RGB | rgb(123, 23, 20) | color: rgb(123, 23, 20) | |
| CMYK | cmyk(0%, 81%, 84%, 52%) | — | |
| HSV | hsv(2, 84%, 48%) | — | |
| HWB | hwb(2 8% 52%) | color: hwb(2 8% 52%) | |
| OKLCH | oklch(0.3815 0.1351 27.68) | color: oklch(0.3815 0.1351 27.68) | |
| Lab | lab(26.38 41.83 29.19) | color: lab(26.38 41.83 29.19) | |
| LCH | lch(26.38 51.01 34.91) | color: lch(26.38 51.01 34.91) |
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)
#504F15 — rgb(80, 79, 21)
Deuteranopia (Green-blind)
#565D15 — rgb(86, 93, 21)
Tritanopia (Blue-blind)
#761515 — rgb(118, 21, 21)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(2, 72%, 28%);
text
color: hsl(2, 72%, 28%);
border
border: 2px solid hsl(2, 72%, 28%);
gradient light
background: linear-gradient(to right, hsl(2, 72%, 48%), hsl(2, 72%, 28%));
gradient dark
background: linear-gradient(to right, hsl(2, 72%, 28%), hsl(2, 72%, 8%))
hex
background-color: #7B1714;
tailwind
bg-[hsl(2,72%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(2, 72%, 28%, 0.4);
css variable
--color-primary: hsl(2, 72%, 28%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(2, 72%, 28%)?
HEX: #7B1714 | RGB: rgb(123, 23, 20) | CMYK: 0%, 81%, 84%, 52% | HSV: 2°, 84%, 48%. Copy any format from the conversion table above.
What colors go well with #7B1714?
The complementary color is HSL(182, 72%, 28%). 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, 72%, 28%) in CSS?
As HSL: color: hsl(2, 72%, 28%); — As HEX: color: #7B1714; — As RGB: color: rgb(123, 23, 20); — Tailwind CSS: bg-[hsl(2,72%,28%)] — CSS variable: --color-primary: hsl(2, 72%, 28%);