HSL(2, 72%, 34%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(2,72%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(2, 72%, 34%) | color: hsl(2, 72%, 34%) | |
| HEX | #951C18 | color: #951C18 | |
| RGB | rgb(149, 28, 24) | color: rgb(149, 28, 24) | |
| CMYK | cmyk(0%, 81%, 84%, 42%) | — | |
| HSV | hsv(2, 84%, 58%) | — | |
| HWB | hwb(2 9% 42%) | color: hwb(2 9% 42%) | |
| OKLCH | oklch(0.4365 0.1571 27.99) | color: oklch(0.4365 0.1571 27.99) | |
| Lab | lab(32.45 48.6 34.68) | color: lab(32.45 48.6 34.68) | |
| LCH | lch(32.45 59.7 35.51) | color: lch(32.45 59.7 35.51) |
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)
#616019 — rgb(97, 96, 25)
Deuteranopia (Green-blind)
#687119 — rgb(104, 113, 25)
Tritanopia (Blue-blind)
#8F1A1A — rgb(143, 26, 26)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(2, 72%, 34%);
text
color: hsl(2, 72%, 34%);
border
border: 2px solid hsl(2, 72%, 34%);
gradient light
background: linear-gradient(to right, hsl(2, 72%, 54%), hsl(2, 72%, 34%));
gradient dark
background: linear-gradient(to right, hsl(2, 72%, 34%), hsl(2, 72%, 14%))
hex
background-color: #951C18;
tailwind
bg-[hsl(2,72%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(2, 72%, 34%, 0.4);
css variable
--color-primary: hsl(2, 72%, 34%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(2, 72%, 34%)?
HEX: #951C18 | RGB: rgb(149, 28, 24) | CMYK: 0%, 81%, 84%, 42% | HSV: 2°, 84%, 58%. Copy any format from the conversion table above.
What colors go well with #951C18?
The complementary color is HSL(182, 72%, 34%). 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%, 34%) in CSS?
As HSL: color: hsl(2, 72%, 34%); — As HEX: color: #951C18; — As RGB: color: rgb(149, 28, 24); — Tailwind CSS: bg-[hsl(2,72%,34%)] — CSS variable: --color-primary: hsl(2, 72%, 34%);